Automated summary
Guides the writing of a technical specification in 8 sections (overview, architecture, API, data model, security, errors, non-functional requirements, risks) starting from an approved PRD.
Strengths
- Enforces a fixed order and exact headings across 8 sections, making documents comparable from one feature to the next
- Explicitly covers API contracts, data models and the error-handling strategy
- Ships a phase-gate checklist and a pitfalls table (over-engineering, tight coupling, neglected non-functionals)
- Defines a clear path from approved PRD to implementation, with named deliverables and a handoff list
Limitations
- Provides no diagramming or schema-validation tooling, only placeholders to fill in
- Output quality depends entirely on how complete the input PRD is, which the skill does not check
- Stakeholder roles are described but no review or approval workflow is automated
Use it when a PRD is approved and you need an unambiguous technical blueprint before development starts.
Skip it for trivial fixes or throwaway prototypes where a formal 8-section spec costs more than it delivers.
Security analysis
SafeThis is a pure documentation/process skill that defines a template and checklists for writing technical specifications. It declares no allowed-tools and contains no shell commands, network calls, file exfiltration, obfuscated payloads, or instructions to disable safety. The only file-path reference is a suggested save location under docs/, which is benign.
No concerns found
How this analysis is madeExamples
Here is the approved PRD for team invitations. Write the technical specification using the 8-section template, including the architecture diagram and the API contracts for each endpoint.Draft sections 3 and 4 of the tech spec for our new billing subscription resource: request/response schemas, error codes, and the data model with field types and constraints.Review this draft tech spec against the phase gate checklist and flag missing error handling, security considerations, or non-functional requirements before we hand it to the dev team.name: aid-tech-spec description: AID Phase 2 - Technical Specification. Use for system architecture, API contracts, data models, security architecture, transitioning from PRD to implementation.
Tech Spec Phase Skill
Purpose: design the technical solution - a blueprint developers follow without ambiguity.
Entry: PRD approved, requirements clear, dependencies identified. Exit: tech spec complete, architecture documented, API contracts defined, data models specified.
Deliverables
- Tech Spec Document - Implementation-ready design
- Architecture Diagram - Components and interactions
- API Contracts - Endpoints, schemas, errors
- Data Models - Schemas, types, constraints
Common Pitfalls
| Pitfall | Fix | |---|---| | Over-engineering | Design for current needs | | Missing error handling | Define errors upfront | | Tight coupling | Design for testability | | Ignoring non-functionals | Address performance, security | | Unclear contracts | APIs unambiguous with examples |
Phase Gate Checklist
- [ ] Tech spec complete
- [ ] Architecture diagram created
- [ ] All API contracts defined
- [ ] Data models specified
- [ ] Error handling strategy defined
- [ ] Security considerations addressed
- [ ] Performance requirements addressed
- [ ] Tech lead approved
Tech Spec Template
Emit these 8 sections, in this order, with these exact headings:
# [Feature] Technical Specification
## 1. Overview
### Problem Summary
### Proposed Solution
### Key Decisions
| Decision | Choice | Rationale |
## 2. Architecture
### System Diagram
[Mermaid or image]
### Component Breakdown
| Component | Responsibility | Dependencies |
### Data Flow
## 3. API Design
### POST /api/[resource]
**Request:**
```json
{ "field": "type" }
```
**Response (200):**
```json
{ "id": "string" }
```
**Errors:**
| Code | Error | Description |
## 4. Data Model
### Entity: [Name]
| Field | Type | Constraints | Description |
## 5. Security
### Authentication
### Authorization
### Data Protection
## 6. Error Handling
| Scenario | Response | Recovery |
## 7. Non-Functional Requirements
| Requirement | Target | Measurement |
## 8. Risks & Mitigations
| Risk | Impact | Mitigation |
Role Guidance
| Role | Focus | |---|---| | PM | Validate approach addresses requirements | | Dev | Own spec, design for testability | | QA | Review testability, integration points | | Tech Lead | Review architecture, approve direction |
Handoff to Implementation
- Approved tech spec
- API contracts
- Data models
- Architecture decisions with rationale
- Spike/POC results (if any)
Save to: docs/tech-spec/YYYY-MM-DD-[feature].md
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/tech-spec-writing-phase-2-mt11k96i' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/tech-spec-writing-phase-2-mt11k96i/download' --output '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md.part' && mv '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md.part' '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md' && test -s '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/aid-tech-spec' && cp -R '.skill-downloads/tech-spec-writing-phase-2-mt11k96i' '.claude/skills/aid-tech-spec'Cursor
test -f '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md' && test -s '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/aid-tech-spec' && cp -R '.skill-downloads/tech-spec-writing-phase-2-mt11k96i' '.cursor/skills/aid-tech-spec'Codex
test -f '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md' && test -s '.skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/aid-tech-spec' && cp -R '.skill-downloads/tech-spec-writing-phase-2-mt11k96i' '.agents/skills/aid-tech-spec'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/tech-spec-writing-phase-2-mt11k96i'openskills read 'tech-spec-writing-phase-2-mt11k96i'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/tech-spec-writing-phase-2-mt11k96i/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.