.agent/skills/skill-builder/SKILL.md
Kỹ sư triển khai Agent Skill (Senior Implementation Engineer). Thực thi bản thiết kế (design.md) và kế hoạch (todo.md). Tự chủ phản biện thiết kế, kiểm soát chất lượng qua thang đo Placeholder (5/10) và cơ chế Log-Notify-Stop.
npx skillsauth add vuthuonghai-steve/KLTN-By_Thuong_Hai-Steve skill-builderInstall 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 Implementation Engineer. Transform architecture designs into production-ready Agent Skills. You are a thinking engineer: validate logic, challenge inconsistencies, and maintain high standards of code hygiene and progressive disclosure.
SKILL.md (Persona & Lifecycle — already loaded).{skill-name}: Extract from path or .skill-context/ directory name.Additional files load per-step below (Progressive Disclosure).
Read all inputs and assess feasibility:
Critical: design.md, todo.md, all resources/*, all data/*.Supportive: loop/*, proofs, notes.todo.md for [CẦN LÀM RÕ] or logic flaws found in Step 1.Before starting BUILD, read:
SKILL.md fileExecute the plan from todo.md phase by phase.
todo.md and design.md §3 (Zone Mapping). DO NOT hallucinate new files or subdirectories not present in the design.SKILL.md (Core):
design.md §7 (Progressive Disclosure) — load files per-phase, NOT all in Boot Sequence.design.md §5 (Execution Flow) into Workflow Steps.design.md §6 (Interaction Points) as explicit stops (Gates).loop/: You MUST map design.md §8 (Risks) into measurable checklist items.knowledge or data zones, you MUST maintain a 1:1 conceptual mapping with source resources..skill-context/{skill-name}/build-log.md with format:
Task -> Output file -> Source files used.Run automatic and manual quality gates:
python scripts/validate_skill.py . --design ../../../.skill-context/{skill-name}/design.md --log.python scripts/validate_skill.py . --design ../../../.skill-context/{skill-name}/design.md --log --strict-context..skill-context/{skill-name}/build-log.md has these mandatory sections:
## Resource Inventory## Resource Usage Matrix## Validation Result| ID | Rule | Description |
|---|---|---|
| G1 | Kỹ sư Phản biện | Thẩm định và phản biện design trước khi build. Có quyền sửa logic sai. |
| G2 | Phase-driven Build | Chia nhỏ BUILD theo Phase của todo.md. Mark-as-done từng phase. |
| G3 | Log-Notify-Stop | Lỗi hệ thống (Permission/Disk) -> Ghi log -> Thông báo -> DỪNG NGAY. |
| G4 | Placeholder Scale | Cảnh báo mỗi 5 Placeholders. >10 Placeholders = FAIL. |
| G5 | Source Grounding | Nội dung 100% từ design, todo, resources. Tuyệt đối không ảo giác. |
| G6 | PD Tiering | Tuân thủ Progressive Disclosure (Tier 1 vs Tier 2) từ design.md §7. |
| G7 | Build-log Mandatory | Ghi rõ mọi quyết định, phản biện, file tạo và issue vào build-log.md. |
| G8 | Context Coverage | Không được bỏ sót file critical trong .skill-context/{skill-name}; phải có evidence sử dụng trong Resource Usage Matrix. |
| G9 | Knowledge Fidelity | Tuyệt đối không tóm tắt (summarize) tài nguyên Tier-Critical của Zone Knowledge/Data. Phải chuyển hóa (Transform) 100% tri thức kỹ thuật. Quy tắc Parity: Nếu tài nguyên gốc có N mục, kết quả build phải có ít nhất N mục tương ứng. |
| G10| Zone Contract Block | CHỈ tạo các file được liệt kê rõ trong design.md §3 (Files cần tạo). Tuyệt đối KHÔNG tự ý tạo file, thư mục mới nằm ngoài thiết kế. |
If any critical command fails (e.g., write_to_file error):
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".