generate-review-context
Generate Review Context
Produce a structured Markdown review context document that gives a reviewing agent (or human) everything they need to assess an implementation without re-discovering it from scratch.
When to Use
- An AI agent just finished implementing a feature and you need to document what was done.
- You want to hand off implementation work to a reviewer (human or AI).
- You want a snapshot of what changed before requesting a code review.
Inputs
The user provides one or more of:
- A description of what was implemented
- The relevant design doc, PRD, or spec
- A git diff or list of changed files
- Verbal context about the work
If the user doesn't provide enough context, ask for:
- What was the goal of the implementation?
- Where is the design doc or spec?
- Which files were created or modified?
Process
- Identify the scope — read the design doc/spec and the implementation to understand what was built vs what was planned.
- Inventory files — separate into files created and files modified, with a one-line reason for each.
- Map the architecture — describe the current architecture as implemented, not as planned.
- Flag review notes — call out specific files or areas that need careful review attention.
- List what's not implemented — things from the spec that were deferred or skipped.
Output Format
Produce a single Markdown document with these sections in this exact order:
## Review Context for [Feature Name]
### Scope
- 2-3 sentences on what this work implements.
- State what is real vs placeholder.
- State the boundary of the review (only these files, not unrelated changes).
### What Was Implemented
- Bullet list of the major deliverables, described functionally (not file-by-file).
### Files Created
For each new file:
- `path/to/file.ts`
Reason: one-line explanation of why this file was created.
Group related files together (e.g., all layout components, all type files).
### Files Modified
For each modified file:
- `path/to/file.ts`
Reason: one-line explanation of what changed and why.
### Current Architecture
- Describe the actual data flow and component relationships as implemented.
- Use a numbered list or short paragraphs, not a diagram.
- Focus on: where data enters, how it flows, where it renders.
### Relevant Docs
For each doc:
- `path/to/doc.md`
How it should work: one-line on what this doc defines and whether it's the source of truth or outdated.
### Not Implemented Yet
- Bullet list of things from the spec/plan that were explicitly deferred.
### Review Notes
- Bullet list of specific areas that need careful review attention.
- Include file paths and line numbers when possible.
- Flag things like: potentially unused files, custom implementations that may be fragile, SQL that may not match debug output, scroll/layout fixes that need browser testing.
Rules
- Be factual, not promotional. Don't say "elegantly implemented" — say what it does.
- Include file paths. Every claim should be traceable to a file.
- Separate what exists from what's planned. Never mix implemented features with future plans.
- Flag uncertainty. If you're not sure whether something works correctly, say so explicitly in the review notes.
- Don't review the code yourself. This skill generates the context document only. The actual review is a separate step.
- Keep it scannable. A reviewer should be able to read the full context in under 3 minutes.
More from marclelamy/skills
builder-review-loop
Use when one agent is implementing code and another agent must review the resulting changes, compare the summary against the actual files, decide whether to fix now or move on, and write the next tightly scoped prompt with context handoff guidance.
10code-commenting
Code commenting conventions for TypeScript/React projects. Use when adding comments to new files, reviewing uncommented code, or when user asks to document/comment code. Covers file headers, type annotations, function docs, inline comments, and what NOT to comment.
9frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
9find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
9marketing-ideas
When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).
8tdd
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
8