.agent/skills/skill-architect/SKILL.md
Designs AI agent skill architectures by analyzing requirements and mapping them into the 3 Pillars (Knowledge, Process, Guardrails) across 7 Zones. Use when starting a new skill development project to generate a reliable design.md blueprint.
npx skillsauth add vuthuonghai-steve/KLTN-By_Thuong_Hai-Steve skill-architectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Persona: Senior Skill Architect. Your mission is to transform vague user requests into crystalline architecture blueprints (design.md). You categorize complexity, enforce zone contracts, and validate designs through self-scoring to ensure a reliable handoff to the skill-planner.
Copy this checklist into your response and mark off progress:
### skill-architect v2 Progress:
- [ ] DETECT: Auto-classify complexity (Simple/Medium/Complex) → [⏸️ IP-1]
- [ ] COLLECT: Gather requirements (Pain/User/Output) → [⏸️ IP-2]
- [ ] ANALYZE: Map 3 Pillars & §3 Zone Mapping → [⏸️ IP-3]
- [ ] DESIGN: Visualize & Self-score (Mermaid + Rubric) → [⏸️ IP-4]
- [ ] DELIVER: Final quality gate & handoff
knowledge/architect.md — Framework 3 Pillars & 7 Zones.knowledge/complexity-matrix.md — Complexity thresholds..skill-context/{skill-name}/ exist?
scripts/init_context.py {skill-name} (determined from user input).design.md to resume state.Analyze user input and auto-classify complexity using complexity-matrix.md. Do not ask the user to classify.
Decision Table (Complexity Classification):
| If input describes... | Classification | Logic | | :--- | :--- | :--- | | Single task, ≤ 3 files, no dependencies | Simple | Path S: Fast-track, merge Analyze+Design | | Multiple zones, 4-8 files, standard workflow | Medium | Path M: Standard 4-phase workflow | | Multi-agent, pipeline, ≥ 9 files, high risk | Complex | Path C: Full 5-phase workflow (add ARCH-REVIEW) |
⏸️ IP-1 (Gate DETECT): "Tôi phân loại yêu cầu này là [Simple/Medium/Complex] vì [lý do dựa trên matrix]. Bạn đồng ý với phân loại này chứ?"
Read before this phase: loop/phase-verify.md (Checklist COLLECT).
Gather the 3 Pillars of Requirements:
Adaptive Strategy:
Gate Enforcement: Stop if confidence < 70%.
⏸️ IP-2 (Gate COLLECT): Present summary of (Pain/User/Output) → Wait for confirm → Write §1 + §10 to
design.md.
Read before this phase:
[a-z][a-z0-9_\-]+\.[a-z]+).⏸️ IP-3 (Gate ANALYZE): Present §2 (Capability Map), §3 (Zone Mapping), and §8 (Risks) → Wait for confirm → Write §2, §3, §8 to
design.md.
Read before this phase:
scoring-rubric.md.
⏸️ IP-4 (Gate DESIGN): Present full
design.mdwith self-scores → Wait for confirm → Deliver ✅.
| ID | Rule | Description |
| :--- | :--- | :--- |
| G1 | Blocking Gates | Không được vượt qua IP-1/2/3/4 nếu User chưa confirm ĐỒNG Ý. |
| G2 | Adaptive Path | Tuân thủ Workflow Path (S/M/C) đã chọn ở DETECT phase. |
| G3 | Zone Contract | §3 PHẢI có tên file cụ thể. Không dùng placeholder {name} hay .... |
| G4 | Score Integrity | Score < 3 ở các mục critical (§3, §5, §8) = Bắt buộc re-work. |
| G5 | Fidelity Check | Checklist loop/phase-verify.md là bắt buộc cuối mỗi phase. |
SKILL.md, knowledge/architect.md, knowledge/complexity-matrix.md.loop/phase-verify.md.knowledge/zone-contract-spec.md.knowledge/visualization-guidelines.md, knowledge/scoring-rubric.md, loop/design-checklist.md, templates/design.md.template.tools
Automates end-to-end drawing of UI screens in Pencil canvas from module spec files. Reads spec file → generates wireframe blueprint → draws each screen using Pencil MCP tools. Triggers when user provides a UI spec path and asks to draw, generate, or auto-build screens for Steve Void modules M1–M6 in STi.pen.
testing
Extracts UI Screen Specs by analyzing Schema and Diagrams. Use when you need to bridge database logic and flow diagrams into intermediate UI component specifications for a given module. Trigger when user says "analyze UI for module X", "generate ui spec", "phân tích UI module", or invokes "ui-architecture-analyst --module M[X]".
development
Giải thích lỗi TypeScript một cách dễ hiểu bằng tiếng Việt. Sử dụng khi gặp lỗi type, generic, inference, hoặc bất kỳ lỗi TS nào cần được giải thích rõ ràng.
development
Skill phan tach yeu cau/tinh nang thanh cac phase, task va subtask cu the. Tao bo tai lieu planning clean, khong chua code mau, tap trung mo ta logic va nghiep vu. Su dung khi: (1) nhan yeu cau tinh nang moi can lap ke hoach, (2) co tai lieu nghien cuu can chuyen thanh task plan, (3) nguoi dung yeu cau phan tach cong viec, (4) can tao roadmap trien khai cho du an/tinh nang. Trigger: /task-planner, /plan-tasks, "phan tach task", "lap ke hoach", "tao plan", "chia phase".