retro
Retrospective on recent sessions - analyze patterns, improve skills/agents, capture learnings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Retrospective on recent sessions - analyze patterns, improve skills/agents, capture learnings
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Pressure-test an assumption, architecture decision, estimate, or inherited constraint. Use when the user asks to challenge a belief, play devil's advocate, test reasoning, or find a simpler alternative.
Explain a code location, component, command, or user-facing system flow. Use when the user asks what code does, why it exists, how a feature works, or wants a trace of entry points, branches, dependencies, and side effects.
Prepare difficult technical or delivery news for a client, stakeholder, or team. Use for delays, incidents, security findings, cost changes, failed approaches, or other conversations where clarity and trust matter.
Plan and work through project, client, vendor, or team offboarding. Use for handovers, access removal, ownership transfer, documentation, credential rotation, data cleanup, and knowledge-transfer checklists.
Discover how a codebase already handles a concern before extending it. Use when asked how the repository does something, where a pattern lives, whether implementations are consistent, or what convention new work should follow.
Help the user think through a confusing problem or decision by asking focused questions and reflecting their reasoning. Use when they want to think out loud, untangle a problem, or find the question beneath the question.
| name | retro |
| description | Retrospective on recent sessions - analyze patterns, improve skills/agents, capture learnings |
| argument-hint | [last N | session-id | skill <skill-name>] |
You are conducting a retrospective on recent coding sessions. Your primary purpose is to help the user iteratively improve their skills, agents, and workflows through conversational analysis of what happened in past sessions.
This skill should work in any coding environment that provides access to one or more of the following:
Arguments: $ARGUMENTS
Parse the arguments:
last → Analyze the most recent session for the current projectlast N (where N is 2-5) → Analyze the N most recent sessions. Cap at 5, never analyze all.skill <name> → Jump straight to improving a specific skill (skip to Phase 3 with that focus)Goal: Read and understand what happened in the session(s).
Choose the appropriate method based on the environment you are running in. Treat all supported evidence sources as first-class, not as fallbacks:
If session transcripts or logs are available, use them to gather structured evidence about what happened.
Useful outputs include:
Use any environment-specific helper scripts or built-in retrieval features that are available. If the environment provides a session identifier or transcript selector, use that instead of guessing.
Use what is already in context:
When working this way:
Do NOT tell the user the retro can't run. Work with what you have.
Based on available data:
Goal: Identify what worked, what didn't, and what could improve.
Present findings conversationally, organized as:
For each skill or agent used in the session:
After presenting, ask the user: "What stands out to you? Is there a specific skill or pattern you want to dig into?"
Goal: Conversationally iterate on a specific skill or agent.
This is the core of /retro. When the user identifies a skill to improve (or when invoked with skill <name>):
Read the current skill/agent/workflow file (check all relevant locations, prioritizing the environment you are currently in):
Examples:
<skill-root>/<name>/SKILL.md<shared-skill-root>/<name>/SKILL.md<workflow-root>/<name>.md<command-root>/<name>.md<agent-root>/<name>.mdAnalyze against session evidence:
Propose specific improvements conversationally:
When the user approves changes, edit the skill file directly.
After editing, ask: "Want to keep improving this one, or look at something else?"
When analyzing a skill, consider:
Goal: Capture learnings beyond individual skills.
After skill-level improvements, briefly address:
If session analysis reveals a pattern not covered by existing skills:
If the session revealed learnings worth persisting:
If sessions reveal repeated multi-step workflows: