一键导入
archrip-update
Update or refine the architecture diagram
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update or refine the architecture diagram
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scan codebase and generate architecture diagram data
Review codebase for DRY (duplication) issues
Review error handling consistency and debuggability
Review schema as a single source of truth (Schema-first)
Review codebase for SRP (Single Responsibility) and boundaries
Review supply-chain and code-execution risks
| name | archrip-update |
| description | Update or refine the architecture diagram |
| user-invocable | true |
| argument-hint | [changes or instructions] |
Read .archrip/architecture.json and update it.
If $ARGUMENTS is empty:
git diff --name-only HEAD~10 to find changed files.archrip/architecture.json.archrip/architecture.jsonIf $ARGUMENTS is provided, apply the user's requested changes:
Write the updated .archrip/architecture.json.
When adding or splitting nodes, follow the same rules as the scan skill:
port node in the application core; every implementation becomes an adapter node that implements the port. Use cases depend on the port, not the adapter. See archrip-scan/schema-reference.md → Repository → Port pattern.implements edges flow adapter → port. Never point them at entities, adapters, or databases — that signals a missing port abstraction. See archrip-scan/schema-reference.md → Edge type semantics.After writing the file, run npx archrip serve in the terminal to rebuild and preview the updated diagram.
$ARGUMENTS