بنقرة واحدة
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