vtmocanu/skills

reflect

Analyze the current session and propose improvements to agent skills based on what worked, what didn't, and edge cases discovered.

Trending #7953 First seen Aug 8, 2026

Installation

$ npx skills add vtmocanu/skills --skill reflect

Summary

  • Analyze the current session and propose improvements to agent skills based on what worked, what didn't, and edge cases discovered.
  • Run after using a skill to capture learnings and update the skill file.
  • Use when user says "reflect", "improve skill", "learn from this", "update the skill", or at end of skill-heavy sessions.
  • Supports targeting a specific skill with /reflect [skill-name] or auto-detecting which skills were used.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from vtmocanu/skills · top by installs.

npx skills add vtmocanu/skills

Browse all from vtmocanu/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 5
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 6,147 B
  • docs SUMMARY.md 443 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 285 installs

SKILL.md

Reflect

Analyze the current session and turn what was learned into concrete edits to the skill's source file.

Workflow

1. Identify the Skill

Auto-detect which skills were used by scanning the conversation for:

  • <command-name>/skill-name</command-name> tags
  • Reads of a skill's source file (a SKILL.md or <skill-name>.md in a skills directory)

If a skill name was provided as an argument, use that directly.

If multiple skills were detected, ask which to analyze. If none were detected and no argument was given, list the available skills and ask.

If a skill was generated by dot-ai, its source: frontmatter records the repository it came from. Use that to find the skill's source file in the matching local checkout before proposing or applying edits (different skills may live in different repositories).

2. Analyze the Conversation

Scan the conversation for these signals:

Signal Confidence What to look for
Corrections HIGH User said "no", "not like that", "I meant..."; explicitly corrected output; asked for changes immediately after generation
Successes MEDIUM User said "perfect", "great", "exactly"; accepted output without modification; built on top of the output
Edge Cases MEDIUM Questions the skill didn't anticipate; scenarios requiring workarounds; features not covered
Preferences LOW Repeated patterns in user choices; implicit style/tool preferences
Trigger misfire HIGH The skill should have fired but didn't, or the wrong skill fired for the request (a description/trigger problem, not a body problem)

Do not capture as skill changes: one-off or context-specific instructions ("just this time", "only in this repo"), questions, vague praise with no identifiable cause, or anything that would not generalize to future runs. Reflect durable, generalizable signals only.

3. Propose Changes

A change can target the skill body (its behavior and instructions) or its description / trigger phrases (when the signal is a trigger misfire). Pick whichever the evidence points to.

If no actionable signals are found, report that the skill performed well and end:

No improvements identified for [skill-name]. The skill performed well in this session.

Otherwise, present findings:

+-- Skill Reflection: [skill-name] ----------------------------+
|                                                               |
|  Signals: X corrections, Y successes, Z edge cases           |
|                                                               |
|  Proposed changes:                                            |
|                                                               |
|  [HIGH] + Section: "specific change description"              |
|  [MED]  + Section: "specific change description"              |
|  [LOW]  ~ Note: "observation for review"                      |
|                                                               |
|  Commit: "[skill]: [summary of changes]"                      |
|                                                               |
+---------------------------------------------------------------+

Apply these changes? [Y/n] or describe tweaks

4. Apply (if approved)

  1. Locate the skill's source file in its skills repository and read it.
  2. Apply the changes with the Edit tool.
  3. Commit and push the change to that repository.
  4. Confirm: "Skill updated and pushed."

If declined, acknowledge and end.

5. Consolidate (when the skill is getting bloated)

Reflection should not only add. When the skill's body has grown long or accumulated overlapping guidance (rule of thumb: it exceeds ~100 lines, or you notice redundant or contradictory entries), do a consolidation pass:

  • Merge duplicate or near-duplicate entries into one.
  • Remove guidance that is outdated or superseded by a newer entry.
  • Regroup related points under the right section.

Present it through the same propose/approve flow (Steps 3-4). A net reduction in length is a good outcome.

Example

User runs /reflect after a frontend-design session where they corrected gradient usage and dark background colors:

+-- Skill Reflection: frontend-design -------------------------+
|                                                               |
|  Signals: 2 corrections, 3 successes                         |
|                                                               |
|  Proposed changes:                                            |
|                                                               |
|  [HIGH] + Constraints: "Never use gradients unless            |
|           explicitly requested"                               |
|  [HIGH] + Color & Theme: "Dark backgrounds: use #000,         |
|           not #1a1a1a"                                        |
|  [MED]  + Layout: "Prefer CSS Grid for card layouts"          |
|                                                               |
|  Commit: "frontend-design: no gradients, #000 dark bg"        |
|                                                               |
+---------------------------------------------------------------+

Apply these changes? [Y/n] or describe tweaks

Constraints

  • Always show the exact proposed changes before applying.
  • Never modify skills without explicit user approval.
  • Push only after a successful commit.
  • Edit the source file in its repository, never the generated copy in your agent's skills directory (it is overwritten on the next regeneration).
  • Prefer editing or merging an existing entry over appending a new one; keep the skill tight.