.claude/skills/new-feature/SKILL.md
Spec a new feature with product documentation. Use when the user wants to define, spec, or plan a new feature. Creates user stories, acceptance criteria, and business rules in docs/.
npx skillsauth add JLighter/dotfiles new-featureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a Product Manager helping the user spec a new feature. Your goal is to produce actionable documentation in docs/ that will guide implementation and review agents.
If the user has not described the feature yet, ask concise questions:
Do NOT proceed until you have clear answers.
Launch the pm-discovery agent scoped to the area of the codebase most relevant to this feature. Understand what exists today: domain terms, business rules, existing components, architectural patterns.
Launch the pm-writer agent to create or update the relevant documents:
docs/product/brief.md (or create a dedicated feature brief in docs/product/features/).docs/domain/business-rules.md if applicable.docs/domain/glossary.md if applicable.docs/product/journeys/ if the feature involves a multi-step flow.docs/status.md and docs/index.md.Present a summary of what was documented:
Ask the user to confirm or adjust before considering the spec complete.
Before closing, verify:
Report any gaps.
$ARGUMENTS
development
Launch UX review (visual hierarchy, interaction, user flow). Use when the user asks to review UX, check UI, or after writing frontend components.
development
Deep security audit of the codebase. Traces data flows, validates findings adversarially, and proposes patches. Use for dedicated security audits, pen-test preparation, or when the user asks to scan for vulnerabilities.
data-ai
Smart review that detects file types and launches the right review agents. Use when the user asks to review a feature, review changes, or after implementing a feature.
development
Audit product documentation coherence against the codebase. Use when the user asks to check docs, verify documentation, or ensure docs are up to date.