Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

authoring-architecture-docs创作架构文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

514

周安装

21

GitHub Stars

5

下载量

165
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:authoring-architecture-docs(创作架构文档)
来源仓库:https://github.com/wizeline/sdlc-agents
仓库路径:skills/authoring-architecture-docs
安装命令:
npx skills add https://github.com/wizeline/sdlc-agents --skill authoring-architecture-docs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wizeline/sdlc-agents --skill authoring-architecture-docs

简介

产出架构决策记录与设计文档,支持 C4 模型图生成,按阶段与受众适配层级。

  • 遵循理解导向的文档原则,提供模板与评审检查项。
  • 适用于系统设计、技术选型与跨团队知识传递。
  • 安装需通过 npx skills add 添加 sdlc-agents 仓库中的 authoring-architecture-docs 技能。
  • 必须先加载 authoring-technical-docs 以继承通用工作流程与质量标准。

SKILL.md

Authoring Architecture Docs Action

Produces architecture decision records, design documents, and C4 Model diagrams scoped to the appropriate level for the current SDLC phase and audience — the understanding-oriented quadrant of the Diátaxis framework. Diagrams are scoped to the appropriate level for the current SDLC phase and audience.

Load authoring-technical-docs first for the multi-pass workflow, style rules, and quality framework. This action provides the templates and architecture-specific rules.


References

Read these before executing any step.

FileContains
references/notation.mdC4 abstractions, Mermaid element types, verb bank
references/level-rules.mdPer-level rules and forbidden elements
references/sdlc-mapping.mdSDLC phase → diagram selection, audience decision tree
references/anti-patterns.mdMistakes to detect and avoid

Assets

Use these as output scaffolding.

FileUse for
assets/architecture-doc.mdTop-level ARCHITECTURE.md structure
assets/diagram-templates.mdPer-level section templates (fill in placeholders)
assets/Architecture_Decision_Record_(ADR)_template.mdTemplate for Architecture Decision Records (ADRs)
assets/Design_document_template.mdTemplate for technical design documents
assets/System_architecture_template.mdTemplate for system architecture overviews

Workflow

Step 1 — Read references

Read all four files in references/ before any other action.

Step 2 — Gather project context

Extract from input. Ask only if a required field is missing.

FieldRequired for
System name and purposeAll levels
Users / personasL1+
External integrationsL1+
Tech stackL2+
SDLC phaseSelecting diagram levels
Target container name + source structureL3 only
Flow name and step-by-step descriptionDynamic only

Step 3 — Select diagram levels

Consult references/sdlc-mapping.md → Phase Matrix and Audience Decision Tree. State the selection and rationale before proceeding.

Step 4 — Produce each diagram

For each selected level, in order:

  1. Open assets/diagram-templates.md and copy the matching template section
  2. Fill every {{placeholder}} — leave none blank
  3. Apply all rules from references/level-rules.md for that level
  4. Scan output against references/anti-patterns.md
  5. Self-check against the Review Checklist in assets/architecture-doc.md

Step 5 — Assemble output document

Open assets/architecture-doc.md as the document scaffold. Insert completed diagram sections in level order: L1 → L2 → L3 → Deployment → Dynamic. Complete the Key Architectural Decisions table and Change Log.

Step 6 — Save files

docs/architecture/ARCHITECTURE.md
docs/architecture/diagrams/context.mermaid
docs/architecture/diagrams/container.mermaid
docs/architecture/diagrams/component-{{container_name}}.mermaid
docs/architecture/diagrams/deployment.mermaid
docs/architecture/diagrams/dynamic-{{flow_name}}.mermaid

Save only the files corresponding to the levels actually produced.


Inputs

  • Project description, README, or source code
  • SDLC phase (required)
  • Target container name and source structure (L3 only)
  • Flow name and steps (Dynamic only)

Outputs

  • ARCHITECTURE.md — full assembled documentation package
  • diagrams/*.mermaid — one file per diagram level produced

Architecture docs rules

  1. Separate "what is" from "what should be." Overviews describe current state. Design docs describe proposed future.
  2. Diagrams are not optional. Use Mermaid — it's version-controllable.
  3. Include the "why." Link to ADRs.
  4. Write for the new team member.
  5. Be honest about trade-offs. Every architecture has weaknesses. Document them.
  6. Link to code. When describing a component, link to the relevant repo or entry point.

Using Mermaid for diagrams

Accompany each diagram with a brief prose summary (2–4 sentences) explaining the key relationships shown.

System overview:

graph TB
    User[User] --> WebApp[Web Application]
    WebApp --> API[API Service]
    API --> DB[(Database)]
    API --> Queue[Message Queue]
    Queue --> Worker[Background Worker]
    Worker --> DB

Sequence diagram:

sequenceDiagram
    participant Client
    participant API
    participant DB
    Client->>API: POST /resources
    API->>DB: INSERT resource
    DB-->>API: resource_id
    API-->>Client: 201 Created

Example Triggers

  • "Generate a C4 context diagram for this project"
  • "Show me the container architecture"
  • "Document the components in the auth service"
  • "Create a class diagram for the payment module"

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.96%
按下载量换算56

Claude

29.63%
按下载量换算49

Cursor

20.54%
按下载量换算34

Gemini CLI

10.09%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills