PluginBench
Skill
Review
Audit score 70

reflection

davidkiss/smart-ai-skills

How to install reflection

npx skills add https://github.com/davidkiss/smart-ai-skills --skill reflection
Claude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)

Source of truth, from davidkiss/smart-ai-skills.


name: reflection description: "MUST use this skill when user provides feedback / ask to do things in certain way, or when a tool call fails - for self-improvement - to learn user preferences and store them in AGENT.md / CLAUDE.md, and to propose improvements to skills."

Reflection Skill

Overview

This skill is used to learn from interaction with the user and failures in tool calls. It analyzes what worked, what didn't (tool failures), and identifies recurring patterns or explicit user preferences that should be formalized.

Objectives

  • Improve Skills: Identify gaps or inefficiencies in existing skill definitions and propose concise updates.
  • Store Preferences: Capture user preferences, project-specific rules, or recurring instructions in a AGENT.md or CLAUDE.md (when used in Claude Code) file.

Process

  1. Analyze: Review the conversation history, tool calls, and any failures or corrections from the user.
  2. Identify: Determine if a specific behavior should be codified in a skill or if a user preference has emerged.
  3. Propose: Formulate a single, concise change.
    • If updating a skill, show a diff of the proposed change.
    • If adding a preference, show the proposed addition to CLAUDE.md.
  4. Confirm: Present the proposal to the user and ask for explicit confirmation without making any changes first.
  5. Apply Changes: Once user confirmed the changes, only then apply them

Guidelines

  • One at a time: Only propose one change per invocation to maintain focus and allow for careful review.
  • Conciseness: Keep changes as brief as possible. Often a few words are enough to clarify a requirement or fix a common mistake.
  • Accuracy: Ensure the proposal directly addresses a real issue or preference observed in the session.
  • Specificity: Think how you could make the learnings more generic to apply to other use cases, but don't make the changes too generic so that it would not address the original learnings
  • Failure Analysis: Pay special attention to tool failures or when the user has to correct your approach. These are primary candidates for reflection.
  • Conflict Resolution: If a proposed change conflicts with details of an existing skill or user preference, propose a resolution that best serves the user's current intent.

Related skills

More from davidkiss/smart-ai-skills and the wider catalog.

3D3d-web-experience logo

3d-web-experience

davila7/claude-code-templates

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D website, three.js, WebGL, react three fiber, 3D experience.

735 installs
AGagent-evaluation logo

agent-evaluation

davila7/claude-code-templates

Testing and benchmarking LLM agents including behavioral testing, capability assessment, reliability metrics, and production monitoring—where even top agents achieve less than 50% on real-world benchmarks Use when: agent testing, agent evaluation, benchmark agents, agent reliability, test agent.

613 installs
AGagent-memory-systems logo

agent-memory-systems

davila7/claude-code-templates

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them. Key insight: Memory isn't just storage - it's retrieval. A million stored facts mean nothing if you can't find the right one. Chunking, embedding, and retrieval strategies determine whether your agent remembers or forgets. The field is fragm

643 installsAudited
AGagile-product-owner logo

agile-product-owner

davila7/claude-code-templates

Agile product ownership toolkit for Senior Product Owner including INVEST-compliant user story generation, sprint planning, backlog management, and velocity tracking. Use for story writing, sprint planning, stakeholder communication, and agile ceremonies.

782 installsAudited
AIai-agents-architect logo

ai-agents-architect

davila7/claude-code-templates

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration. Use when: build agent, AI agent, autonomous agent, tool use, function calling.

634 installsAudited
APAPI Integration Specialist logo

API Integration Specialist

davila7/claude-code-templates

Expert in integrating third-party APIs with proper authentication, error handling, rate limiting, and retry logic. Use when integrating REST APIs, GraphQL endpoints, webhooks, or external services. Specializes in OAuth flows, API key management, request/response transformation, and building robust API clients.

626 installs