feature-analyzer — Claude Code command: designs and specs
This command turns a feature idea into an agreed design and specification through dialogue. Use it before implementation or major changes.
npx claude-code-templates@latest --command orchestration/feature-analyzerWhat feature-analyzer does
feature-analyzer guides a request through a discovery phase. It creates a task list, asks about the problem, expected behavior, constraints, and requirements when the idea is unclear, then summarizes its understanding for confirmation.
Next, the command invokes the feature-design-assistant skill through the Skill tool and follows that skill’s process. Its declared tools include Read, Write, Grep, Glob, Bash, TodoWrite, AskUserQuestion, and Task. For a major change, this is a sensible first step because the design is discussed before implementation begins.
What it helps with
- clarify a feature before coding it
- gather requirements for a new capability
- surface project constraints
- confirm the intended behavior with the user
- turn a feature idea into a design and specification
Example prompts for the agent
- Run
/feature-analyzerand ask it to design a notification feature, starting with requirement questions - Use
/feature-analyzer Add PDF export for reports - Run
/feature-analyzerbefore a major authorization refactor and ask what needs to change
How to install feature-analyzer
1claude-code-templates
npx claude-code-templates@latest --command orchestration/feature-analyzer2Manually: put the files in place
.claude/commands/feature-analyzer.mdCall it with /feature-analyzer. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/feature-analyzer.mdCall it with /prompts:feature-analyzer. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/feature-analyzer.prompt.mdManually: put the files in place
.gemini/commands/feature-analyzer.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about feature-analyzer
How do I install feature-analyzer in Claude Code?
Run npx claude-code-templates@latest --command orchestration/feature-analyzer, then use .claude/commands/feature-analyzer.md as the Claude Code command file.
What does feature-analyzer do?
It explores the goal and requirements of a feature, asks follow-up questions when needed, creates a phase checklist, and asks the user to confirm its understanding. It then invokes feature-design-assistant through Skill.
Which skill does feature-analyzer invoke?
During its second phase, the command invokes feature-design-assistant with the Skill tool and follows that skill’s complete process.
Source text
feature-analyzer.md · MIT
--- description: "Turn ideas into fully formed designs and specs through natural collaborative dialogue. Use before implementing new features or making significant changes." argument-hint: Optional feature description allowed-tools: Read, Write, Grep, Glob, Bash, TodoWrite, AskUserQuestion, Skill, Task --- ## Phase 1: Discovery **Goal**: Understand what needs to be built Initial request: $ARGUMENTS **Actions**: 1. Create todo list with all phases 2. If feature unclear, ask user for: - What problem are they solving? - What should the feature do? - Any constraints or requirements? 3. Summarize understanding and confirm with user --- ## Phase 2: Run with Feature Analyzer Skill Use the Skill tool to invoke the "feature-design-assistant" skill and follow its complete process.
© davila7 · MIT · davila7/claude-code-templates