skills/reflection/SKILL.md
Analyze development sessions, capture learnings, and improve Claude Code instructions. Use when the user wants to reflect on a session, improve CLAUDE.md, extract learnings, or optimize AI-human collaboration. Supports two modes: quick (default) focuses on CLAUDE.md improvements, deep mode performs comprehensive session analysis with learning capture.
npx skillsauth add feiskyer/claude-code-settings reflectionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze the current session and improve Claude Code instructions. Operates in two modes based on user input.
/reflection or /reflection quick. Focuses on analyzing chat history to identify and implement improvements to CLAUDE.md instructions./reflection deep or /reflection comprehensive. Performs a full session analysis covering problems solved, patterns established, user preferences, system understanding, and knowledge gaps, then updates CLAUDE.md accordingly.Determine the mode from the user's input. If no mode is specified, use Quick mode. If the user says "deep", "comprehensive", or "harder", use Deep mode.
Review the chat history in the context window, then read the current CLAUDE.md file in the repository root.
Analyze both to identify areas for improvement:
Use TodoWrite to track each identified improvement area and create a structured approach for changes.
Present findings and improvement ideas to the user. For each suggestion:
Wait for feedback on each suggestion before proceeding. If the user approves a change, move to implementation. If not, refine the suggestion or move on.
For each approved change:
Present the final output in this structure:
<analysis>
[Issues identified and potential improvements]
</analysis>
<improvements>
[For each approved improvement:
1. Section being modified
2. New or modified instruction text
3. Explanation of how this addresses the identified issue]
</improvements>
<final_instructions>
[Complete updated set of instructions incorporating all approved changes]
</final_instructions>
Commit changes using git after successful implementation.
Review the entire conversation history and identify:
Present a structured summary covering:
After presenting the analysis, propose concrete actions:
Use TodoWrite to track these action items. Wait for user approval before implementing changes.
For each approved action, implement the change and commit using git.
Reflect on the current session. Determine the mode from the user's input — default to Quick mode if no mode is specified.
development
Generate or edit images using OpenAI GPT Image API (gpt-image-2, gpt-image-1, etc). Triggers: "gpt image", "openai image", "generate image with openai", "draw image", "create image", "image generation", "AI drawing", "图片生成", "AI绘图", "生成图片", "画图". Use this skill whenever the user wants to generate or edit images and mentions OpenAI, GPT, or when OPENAI_API_KEY is available.
development
Create, refine, and benchmark agent skills. Use when building a new skill, updating an existing one, running evals, checking trigger quality, or improving a skill description.
development
Generate or edit images using Google Gemini API via nanobanana. Triggers: "nanobanana", "generate image", "create image", "edit image", "AI drawing", "图片生成", "AI绘图", "图片编辑", "生成图片".
development
Execute long-running, multi-session tasks autonomously using Claude Code headless mode or in-session hook-based loops. Supports structured task decomposition (for complex projects) and lightweight Ralph-style iteration (for TDD, bug fixing, refactoring). Use this skill whenever the user says "autonomous", "long-running task", "multi-session", "run this in the background", "keep working on this", "batch process", "iterate until done", "ralph loop", or wants any task that requires sustained, unattended execution.