development-retro
Use when a PR has been merged, a development session is ending, or the user asks what else you noticed — surfaces journey-specific observations, systemic patterns, and friction points from the implementation process.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- development-retro
- description
- Use when a PR has been merged, a development session is ending, or the user asks what else you noticed — surfaces journey-specific observations, systemic patterns, and friction points from the implementation process.
- allowed-tools
- Bash(git log *), Bash(git diff *), Bash(git status *), Read, Glob, Grep
- argument-hint
- [--output artifacts|session|github|docs]
- user-invocable
- true
03 SKILL.md 正文
Development Retro
Codex: Read
../_shared/codex-tools.mdbefore following this skill. Apply its tool, root and dispatch mappings throughout.
Surface observations from the implementation journey — things you noticed while doing the work that fell outside the PR's scope.
This is NOT a code review. Code review finds bugs in the diff. A retro surfaces insights from the journey: patterns you noticed across files, friction you experienced, inconsistencies you worked around, areas you suspect have similar issues but didn't verify.
Arguments
Parse $ARGUMENTS at invocation:
--output artifacts(default): retain the final retro report under the current native session's canonical artifacts directory.--output session: present findings in chat only, with no file persistence.--output github: explicitly export selected findings as GitHub Issues. See output guide (../_shared/output-guide.md).--output docs: explicitly export a selected canonical retro to the project documentation tree.
Default (no flag): write the canonical retro report to the current native session's artifacts, then present its path and summary. Research inputs remain in the current workflow's <scratch>; resolve both paths and the actual owning SID/provider through ../_shared/orchestration-guide.md §1. If identity is missing or unverified, do not persist or fall back to OS temp; present only in chat.
When to Use
- After merging a PR
- At the end of a development session
- When the user asks "anything else you'd recommend?"
- When the user asks you to reflect on the work
Process
digraph retro_flow {
"User asks for retro" [shape=doublecircle];
"Recall session journey" [shape=box];
"Synthesize into themes" [shape=box];
"Just listing individual bugs?" [shape=diamond];
"STOP: This is code review, not retro" [shape=octagon, style=filled, fillcolor=red, fontcolor=white];
"Reframe as patterns and friction" [shape=box];
"Present structured retro" [shape=box];
"Done" [shape=doublecircle];
"User asks for retro" -> "Recall session journey";
"Recall session journey" -> "Synthesize into themes";
"Synthesize into themes" -> "Just listing individual bugs?";
"Just listing individual bugs?" -> "STOP: This is code review, not retro" [label="yes"];
"STOP: This is code review, not retro" -> "Reframe as patterns and friction";
"Just listing individual bugs?" -> "Present structured retro" [label="no"];
"Reframe as patterns and friction" -> "Present structured retro";
"Present structured retro" -> "Done";
}
What to Reflect On
Think through these lenses. Skip any that genuinely have nothing to report — but push yourself before concluding "nothing."
1. Systemic Patterns
Don't list individual issues — synthesize them into themes. Individual issues are symptoms; patterns are the diagnosis.
- "I noticed three different error handling approaches across the routes I read" > "admin routes don't handle errors"
- "Every file I touched had a different way of fetching user data" > "Profile.tsx doesn't use the useUser hook"
- "The middleware application is inconsistent — some routes have rate limiting, some don't" > "admin routes lack rate limiting"
Ask yourself: What do the individual things I noticed have in common? What's the underlying pattern?
2. Breadcrumb Trails
Flag areas you suspect have similar issues based on what you observed, but didn't verify. These are leads, not findings.
- "If Profile.tsx bypasses the useUser hook, other pages might too — worth auditing"
- "I found one middleware gap; the middleware application pattern should be reviewed systematically"
- "The stale TODO I found was 8 months old — there may be others"
Frame as: "Based on [what I saw], I suspect [where to look] may have [similar issue]. Worth investigating."
3. Development Friction
What made your work harder, slower, or more confusing? This reveals developer experience problems that accumulate across the team.
- Untyped APIs that forced manual type assertions
- God components you had to work around
- Missing abstractions that caused duplication
- Confusing naming or file organization
- Undocumented behavior you had to reverse-engineer
Frame as: "While building X, I had to [workaround] because [root cause]. This would slow down anyone doing similar work."
4. Positive Patterns
What worked well? What conventions should be preserved, extended, or documented?
- "The hook pattern in useUser.ts is solid — the issue is that not all pages use it"
- "The test structure in the user routes is well-organized and easy to extend"
- "The CSS module approach in forms is clean — worth standardizing on"
Why this matters: Retros that only surface problems create a skewed picture. Calling out what works prevents good patterns from being accidentally removed in future refactors.
5. Concrete Next Steps
For each theme, provide:
- Impact: What's the risk or cost of not addressing this?
- Effort: Quick fix, focused task, or larger initiative?
- Suggested action: File an issue, create a follow-up PR, add to tech debt backlog, or just note for awareness
Output Format
Structure your retro as:
## Development Retro: [Brief description of the work completed]
### Systemic Patterns
[Themes, not individual bugs]
### Breadcrumb Trails
[Areas to investigate, with reasoning]
### Friction Points
[What slowed you down and why]
### What Worked Well
[Patterns worth preserving]
### Recommended Next Steps
[Prioritized by impact/effort, with suggested actions]
Omit any section that genuinely has nothing — but challenge yourself before skipping. An empty "What Worked Well" usually means you weren't looking.
Red Flags — You're Doing Code Review, Not Retro
- Listing individual bugs without connecting them to a pattern
- Every observation is about a single file in isolation
- Nothing references your experience of doing the work
- No breadcrumb trails — you're only reporting confirmed issues
- No positive observations — you're only looking for problems
- Observations could have been made by scanning the code without doing the PR work
The test: Could someone who didn't do this work have written your retro just by reading the codebase? If yes, it's code review, not a retro. Reframe.
Output Targets
This skill supports the default artifacts destination and explicit session, github, and docs destinations.
Follow the output guide at ../_shared/output-guide.md:
- For
github: write each selected finding doc under<artifacts>/development-retro/(frontmatter + the Section 4 body skeleton), then delegate to/claudna:publish <artifact-file> --to github-issue --repo <repo>— publish validates, dedups, and applies labels fromtags:. Keep each canonical source and the canonical retro report. Create one issue per systemic pattern or breadcrumb trail that warrants follow-up work. Label withauto-auditandtech-debtorenhancementas appropriate. - For
artifacts(default): author<artifacts>/development-retro/00_RETRO.mdin the family supplied by the shared orchestration contract and route it with/claudna:publish <file> --to artifacts. Preserve it on every outcome. - For
session: present the retro in chat only; do not write a report file. - For
docs: explicitly export a selected canonical retro with/claudna:publish <artifacts-file> --to docs --dir documentation/planning/retros/<session_name>_<YYYY-MM-DD>/; keep the canonical source.
Common Rationalizations
| Excuse | Reality |
|---|---|
| "Nothing else to report" | You read multiple files and made changes. You noticed things. Surface them. |
| "These are too minor to mention" | Minor observations often reveal systemic patterns. Mention the pattern. |
| "That's outside the scope" | The entire point of a retro is to surface things outside scope. |
| "I don't want to overwhelm them" | Structure and prioritize. Don't omit. |
| "I'll just list the bugs I found" | Bugs are for code review. Retro is for patterns, friction, and insights. |
| "The positive stuff is obvious" | If it's obvious, it takes one sentence. Include it. |
04 同仓库更多 Skills
example-review
Use when you want to review pull requests with detailed, actionable feedback on code quality, correctness, and maintainability.
bad-skill
Too short
worktree
Use when starting feature work that needs isolation from the current workspace, or when running multiple Claude sessions in parallel on different branches — creates and manages git worktrees. For fetching latest main into every existing worktree and branch across your sibling repos, use /claudna:sync-branches instead.
weigh-development-paths
Use when at a development junction with multiple viable approaches — architecture choices, refactoring strategies, where to put new code, or which pattern to follow. Triggers on 'which approach', 'how should I', 'Option A vs B', or any point where the next step isn't obvious and the wrong choice creates rework.
verify-completion
Use when about to claim work is complete, fixed, or passing -- requires running verification commands and confirming output before making any success claims.
vercel
Use for Vercel operations — deploy to production or preview (or roll back), view, filter, or debug deployment logs, or check project status (deployments, domains, env vars, config). Replaces /vercel-deploy, /vercel-logs, /vercel-status.