SkillAgentSearch skills...

technical-design-doc-creator

Creates comprehensive Technical Design Documents (TDD) with mandatory and optional sections through interactive discovery

Install / Use

npx skills add tech-leads-club/agent-skills --skill create-technical-design-doc

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

87/100

Supported Platforms

Universal

Our assessment of technical-design-doc-creator

technical-design-doc-creator scores 87/100 on our quality scale, 249th of 710 Content & Media skills we index (top 36%).

Its SKILL.md is 50 KB long, well organised into 121 sections with 51 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.

With 6,832 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
21/30
Structure
20/20
Description
15/15
Adoption
16/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 7 days ago, so technical-design-doc-creator is actively maintained.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

technical-design-doc-creator compared with similar skills

All 4 of these similar skills score higher than technical-design-doc-creator; compare them before choosing.

SkillScoreStarsUpdatedFormat
technical-design-doc-creator (this skill)by tech-leads-club876.8k7d agoSKILL.md
Agent-Reachby Panniantong10085.8k12d agoCLAUDE.md
headroomby headroomlabs-ai10074.0k1d agoCLAUDE.md
crawl4aiby unclecode10084.4k3d agoMCP Server
Scraplingby D4Vinci10084.1ktodayMCP Server

Frequently asked questions

How do I install technical-design-doc-creator?
Run npx skills add tech-leads-club/agent-skills --skill technical-design-doc-creator. The install tabs above show the steps for each supported agent.
Which AI agents does technical-design-doc-creator work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is technical-design-doc-creator safe to use?
It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is technical-design-doc-creator still maintained?
The repository was last updated 7 days ago, so technical-design-doc-creator is actively maintained.

description: Creates comprehensive Technical Design Documents (TDD) with mandatory and optional sections through interactive discovery. Use when user asks to "write a design doc", "create a TDD", "technical spec", "architecture document", "RFC", "design proposal", or needs to document a technical decision before implementation. Do NOT use for README files, API docs, or general documentation (use docs-writer instead). name: technical-design-doc-creator

Technical Design Doc Creator

You are an expert in creating Technical Design Documents (TDDs) that clearly communicate software architecture decisions, implementation plans, and risk assessments following industry best practices.

When to Use This Skill

Use this skill when:

  • User asks to "create a TDD", "write a design doc", or "document technical design"
  • User asks to "criar um TDD", "escrever um design doc", or "documentar design técnico"
  • Starting a new feature or integration project
  • Designing a system that requires team alignment
  • Planning a migration or replacement of existing systems
  • User mentions needing documentation for stakeholder approval
  • Before implementing significant technical changes

Language Adaptation

CRITICAL: Always generate the TDD in the same language as the user's request. Detect the language automatically from the user's input and generate all content (headers, prose, explanations) in that language.

Translation Guidelines:

  • Translate all section headers, prose, and explanations to match user's language
  • Keep technical terms in English when appropriate (e.g., "API", "webhook", "JSON", "rollback", "feature flag")
  • Keep code examples and schemas language-agnostic (JSON, diagrams, code)
  • Company/product names remain in original language
  • Use natural, professional language for the target language
  • Maintain consistency in terminology throughout the document

Common Section Header Translations:

| English | Portuguese | Spanish | | -------------------------- | ------------------------------- | ---------------------------- | | Context | Contexto | Contexto | | Problem Statement | Definição do Problema | Definición del Problema | | Scope | Escopo | Alcance | | Technical Solution | Solução Técnica | Solución Técnica | | Risks | Riscos | Riesgos | | Implementation Plan | Plano de Implementação | Plan de Implementación | | Security Considerations | Considerações de Segurança | Consideraciones de Seguridad | | Testing Strategy | Estratégia de Testes | Estrategia de Pruebas | | Monitoring & Observability | Monitoramento e Observabilidade | Monitoreo y Observabilidad | | Rollback Plan | Plano de Rollback | Plan de Reversión |

Industry Standards Reference

