Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
SkillCẩn thậnTài liệu & nội dungCần cài đặt chút

developer-docs-framework

anivar · anivar/developer-docs-framework

Một kỹ năng của AI agent cung cấp một framework toàn diện với 27 quy tắc và nhiều hướng dẫn phong cách để tạo tài liệu kỹ thuật.

AI agent skill for technical docs — Diataxis + 27 rules, 6 style guides (Google, Good Docs). Works with Claude Code, Cursor, Codex, Windsurf.

14 sao2Giấy phép: Không có giấy phépCập nhật 2 tháng trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Hướng dẫn AI agent viết các hướng dẫn rõ ràng, có cấu trúc theo nguyên tắc Diataxis.
  • Yêu cầu agent của bạn xem xét tài liệu hiện có theo tiêu chuẩn Google Style Guide.
  • Tạo một hướng dẫn "cách làm" toàn diện dựa trên tính năng API mới với định dạng nhất quán.

Kiểm tra an toàn

Cẩn thận

Dùng được, nhưng nên đọc ghi chú trước.

  • ●Không có giấy phép rõ ràng: hỏi tác giả trước khi dùng cho sản phẩm thương mại.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

diataxis-docs-framework

Enterprise technical documentation framework — 27 rules, 11 references, 6 pluggable style guides. Content architecture, writing standards, information architecture, DX strategy, documentation audit, anti-patterns checklist.

What This Does

A comprehensive framework for writing, planning, auditing, and improving technical documentation for products that need developer and partner adoption. Synthesizes six proven frameworks:

  • Diataxis — Content architecture (tutorials, how-to guides, reference, explanation)
  • Google OpenDocs — Project archetypes, maturity assessment, audit methodology
  • Good Docs Project — Content type templates with writing guides
  • Google Style Guide — Language, tone, and formatting standards
  • Stripe DX Patterns — Outcome-oriented docs, developer journey design
  • Canonical Practice — Documentation as engineering discipline

Key Features

  • 27 rules across 7 categories: content architecture, writing style, information architecture, DX, audit, governance, partner ecosystem
  • 14 content types with detailed writing guidance: tutorial, quickstart, how-to, integration guide, migration guide, troubleshooting, API reference, SDK reference, config reference, changelog, explanation, architecture guide, glossary, runbook
  • 6 pluggable style guides: Diataxis (default), Google, Microsoft, Stripe, Canonical, Minimal
  • Anti-patterns checklist — consolidated documentation smells for review
  • Ready-to-use templates for every content type
  • Documentation maturity model (Seeds → Foundation → Integration → Excellence)
  • Adoption funnel for prioritizing documentation work

Structure

diataxis-docs-framework/
├── SKILL.md                        — Quick reference, rule summaries, decision trees
├── AGENTS.md                       — Complete compiled guide with all rules expanded
├── references/
│   ├── content-types.md            — 14 content types: purpose, structure, principles
│   ├── templates.md                — Copy-paste skeletons for every content type
│   ├── style-guide.md              — Formatting, code examples, accessibility
│   ├── anti-patterns.md            — Documentation smells and review checklist
│   ├── enterprise-patterns.md      — IA, docs-as-code, versioning, governance, metrics
│   └── styles/
│       ├── diataxis.md             — Default: per-quadrant voice and tone
│       ├── google.md               — Google Developer Docs conventions
│       ├── microsoft.md            — Microsoft Writing Style Guide conventions
│       ├── stripe.md               — Stripe DX-first documentation patterns
│       ├── canonical.md            — Canonical engineering discipline approach
│       └── minimal.md              — MVP docs for startups and internal tools
└── rules/                          — 27 individual rule files
    ├── write-*.md                  — Content architecture (6 rules, CRITICAL)
    ├── style-*.md                  — Writing style (6 rules, CRITICAL)
    ├── arch-*.md                   — Information architecture (4 rules, HIGH)
    ├── dx-*.md                     — Developer experience (3 rules, HIGH)
    ├── audit-*.md                  — Documentation audit (3 rules, MEDIUM)
    ├── gov-*.md                    — Governance & lifecycle (3 rules, MEDIUM)
    └── partner-*.md                — Partner & ecosystem (2 rules, MEDIUM)

Frameworks & Sources

FrameworkWhat It ProvidesLink
DiataxisContent architecture — the four quadrantsdiataxis.fr
Google OpenDocsProject archetypes, maturity, auditgithub.com/google/opendocs
Good Docs ProjectTemplates and writing guidesthegooddocsproject.dev
Google Style GuideLanguage and formatting standardsdevelopers.google.com/style
Stripe DocsDX-first documentation patternsdocs.stripe.com
CanonicalDocumentation as engineering practicecanonical.com/documentation

Attribution

This framework synthesizes and builds upon six established documentation methodologies. The original frameworks, their authors, and licenses:

FrameworkAuthor / MaintainerLicenseLink
DiataxisDaniele ProcidaCC BY-SA 4.0diataxis.fr
Google OpenDocsGoogle LLCApache 2.0github.com/google/opendocs
Good Docs ProjectThe Good Docs Project contributorsCC BY 4.0thegooddocsproject.dev
Google Developer Documentation Style GuideGoogle LLCCC BY 4.0developers.google.com/style
Stripe Documentation PatternsStripe, Inc.Patterns observed from public documentationdocs.stripe.com
Canonical Documentation PracticeCanonical Ltd.Public methodologycanonical.com/documentation

The rules, examples, anti-patterns, and templates in this framework are original work that applies and extends the principles from these sources. No content is copied verbatim from the source frameworks.

Author

Anivar Aravind — anivar.net

License

MIT — see LICENSE for details.

Note: While this framework itself is MIT-licensed, the underlying methodologies have their own licenses (listed above). If you redistribute portions that closely follow a specific framework's structure, respect that framework's li

Xem mã nguồn trên GitHub