agents-standards
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
Discover required technical components through targeted questions based on classified requirements.
$ npx -y skills add LiorCohen/sdd --skill tech-discovery --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/tech-discoveryContext preview
The summary Claude sees to decide when to auto-load this skill.
Discover required technical components through targeted questions based on classified requirements.
name: component-discovery description: Discover required technical components through targeted questions based on classified requirements. user-invocable: false
Identifies required technical components through analysis of classified requirements and targeted discovery questions. **This skill is purely analytical - it never modifies sdd-settings.yaml or scaffolds components.**
Based on transformation output (classified requirements):
**IMPORTANT**: This skill does NOT:
It only analyzes and documents. Implementation decides when to actually create components.
Schema: [`schemas/input.schema.json`](./schemas/input.schema.json)
Accepts change name, type, existing components, and optionally classified requirements from external spec processing.
Before asking discovery questions, load the tech-specific discovery knowledge:
Invoke techpacks.routeSkills with: namespace: <active-namespace> phase: component-discovery
This loads component types, descriptions, discovery question sets, and settings schemas from the active tech pack.
The tech pack's discovery skill provides the mapping from requirements to component types. Use the loaded question sets to:
1. Ask high-level questions to identify which component types are needed 2. For each identified type, ask component-specific follow-up questions 3. Determine component settings based on answers
**General discovery approach:**
When UI/UX is involved and spec doesn't include visual assets:
Do you have any visual assets I can reference? - Mockups or wireframes (Figma, Sketch, etc.) - Screenshots of existing UI - Rough sketches or drawings - Reference images from other products If you can share images, I can extract much more accurate requirements than from text descriptions alone.
**Skip this if** spec already includes images or links to design tools.
Schema: [`schemas/output.schema.json`](./schemas/output.schema.json)
Returns a list of components with names, types, and settings.
Component settings from this output flow into the SPEC.md `## Components` section's Settings column, where they inform the scaffolding phase during implementation.
Use the following skills for reference:
Invoke `techpacks.listComponents` for the active tech pack namespace to get the full list of available component types, their descriptions, directory patterns, and whether they support multiple instances. Do NOT hardcode component types — the tech pack manifest is the source of truth.
Map discovered information to component types from the tech pack. Use `techpacks.routeSkills(phase: component-discovery)` to load the tech-specific discovery knowledge that maps requirements to component types and settings.
Based on what you've described, I recommend: **Components:** - **[Component Name]** - to handle <purpose> - Settings: <key settings from discovery> - **[Component Name]** - for <purpose> - Settings: <key settings from discovery> [Additional components with justification] Does this match what you had in mind?
If the user wants changes, update both components and settings based on the tech pack's component type definitions and cross-reference rules.
Some component types support multiple instances. When the requirements suggest multiple instances of the same type (e.g., separate services for different domains), ask the user whether to consolidate or split.
The tech pack's discovery knowledge provides guidance on when to split vs consolidate for each component type.
Before returning, validate discovered configuration against the tech pack's cross-reference rules. Invoke `techpacks.routeSkills(phase: component-discovery)` to get the validation rules.
Return the final configuration with all settings.
External Spec → Transformation → **Component Discovery** → Decomposition → SPEC.md
↓
Documents in SPEC.md
(no system changes)Components are actually created during **implementation phase**: 1. SPEC.md documents needed components 2. PLAN.md confirms components to scaffold 3. Implementation phase updates `sdd-settings.yaml` 4. Implementa
Structure for AI-assisted development AI coding assistants are powerful but chaotic. You prompt, you get code, but then what?
Repo: LiorCohen/sdd
Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.
Standards for authoring SDD plugin commands — frontmatter, user interaction, skill/agent invocation, CLI integration, and output formatting.
Create a commit following repository guidelines with proper versioning and changelog updates.
Two-step self-review at every task lifecycle phase. Step 1 (this skill) runs in-context to gather session signals — files read vs grepped, user pushback, build…
D2 diagramming language reference for architecture diagrams, sequence diagrams, grid layouts, SQL tables, and class diagrams. Produces .d2 files rendered via…
Writes and maintains user-facing documentation for the SDD plugin. Proactively detects when docs are out of sync with plugin capabilities.