sample/harness/next-js-pages/skills/sdd-requirements/SKILL.md
# Skill: sdd-requirements ## Invocation ``` /sdd-requirements <slug> ``` **Arguments:** - `<slug>` — kebab-case feature identifier matching an existing `.claude/specs/<slug>/` directory --- ## Purpose Create or refine `requirements.md` for the feature using the EARS (Event-Action-Response-Stimulus) format. The mode is read from `.claude/specs/<slug>/progress.md` and determines how the AI interacts with the user. --- ## Execution Steps ### Step 1: Read mode from progress.md Read `.clau
npx skillsauth add sc30gsw/claude-code-customes sample/harness/next-js-pages/skills/sdd-requirementsInstall 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.
/sdd-requirements <slug>
Arguments:
<slug> — kebab-case feature identifier matching an existing .claude/specs/<slug>/ directoryCreate or refine requirements.md for the feature using the EARS (Event-Action-Response-Stimulus) format. The mode is read from .claude/specs/<slug>/progress.md and determines how the AI interacts with the user.
Read .claude/specs/<slug>/progress.md and extract the **Mode**: value.
standard → follow the Standard Mode flow below.auto → follow the Auto Mode flow below.progress.md does not exist, abort and instruct the user to run /sdd-init <slug> first.If .claude/specs/<slug>/source-notion.md exists, read it as background context. Do NOT output it; use it to inform questions and drafts.
Engineer-led. The AI presents a scaffold and assists completions.
.claude/skills/sdd-requirements/templates/requirements.md to .claude/specs/<slug>/requirements.md (do not overwrite if requirements.md already has real content — ask first).requirements.md.AI-led. The AI asks Socratic questions, then constructs requirements autonomously.
Ask the following questions one at a time (wait for each answer before proceeding):
After collecting answers:
requirements.md without further prompting.Each requirement block follows this structure:
## REQ-001: <Short Title>
**User Story**: As a <role>, I want <goal> so that <benefit>.
**When** <triggering event or condition>, **the system shall** <observable system response>.
**Acceptance Criteria**:
- [ ] <Verifiable criterion 1>
- [ ] <Verifiable criterion 2>
- [ ] <Verifiable criterion 3>
EARS keyword guide:
When <event>, the system shall <response> — event-driven behaviorWhile <condition>, the system shall <response> — state-driven behaviorThe system shall <response> — unconditional behaviorIf <condition>, then the system shall <response> — optional/conditional featureWhere <feature included>, the system shall <response> — feature-dependent behaviorRun these checks on the completed requirements.md and flag issues as inline comments or a summary list:
Write the completed requirements to .claude/specs/<slug>/requirements.md.
Update .claude/specs/<slug>/progress.md:
sdd-requirements status from ⬜ not started to ✅ complete.| <YYYY-MM-DD> | requirements | Written N requirements |--mode auto, if the user's answers are ambiguous, make a stated assumption rather than looping back. Document the assumption in the REQ block as > **Assumption**: <text>.requirements.md opens an edit session, not a blank slate.== PHASE COMPLETE: sdd-requirements == Artifact: .claude/specs/<slug>/requirements.md Summary:
⏸ WAITING FOR CONFIRMATION
Type CONFIRM sdd-review-requirements to proceed. Or describe changes needed.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
testing
# sdd-workflow — Workflow Status Dashboard ## Slash Command ``` /sdd-workflow [slug] ``` ## Purpose Read-only meta skill. Displays the current state of the SDD workflow — which phases are complete, which is next, and any blockers. Does NOT modify any files. --- ## This Skill is Read-Only `sdd-workflow` never writes to or modifies any file. It only reads spec files and git history to report status. There is no approval gate for this skill. --- ## Usage: Specific Feature ``` /sdd-workflo
content-media
# sdd-tasks **Slash command**: `/sdd-tasks <slug>` **Purpose**: Generate `tasks.md` (TASK-001..N) and `progress.md` from `requirements.md` and `design.md`. --- ## Prerequisites - `.claude/specs/<slug>/requirements.md` must exist - `.claude/specs/<slug>/design.md` must exist (run `/sdd-design` first) --- ## Steps ### 1. Read spec inputs ``` .claude/specs/<slug>/requirements.md .claude/specs/<slug>/design.md ``` Extract: - Every REQ-XXX ID with its acceptance criteria - Every design sect
development
# sdd-review — Post-Implementation Code Review ## Slash Command ``` /sdd-review <slug> ``` ## Purpose Run code review and security review on all changes introduced by the feature branch. Append structured findings to `review.md`. Does NOT auto-apply fixes — only proposes them. --- ## Prerequisites - `sdd-impl` has completed: all tasks in `progress.md` are `done` (or at least one is `done`; partial reviews are allowed). - The feature branch must have at least one commit ahead of `main`. -