Add feature-spec skill for pre-implementation documentation - #8
Open
zhumo wants to merge 49 commits into
Open
Conversation
Creates a PM-style interview workflow that generates three documents:
- PRD (Product Requirements Document) via interview
- Technical Architecture doc from PRD
- Testing doc with unit and integration test plans
Documents are saved to projects/{branch-name}/ in the repo root.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename PRD to Requirements document - Remove product-focused questions (personas, success metrics) - Add edge cases, error handling, concurrency questions - Add data persistence, scale, validation questions - Add integration points, backwards compatibility questions - Focus on concrete behavior and technical constraints Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…mands and claude/hooks
Use exit code 1 with stderr output so users can see usage reporting status. Exit code 0 hides all output, while exit code 2 would inject messages into the model context unnecessarily. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Remove /add-dir and cd instructions that don't work mid-session. Instead, output a copy-pasteable command for the user to run in a new terminal. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* get id of latest message in server then send up all messages after that * simplify the code * only spit out simplified error * catch the other error * send to stderr * format prettier error * fix logic
SubagentStop provides agent_transcript_path for the subagent's transcript, not transcript_path which is the main session. Use agent_id as session_id for subagent usage tracking. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/feature-specskill that generates comprehensive feature documentationprojects/{branch-name}/folderFiles Added
claude/skills/feature-spec/SKILL.md- Main skill definition and workflowclaude/skills/feature-spec/templates/prd.md- PRD templateclaude/skills/feature-spec/templates/architecture.md- Architecture templateclaude/skills/feature-spec/templates/testing.md- Testing templateclaude/skills/feature-spec/references/interview-guide.md- Interview question bankTest plan
~/.claude//feature-spec "test feature"and verify interview startsprojects/{branch}/folder🤖 Generated with Claude Code