templates/skills/write-tech-spec/SKILL.md
Generate a technical specification document using the DDD template in template.md. Use when the user says 'write tech spec', 'create tech spec', 'technical specification', or needs a structured design document for a new feature or major change covering architecture, domain models, APIs, data design, security, and operations.
npx skillsauth add samwang0723/claudecode-setup write-tech-specInstall 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.
Generate a complete technical specification document following the DDD (Domain Driven Design) template at template.md.
Ask the user for these essentials before generating:
For each relevant template section, ask targeted questions:
| Section | Key Questions | |---------|--------------| | Architecture | What services are involved? Upstream/downstream dependencies? | | Domain | New domain models or entities? State machines needed? | | Data | Database schema changes? PII considerations? Retention policy? | | APIs | New endpoints? Error code patterns? Rate limiting needs? | | Security | External exposure? Auth changes? Threat model required? | | Operations | Feature flags? Rollout strategy? Monitoring metrics? |
Skip sections the user confirms are not applicable — mark them "N/A" in the output.
template.md from this skill directory for the full document structure[TODO: description] placeholders[DIAGRAM: description] placeholders.claude/tasks/{slug}/tech-spec.mdmcp__atlassian__confluence_create_pageThe full template structure lives in template.md (bundled with this skill). Key sections:
{App}-{4-digit-code})Every tech spec must include rollout plan, monitoring metrics/alerts, fallback plan, and security assessment — these are non-negotiable for production readiness.
Focus: $ARGUMENTS
testing
Write a Product Requirements Document (PRD) using the standard TMAB template with stakeholders, user stories (Given-When-Then), success metrics, and A/B testing plans. Use when the user asks to write a PRD, create product requirements, document a feature spec, or plan a new product feature.
data-ai
Clean up an agent team. Removes team resources, optionally cleans worktrees and branches. Use after team work is complete and merged. Use when told to "stop team", "cleanup team", "disband team".
testing
Check progress of an active agent team. Shows member status, completed tasks, pending work, and any messages. Use when asked "team status", "how's the team", "check team progress", "team update".
development
Spawn an agent team with multiple parallel Claude instances in tmux panes. Each teammate is a separate session with its own context window. Creates git worktrees and markdown state tracking alongside JSON tasks. Supports: --agents (comma-separated), --members N, --devs N. Use when told to "team up", "parallel team", "spawn a team", or "standby".