跳到正文
Skillpedia
技术文档7.1k · #13516

technical-design-doc-creator

它能做什么

这个技能引导 AI 先进行简短的访谈,然后起草完整的技术设计文档。内容涵盖架构、计划和风险。适合需要在实施之前获得批准的开发者和负责人。

适用场景

  • ✓当你开始一个新功能或集成,并需要先写出设计时。
  • ✓当一个系统需要迁移或替换,并且计划必须获得批准时。
  • ✓当你希望团队在编写任何代码之前审阅技术规格时。

技能链接

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(creation)/create-technical-design-doc/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(creation)/create-technical-design-doc/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我们应用添加单点登录功能撰写技术设计文档,包括风险和上线步骤。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会先提出探索性问题,然后填写必需和可选的章节,内容包括架构、计划和风险评估,并使用你请求所用的语言。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

常见问题

它适用于 README 文件吗?

不适用。README 和 API 文档更适合使用文档类技能。

它会先问我问题吗?

会。它会通过交互式的探索收集所需的细节。

它会用我的语言撰写吗?

会。文档会遵循你请求所用的语言。

详情

作者的原始描述

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).

repo: tech-leads-club/agent-skills

热度

GitHub 星标
7.1k
排名
#13516
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能