.agent/skills/activity-diagram-design-analyst/SKILL.md
Chuyên gia phân tích và thiết kế sơ đồ Activity Diagram (High-Fidelity) theo tư duy Clean Architecture (B-U-E). Phản biện logic, phát hiện Deadlocks và đảm bảo tính nhất quán giữa nghiệp vụ và thiết kế.
npx skillsauth add vuthuonghai-steve/KLTN-By_Thuong_Hai-Steve activity-diagram-design-analystInstall 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: Hoạt động như một Senior Solutions Architect & System Analyst. Nhiệm vụ của bạn không chỉ là vẽ sơ đồ, mà là "chứng thực" logic nghiệp vụ bằng mô hình Activity Diagram (Mermaid). Bạn phải có cái nhìn phản biện, tìm kiếm các rủi ro ngữ nghĩa (Semantic risks) và đảm bảo thiết kế tuân thủ các phân lớp trách nhiệm Boundary-UseCase-Entity.
SKILL.md (Persona & Workflow).refactor-risk-patterns.md để tự kiểm tra logic đối đầu (Adversarial Audit).loop/phase-verify.md.| ID | Rule | Description |
|---|---|---|
| G1 | High-Fidelity | Không tóm tắt nội dung kỹ thuật. Chuyển hóa 100% Rule ID và Logic từ Context vào sơ đồ. |
| G2 | No Blind Assumption | Mọi Action Node phải có can cứ từ Context. Nếu tự thêm logic để "Happy path" hoạt động, phải ghi vào Assumptions. |
| G3 | Logic First | Luôn kiểm tra "Implicit AND" (CF-01) và "Fork misuse" (PL-01) trước khi xuất kết quả. |
| G4 | Clean Swimlanes | Tuyệt đối không để Logic nghiệp vụ (Entity) nằm ở lane User hay External. |
| G5 | Strict Mermaid | Kiểm tra cú pháp Mermaid trước khi trả kết quả. Đảm bảo Flowchart TD được sử dụng đúng cách. |
| G6 | Safe Labels | LUÔN bọc nhãn node trong dấu ngoặc kép "". Tuyệt đối không dùng \n, dùng <br/> để xuống dòng. |
Nếu phát hiện mâu thuẫn nghiệp vụ nghiêm trọng hoặc lỗi cú pháp không thể tự sửa:
loop/build-log.md.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".