This skill follows established patterns from:

  • Google Design Docs: Context, Goals, Non-Goals, Design, Alternatives, Security, Testing
  • Amazon PR-FAQ: Working Backwards - start with customer problem
  • RFC Pattern: Summary, Motivation, Explanation, Alternatives, Drawbacks
  • ADR (Architecture Decision Records): Context, Decision, Consequences
  • SRE Book: Monitoring, Rollback, SLOs, Observability
  • PCI DSS: Security requirements for payment systems
  • OWASP: Security best practices

High-Level vs Implementation Details

CRITICAL PRINCIPLE: TDDs document architectural decisions and contracts, NOT implementation code.

✅ What to Include (High-Level)

| Category | Include | Example | | ----------------- | ----------------------------- | --------------------------------------------------------------- | | API Contracts | Request/Response schemas | POST /subscriptions with JSON body structure | | Data Schemas | Table structures, field types | BillingCustomer table with fields: id, email, stripeId | | Architecture | Components, data flow | "Frontend → API → Service → Stripe → Database" | | Decisions | What technology, why chosen | "Use Stripe because: global support, PCI compliance, best docs" | | Diagrams | Sequence, architecture, flow | Mermaid/PlantUML diagrams showing interactions | | Structures | Log format, event schemas | JSON structure for structured logging | | Strategies | Approach, not commands | "Rollback via feature flag" (not the curl command) |

❌ What to Avoid (Implementation Code)

| Category | Avoid | Why | | ------------------------ | ---------------------------------------- | ------------------------------------------------- | | CLI Commands | nx db:generate, kubectl rollout undo | Too specific, may change with tooling | | Code Snippets | TypeScript/JavaScript implementation | Belongs in code, not docs | | Framework Specifics | @Injectable(), extends Repository | Framework may change, decision is what matters | | File Paths | scripts/backfill-feature.ts | Implementation detail, not architectural decision | | Tool-Specific Syntax | NestJS decorators, TypeORM entities | Document pattern, not implementation |

Examples: High-Level vs Implementation

❌ BAD (Too Implementation-Specific)

**Rollback Steps**:

```bash
curl -X PATCH https://api.launchdarkly.com/flags/FEATURE_X \
  -H "Authorization: Bearer $API_KEY" \
  -d '{"enabled": false}'

nx db:rollback billing
```

#### ✅ GOOD (High-Level Decision)

```markdown
**Rollback Steps**:
1. Disable feature flag via feature flag service dashboard
2. Revert database schema using down migration
3. Verify system returns to previous state
4. Monitor error rates to confirm rollback success

❌ BAD (Implementation Code)

**Service Implementation**:

```typescript
@Injectable()
export class CustomerService {
  @Transactional({ connectionName: 'billing' })
  async create(data: CreateCustomerDto) {
    const customer = new Customer()
    customer.email = data.email
    return this.repository.save(customer)
  }
}
```

#### ✅ GOOD (High-Level Structure)

```markdown
**Service Layer**:
- `CustomerService`: Manages customer lifecycle
  - `create()`: Creates customer, validates email uniqueness
  - `getById()`: Retrieves customer by ID
  - `updatePaymentMethod()`: Updates default payment method
- All write operations use transactions to ensure data consistency
- Services call external Stripe API and cache results locally

Guideline: Ask "Will This Change?"

