skills/sdd-init/references/skills/spec-research/SKILL.md
Execute independent research for an SDD specification. Investigates existing codebase and best practices, generating research.md.
npx skillsauth add qlawmarq/dotfiles-common sdd-spec-researchInstall 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.
<background_information>
</background_information>
<instructions>This skill expects:
docs/tasks/-y to auto-approve the previous phase (requirements)If inputs were provided with this skill invocation, use them directly. Otherwise, ask the user for the feature name. If the auto-approve flag is not provided, default to interactive approval mode.
Investigate the existing codebase and research best practices to generate a structured research document (research.md) for the specified feature.
Resolve Spec Path: Look for the feature directory in docs/tasks/todo/<feature-name>/ first, then docs/tasks/done/<feature-name>/. Use whichever exists. If neither exists, report an error.
Read all necessary context:
{spec_path}/spec.json for language and metadata{spec_path}/requirements.md for project requirements{spec_path}/gap-analysis.md (if exists) for existing gap analysis resultsdocs/steering/ directory for complete project memory:
structure.md, tech.md, product.mddocs/settings/templates/specs/research.md for research document structuredocs/settings/rules/design-discovery-full.md for full discovery rulesdocs/settings/rules/design-discovery-light.md for light discovery rulesValidate requirements approval:
approvals.requirements.approved: true)approvals.requirements.approved is true in spec.jsonCritical: This phase ensures research is based on complete, accurate information.
Classify Feature Type:
Execute Appropriate Discovery Process:
For Complex/New Features (Full Discovery):
docs/settings/rules/design-discovery-full.mdFor Extensions (Light Discovery):
docs/settings/rules/design-discovery-light.mdFor Simple Additions (Minimal Discovery):
Incorporate Gap Analysis (if available):
gap-analysis.md was loaded in Step 1, use its findings as additional research contextCurrent State Analysis:
Best Practice Research:
Retain Discovery Findings for Step 3:
Using the template loaded in Step 1 (docs/settings/templates/specs/research.md) and the discovery findings from Step 2, generate research.md.
Language Compliance: Write all content in the language specified by spec.json.language (e.g., "ja" means Japanese).
Populate Template Sections:
feature-name, discovery scope (from Feature Type classification), and 3 key findingsdesign.md. Include context, alternatives considered, selected approach, rationale, trade-offs, and follow-up itemsInclude Design Recommendations: Based on the research findings, explicitly state actionable recommendations for the design phase. These should appear in the Design Decisions section and summarize:
Write research.md: Output the completed document to {spec_path}/research.md using the Write tool.
Do NOT update spec.json: The existence of research.md is the sole indicator of research completion. No phase transition or approval state changes are needed.
docs/settings/templates/specs/research.md structurespec.json.languageProvide brief summary in the language specified in spec.json:
docs/tasks/<feature-name>/research.mdFormat: Concise Markdown (under 200 words)
Requirements Not Approved:
/sdd-spec-research <feature-name> -y to auto-approve requirements and proceed"Missing Requirements:
docs/tasks/<feature-name>/requirements.md"/sdd-spec-requirements <feature-name> to generate requirements first"Spec Directory Not Found:
<feature-name> in docs/tasks/todo/ or docs/tasks/done/"/sdd-spec-init <description> to initialize a new specification"Template Missing:
docs/settings/templates/specs/research.md"Steering Context Missing:
After Research Completed:
docs/tasks/<feature-name>/research.md/sdd-spec-design <feature-name> -y to proceed to design phaseIf Re-research Needed:
research.md and re-run /sdd-spec-research <feature-name> -ydevelopment
Interactive requirements quality review and validation. Detects gold-plating (unrequested features), ambiguity, and scope creep before they propagate.
development
Plan and decompose a LARGE-SCALE software effort into multiple right-sized SDD specs. This is the AI-DLC Inception layer that sits ABOVE individual specs: it turns a whole product, a 0->1 greenfield build, or the scale-up of an existing prototype into an ordered roadmap of independently-shippable Units of Work, then scaffolds one SDD spec per unit. Make sure to use this skill whenever the user wants to plan a new app or product from scratch, break a big/ambiguous project into pieces, build an MVP roadmap, figure out "where do I even start", turn a prototype into a real product, or do anything too large to fit comfortably in a single feature spec. Prefer this over /sdd-spec-init when the scope is a whole product or several features rather than one focused feature.
tools
文章を指定した言語に翻訳。 ブログ記事やドキュメントを自然で高品質な翻訳に変換します。 フロントマター処理、専門用語の検証も行います。
tools
ブログコンテンツの品質をレビュー。 SEO最適化、文法・表現、コンテンツ品質、正確性・信頼性を 包括的にチェックし、改善提案を行います。