General
spec-design - Claude MCP Skill
Spec Design Command
SEO Guide: Enhance your AI agent with the spec-design tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to spec design command... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# Spec Design Command
Generate design document based on approved requirements.
## Usage
```
/spec-design [feature-name]
```
## Instructions
You are working on the design phase of the spec workflow.
1. **Prerequisites**
- Ensure requirements.md exists and is approved
- Load the requirements document for context
- Research existing codebase patterns and architecture
2. **Generate Design Document**
- Create comprehensive design following the template
- Include all required sections:
- Overview
- Architecture
- Components and Interfaces
- Data Models
- Error Handling
- Testing Strategy
3. **Codebase Research Phase** (MANDATORY)
- **Map existing patterns**: Identify data models, API patterns, component structures that match your needs
- **Catalog reusable utilities**: Find validation functions, helpers, middleware, hooks that can be leveraged
- **Document architectural decisions**: Note existing tech stack, state management, routing patterns to follow
- **Identify integration points**: Map how new feature connects to existing auth, database, APIs
- **Find similar implementations**: Look for features with similar requirements already implemented
- **Note gaps**: Document what needs to be built vs. what can be reused or extended
4. **Design Content** (leverage codebase research)
- **Reuse Architecture**: Build on existing patterns rather than creating new ones
- **Extend Components**: Design to leverage and extend existing utilities, services, components
- Use Mermaid diagrams for visual representations
- Define clear interfaces that integrate with existing systems
- Specify data models that follow established patterns
- Plan error handling consistent with current approach
- Outline testing approach using existing test utilities
5. **Approval Process**
- Present the complete design document
- **Highlight code reuse**: Clearly show what existing code will be leveraged
- Ask: "Does the design look good? If so, we can move on to the implementation plan."
- Incorporate feedback and revisions
- Continue until explicit approval
## Design Structure
```markdown
# Design Document
## Overview
[High-level description]
## Code Reuse Analysis
[What existing code will be leveraged, extended, or integrated]
## Architecture
[System architecture building on existing patterns]
## Components and Interfaces
[Detailed component specifications with reuse opportunities]
## Data Models
[Data structures following established patterns]
## Error Handling
[Error scenarios consistent with current approach]
## Testing Strategy
[Testing approach using existing utilities and patterns]
```
## Next Phase
After approval, proceed to `/spec-tasks`.Signals
Information
- Repository
- TrueCrimeDev/ClautoHotkey
- Author
- TrueCrimeDev
- Last Sync
- 3/12/2026
- Repo Updated
- 2/9/2026
- Created
- 1/16/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
upgrade-nodejs
Upgrading Bun's Self-Reported Node.js Version
cursorrules
CrewAI Development Rules
cn-check
Install and run the Continue CLI (`cn`) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.
CLAUDE
CLAUDE.md
Related Guides
Bear Notes Claude Skill: Your AI-Powered Note-Taking Assistant
Learn how to use the bear-notes Claude skill. Complete guide with installation instructions and examples.
Mastering tmux with Claude: A Complete Guide to the tmux Claude Skill
Learn how to use the tmux Claude skill. Complete guide with installation instructions and examples.
OpenAI Whisper API Claude Skill: Complete Guide to AI-Powered Audio Transcription
Learn how to use the openai-whisper-api Claude skill. Complete guide with installation instructions and examples.