重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
npx skills add https://github.com/oocx/tfplan2md --skill arc42-documentation遵循成熟的 arc42 模板 (https://arc42.org/),生成完整、结构化的架构文档。该模板提供 12 个标准化部分,涵盖软件架构的各个方面,从利益相关者需求到技术实现细节。
arc42 模板包含 12 个部分:
todo 工具来跟踪 arc42 文档工作流的进度广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
search/*、read/* 和 edit/* 工具,而非终端命令docs/architecture/arc42/ 目录中创建文档templates/arc42-template.md 中提供的模板结构docs/architecture.md 以引用新的 arc42 文档edit/* 工具可用时,使用终端命令进行文件编辑todo 工具使用 todo 工具创建一个待办事项列表,以跟踪您在 arc42 工作流中的进度:
一次向维护者提出一个问题:
使用 edit/createFile 工具(而非终端命令)创建目录和初始文件。
read/* 工具读取 templates/arc42-template.mdedit/createFile 在 docs/architecture/arc42/architecture.md 创建定制版本cp 或 cat 等终端命令 - 优先使用编辑器工具完成每个部分时更新您的待办事项列表。
按推荐顺序处理各个部分:
search/* 工具在 docs/spec.md 和功能规范中查找相关内容渐进式方法: 可以接受将部分标记为 "TBD" 并随时间填写。该文档是一个活的产物。
使用 edit/editFiles 进行更改,而非终端文本编辑器或 sed/awk 命令。
添加图表时更新您的待办事项。
对于关键部分,使用 edit/editFiles 创建 Mermaid 图表:
在提交之前,使用 mcp-mermaid 工具预览图表。
完成时更新您的待办事项。
使用 search/codebase 查找所有匹配 adr-*.md 的 ADR 文件,然后在第 9 节(架构决策) 中:
使用 edit/editFiles 更新该部分。
审查并检查您的待办事项列表:
使用 edit/editFiles 在 docs/architecture.md 中添加对 arc42 文档的引用:
## 综合架构文档
有关遵循 arc42 标准的完整架构概述,请参阅:
- [arc42 架构文档](architecture/arc42/architecture.md)
标记您的待办事项为完成,然后仅将终端用于 git 操作:
git add docs/architecture/arc42/ docs/architecture.md
git commit -m "docs: add arc42 architecture documentation"
arc42 文档应:
| 资源 | 描述 |
|---|---|
| arc42.org | 官方 arc42 网站,提供下载和示例 |
| arc42 Docs | 每个部分的详细解释及实用技巧 |
| arc42 by Example | 真实世界的架构文档示例 |
| arc42 on GitHub | 模板源代码仓库 |
| iSAQB Curriculum | 使用 arc42 的认证计划 |
每周安装次数
68
仓库
GitHub 星标数
154
首次出现
2026年2月9日
安全审计
安装于
github-copilot68
opencode66
amp66
codex66
kimi-cli66
gemini-cli66
Generate complete, structured architecture documentation following the proven arc42 template (https://arc42.org/). The template provides 12 standardized sections covering all aspects of software architecture, from stakeholder requirements to technical implementation details.
The arc42 template consists of 12 sections:
todo tool to track progress through the arc42 documentation workflowsearch/*, read/*, and edit/* tools over terminal commands for file operationsdocs/architecture/arc42/ directorytemplates/arc42-template.mddocs/architecture.md to reference the new arc42 documentationedit/* tools are availabletodo tool for multi-step workflowsCreate a todo list with the todo tool to track your progress through the arc42 workflow:
Ask the maintainer one question at a time:
Use edit/createFile tool (not terminal commands) to create the directory and initial file.
read/* tool to read templates/arc42-template.mdedit/createFile to create the customized version at docs/architecture/arc42/architecture.mdcp or cat - prefer editor toolsUpdate your todo list as you complete each section.
Work through sections in recommended order:
search/* tools to find relevant content in docs/spec.md and feature specificationsProgressive approach: It's acceptable to mark sections as "TBD" and fill them over time. The document is a living artifact.
Use edit/editFiles to make changes, NOT terminal text editors or sed/awk commands.
Update your todo as you add diagrams.
For key sections, create Mermaid diagrams using edit/editFiles:
Use the mcp-mermaid tool to preview diagrams before committing.
Update your todo when complete.
Use search/codebase to find all ADR files matching adr-*.md, then in Section 9 (Architecture Decisions) :
Use edit/editFiles to update the section.
Review and check your todo list:
Use edit/editFiles to add reference to the arc42 document in docs/architecture.md:
## Comprehensive Architecture Documentation
For a complete architecture overview following the arc42 standard, see:
- [arc42 Architecture Documentation](architecture/arc42/architecture.md)
Mark your todo complete, then use terminal for git operations only:
git add docs/architecture/arc42/ docs/architecture.md
git commit -m "docs: add arc42 architecture documentation"
The arc42 document should be:
| Resource | Description |
|---|---|
| arc42.org | Official arc42 website with downloads and examples |
| arc42 Docs | Detailed explanations of each section with practical tips |
| arc42 by Example | Real-world architecture documentation examples |
| arc42 on GitHub | Template source repository |
| iSAQB Curriculum | Certification program that uses arc42 |
Weekly Installs
68
Repository
GitHub Stars
154
First Seen
Feb 9, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot68
opencode66
amp66
codex66
kimi-cli66
gemini-cli66
API设计指南:REST/GraphQL设计原则、规范文档与版本控制策略
11,500 周安装