Skip to content
BeClaude

sdd-skills

New
1GitHub TrendingDevelopmentby dayvisonassis

Spec-driven development skills for Claude Code: PRD → spec/contract → implement → contract-based evaluation with auto-fix

Summary

This skill enables spec-driven development workflows in Claude Code, guiding you from a PRD to formal specifications and contracts, then to implementation, and finally to contract-based evaluation with automatic fixes.

  • It ensures your code aligns with documented requirements, reducing bugs and improving maintainability.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/sdd-skills.md https://raw.githubusercontent.com/dayvisonassis/sdd-skills/main/SKILL.md
3
Invoke in Claude Code
/sdd-skills

Use Cases

Generate a detailed specification from a product requirements document (PRD) to clarify implementation details.
Create formal contracts (e.g., TypeScript interfaces or JSON schemas) from specifications to enforce data structures.
Implement code that adheres to predefined contracts, ensuring type safety and consistency.
Run contract-based tests to verify that the implementation matches the specification, with auto-fix suggestions for mismatches.
Iteratively refine a specification when requirements change, and automatically update contracts and code accordingly.
Onboard new team members by generating clear, executable specifications and contracts from existing PRDs.

Usage Examples

1

/sdd-skills from-prd path/to/prd.md --output spec.md

2

/sdd-skills generate-contracts spec.md --lang typescript --output contracts.ts

3

/sdd-skills implement contracts.ts --output src/

4

/sdd-skills verify src/ contracts.ts --auto-fix

View source on GitHub

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is sdd-skills?

This skill enables spec-driven development workflows in Claude Code, guiding you from a PRD to formal specifications and contracts, then to implementation, and finally to contract-based evaluation with automatic fixes. It ensures your code aligns with documented requirements, reducing bugs and improving maintainability.

How to install sdd-skills?

To install sdd-skills: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/sdd-skills.md https://raw.githubusercontent.com/dayvisonassis/sdd-skills/main/SKILL.md. Finally, /sdd-skills in Claude Code.

What is sdd-skills best for?

sdd-skills is a skill categorized under Development. Created by dayvisonassis.

What can I use sdd-skills for?

sdd-skills is useful for: Generate a detailed specification from a product requirements document (PRD) to clarify implementation details.; Create formal contracts (e.g., TypeScript interfaces or JSON schemas) from specifications to enforce data structures.; Implement code that adheres to predefined contracts, ensuring type safety and consistency.; Run contract-based tests to verify that the implementation matches the specification, with auto-fix suggestions for mismatches.; Iteratively refine a specification when requirements change, and automatically update contracts and code accordingly.; Onboard new team members by generating clear, executable specifications and contracts from existing PRDs..