Overview
Package each stage of feature work, from stating the goal to reviewing the result, as a Claude Code skill invoked by slash command, with a hook that runs your linter before every commit.
Problem or Objective
- Which tools help write a spec before an agent writes code?
- Which agents build a non-trivial feature with you?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Prerequisites
- Claude Code with a Claude subscription or Anthropic Console account, a repository with lint and type checks, and a few skills you write once.
How It Works
In your repository, create a set of Claude Code skills, one per stage, each invoked as a slash command: one that restates the request as a goal and acceptance criteria, one that lists the files, data and users the change will affect, one that writes a step-by-step plan into a plan file, one that carries out an approved plan, and one that reviews the diff against the acceptance criteria. Describe the standards every stage must respect in CLAUDE.md. Add a hook that runs your lint and type checks before each commit so a failing check stops the commit. For each new idea, run the stages in order and read the output of each before moving on; you approve the plan before the implementation stage starts and you approve the review result before merging.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Check the prerequisitesClaude Code with a Claude subscription or Anthropic Console account, a repository with lint and type checks, and a few skills you write once.
- Gather your detailsCollect what the prompt asks for: Feature idea, Part of the product it touches, Where to write the plan, Lint and type check command.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Run the planning stage for one idea
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Use the stage skills in this repository for the idea: [Feature idea]. First restate it as a goal with acceptance criteria, then list what it affects in [Part of the product it touches], then write a step-by-step plan to [Where to write the plan]. Stop after the plan and wait for my approval. Once I approve, implement the plan, run [Lint and type check command], and review the diff against the acceptance criteria. Do not commit or merge until I approve the review.Approve the plan before implementation starts and approve the review before any commit or merge; the pre-commit hook blocks commits that fail lint.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The Claude Code overview says CLAUDE.md is read at the start of every session, that skills package repeatable workflows a team can share, such as /review-pr, and that hooks run shell commands before or after Claude Code actions, such as running lint before a commit. The pages do not measure whether staged commands reduce defects; that depends on how strict your stages and checks are.
Limitations and Considerations
Keep the plan approval and the final review as human steps, as in the steps above. Hooks run shell commands on your machine; keep them to checks you trust. Most Claude Code surfaces need a Claude subscription or an Anthropic Console account. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- CLAUDE.md is a markdown file in the project root that Claude Code reads at the start of every session, used for coding standards, architecture decisions and review checklists.
- Skills package repeatable workflows your team can share, like /review-pr or /deploy-staging.
- Hooks let you run shell commands before or after Claude Code actions, like running lint before a commit.
- Most surfaces require a Claude subscription or Anthropic Console account.

