·c4-architecture
</>

c4-architecture

softaworks/agent-toolkit

使用 C4 模型 Mermaid 圖生成架構文檔。當要求創建架構圖、記錄系統架構、可視化軟件結構、創建 C4 圖或生成上下文/容器/組件/部署圖時使用。觸發器包括“架構圖”、“C4圖”、“系統上下文”、“容器圖”、“組件圖”、“部署圖”、“文檔架構”、“可視化架構”。

2.0K安裝·112熱度·@softaworks

安裝

$npx skills add https://github.com/softaworks/agent-toolkit --skill c4-architecture

SKILL.md

Generate software architecture documentation using C4 model diagrams in Mermaid syntax.

| Level | Diagram Type | Audience | Shows | When to Create |

| 1 | C4Context | Everyone | System + external actors | Always (required) | | 2 | C4Container | Technical | Apps, databases, services | Always (required) | | 3 | C4Component | Developers | Internal components | Only if adds value | | 4 | C4Deployment | DevOps | Infrastructure nodes | For production systems |

使用 C4 模型 Mermaid 圖生成架構文檔。當要求創建架構圖、記錄系統架構、可視化軟件結構、創建 C4 圖或生成上下文/容器/組件/部署圖時使用。觸發器包括“架構圖”、“C4圖”、“系統上下文”、“容器圖”、“組件圖”、“部署圖”、“文檔架構”、“可視化架構”。 來源:softaworks/agent-toolkit。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/softaworks/agent-toolkit --skill c4-architecture
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 c4-architecture?

使用 C4 模型 Mermaid 圖生成架構文檔。當要求創建架構圖、記錄系統架構、可視化軟件結構、創建 C4 圖或生成上下文/容器/組件/部署圖時使用。觸發器包括“架構圖”、“C4圖”、“系統上下文”、“容器圖”、“組件圖”、“部署圖”、“文檔架構”、“可視化架構”。 來源:softaworks/agent-toolkit。

如何安裝 c4-architecture?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/softaworks/agent-toolkit --skill c4-architecture 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/softaworks/agent-toolkit