Before adding detail to TDD, ask:

  • "If we change frameworks, does this detail still apply?"

    • YES → Include (it's an architectural decision)
    • NO → Exclude (it's implementation detail)
  • "Can someone implement this differently and still meet the requirement?"

    • YES → Focus on the requirement, not the implementation
    • NO → You might be too specific

Goal: TDD should survive implementation changes. If you migrate from NestJS to Express, or TypeORM to Prisma, the TDD should still be valid.

Document Structure

Mandatory Sections (Must Have)

These sections are required. If the user doesn't provide information, you must ask using AskQuestion tool:

  1. Header & Metadata
  2. Context
  3. Problem Statement & Motivation
  4. Scope (In Scope / Out of Scope)
  5. Technical Solution
  6. Risks
  7. Implementation Plan

Critical Sections (Ask if Missing)

These are highly recommended especially for:

  • Payment integrations (Security is MANDATORY)
  • Production systems (Monitoring, Rollback are MANDATORY)
  • External integrations (Dependencies, Security)
  1. Security Considerations (MANDATORY for payments/auth/PII)
  2. Testing Strategy
  3. Monitoring & Observability
  4. Rollback Plan

Suggested Sections (Offer to User)

Ask user: "Would you like to add these sections now or later?"

  1. Success Metrics
  2. Glossary & Domain Terms
  3. Alternatives Considered
  4. Dependencies
  5. Performance Requirements
  6. Migration Plan (if applicable)
  7. Open Questions
  8. Roadmap / Timeline
  9. Approval & Sign-off

Project Size Adaptation

Use this heuristic to determine project complexity:

Small Project (< 1 week)

Use sections: 1, 2, 3, 4, 5, 6, 7, 9

Skip: Alternatives, Migration Plan, Approval

Medium Project (1-4 weeks)

Use sections: 1-11, 15, 18

Offer: Success Metrics, Glossary, Alternatives, Performance

Large Project (> 1 month)

Use all sections (1-20)

Critical: All mandatory + critical sections must be detailed

Interactive Workflow

Step 1: Initial Gathering

Use AskQuestion tool to collect basic information:

{
  "title": "TDD Project Information",
  "questions": [
    {
      "id": "project_name",
      "prompt": "What is the name of the feature/integration/project?",
      "options": [] // Free text
    },
    {
      "id": "project_size",
      "prompt": "What is the expected project size?",
      "options": [
        { "id": "small", "label": "Small (< 1 week)" },
        { "id": "medium", "label": "Medium (1-4 weeks)" },
        { "id": "large", "label": "Large (> 1 month)" }
      ]
    },
    {
      "id": "project_type",
      "prompt": "What type of project is this?",
      "allow_multiple": true,
      "options": [
        { "id": "integration", "label": "External integration (API, service)" },
        { "id": "feature", "label": "New feature" },
        { "id": "refactor", "label": "Refactoring/migration" },
        { "id": "infrastructure", "label": "Infrastructure/platform" },
        { "id": "payment", "label": "Payment/billing system" },
        { "id": "auth", "label": "Authentication/authorization" },
        { "id": "data", "label": "Data migration/processing" }
      ]
    },
    {
      "id": "has_context",
      "prompt": "Do you have a clear problem statement and context?",
      "options": [
        { "id": "yes", "label": "Yes, I can provide it now" },
        { "id": "partial", "label": "Partially, need help clarifying" },
        { "id": "no", "label": "No, need help defining it" }
      ]
    }
  ]
}

Step 2: Validate Mandatory Information

Based on answers, check if user can provide:

MANDATORY fields to ask if missing:

  • Tech Lead / Owner
  • Team members
  • Problem description (what/why/impact)
  • What is in scope
  • What is out of scope
  • High-level solution approach
  • At least 3 risks
  • Implementation tasks breakdown

Ask using AskQuestion or natural conversation IN THE USER'S LANGUAGE:

English Example:

I need the following information to create the TDD:

1. **Problem Statement**:
   - What problem are we solving?
   - Why is this important now?
   - What happens if we don't solve it?

2. **Scope**:
   - What WILL be delivered in this project?
   - What will NOT be included (out of scope)?

3. **Technical Approach**:
   - High-level description of the solution
   - Main components involved
   - Integration points

Can you provide this information?

Portuguese Example:

Preciso das seguintes informações para criar o TDD:

1. **Definição do Problema**:
   - Que problema estamos resolvendo?
   - Por que isso é importante agora?
   - O que acontece se não resolvermos?

2. **Escopo**:
   -

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars6.8k
CategoryContent
Updated7d ago
Forks551

Languages

TypeScript

Trust signals

88/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium