来源信息
- 仓库
- pluginagentmarketplace/custom-plugin-software-architect
- 最近来源活动
- 2025年12月30日 12:45
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 1
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
菜单
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-software-architect --skill architecture-documentation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Make and document architecture decisions using structured frameworks
基于 SOC 职业分类
正在显示 SKILL.md
| name | architecture-documentation |
| description | Create and maintain architecture documentation using standard formats |
| version | 2.0.0 |
| sasmp_version | 1.3.0 |
| bonded_agent | 02-architecture-documentation |
| bond_type | PRIMARY_BOND |
| last_updated | 2025-01 |
Generate architecture documentation in standard formats including ADRs, C4 diagrams, and technical specifications with consistent structure and quality.
| Parameter | Type | Required | Validation | Default |
|---|---|---|---|---|
doc_type | enum | ✅ | adr|c4|sequence|overview | - |
context | string | ✅ | min: 20 chars | - |
format | enum | ⚪ | markdown|mermaid|plantuml | markdown |
audience | enum | ⚪ | technical|executive|mixed | technical |
detail_level | enum | ⚪ | overview|detailed | detailed |
┌──────────────────────────────────────────────────────────┐
│ 1. VALIDATE: Check doc_type and context │
│ 2. SELECT: Choose appropriate template │
│ 3. GATHER: Extract relevant information │
│ 4. GENERATE: Create documentation content │
│ 5. FORMAT: Apply output format (Mermaid, etc.) │
│ 6. VALIDATE: Check completeness and consistency │
│ 7. RETURN: Deliver formatted document │
└──────────────────────────────────────────────────────────┘
| Error | Retry | Backoff | Max Attempts |
|---|---|---|---|
TEMPLATE_ERROR | Yes | 1s | 2 |
VALIDATION_FAILED | No | - | 1 |
FORMAT_ERROR | Yes | 500ms | 3 |
log_points:
- event: doc_generation_started
level: info
data: [doc_type, format]
- event: doc_generation_complete
level: info
data: [doc_type, size_bytes, completeness_score]
- event: validation_warning
level: warn
data: [missing_sections]
metrics:
- name: docs_generated
type: counter
labels: [doc_type]
- name: generation_time_ms
type: histogram
- name: completeness_score
type: gauge
| Error Code | Description | Recovery |
|---|---|---|
E101 | Missing context | Request system/decision context |
E102 | Invalid doc_type | Show available doc types |
E103 | Inconsistent content | Flag for review |
E104 | Diagram syntax error | Validate and fix Mermaid/PlantUML |
test_cases:
- name: "Generate ADR"
input:
doc_type: "adr"
context: "Choosing PostgreSQL for user data"
format: "markdown"
expected:
contains: ["## Status", "## Decision", "## Consequences"]
valid_markdown: true
- name: "Generate C4 Container Diagram"
input:
doc_type: "c4"
context: "E-commerce platform with React, Node.js, PostgreSQL"
format: "mermaid"
expected:
contains: ["C4Container", "Container(", "Rel("]
valid_mermaid: true
- name: "Invalid doc_type"
input:
doc_type: "invalid"
expected:
error_code: "E102"
| Symptom | Root Cause | Resolution |
|---|---|---|
| Incomplete ADR | Missing decision context | Add context, alternatives |
| Diagram won't render | Syntax error | Validate Mermaid syntax |
| Wrong audience level | Mismatched detail | Adjust detail_level param |
□ Is doc_type supported?
□ Is context sufficient for doc type?
□ Is format appropriate for target?
□ Are all required sections present?
□ Is Mermaid/PlantUML syntax valid?
# ADR-{NUMBER}: {TITLE}
## Status
{Proposed | Accepted | Deprecated | Superseded}
## Context
{Problem description}
## Decision
{What was decided}
## Consequences
### Positive
- {Benefit}
### Negative
- {Trade-off}
C4Container
title {System Name}
Person(user, "User")
Container(app, "Application", "Technology")
ContainerDb(db, "Database", "Technology")
Rel(user, app, "Uses")
Rel(app, db, "Reads/Writes")
| Component | Trigger | Data Flow |
|---|---|---|
| Agent 02 | Doc request | Receives context, returns formatted doc |
| Agent 01 | ADR trigger | Receives decision for documentation |
| Version | Date | Changes |
|---|---|---|
| 2.0.0 | 2025-01 | Production-grade: templates, tests, validation |
| 1.0.0 | 2024-12 | Initial release |