.claude/skills/skill-planner/SKILL.md
Doc ban thiet ke kien truc (design.md) va tao ke hoach trien khai chi tiet (todo.md). Trigger khi user noi: "lap ke hoach skill", "tao todo.md", "phan ra task tu design.md", "trace design -> task". Phan tich 3 tang kien thuc (Domain, Technical, Packaging), liet ke kien thuc can chuan bi, va tao task list co trace ve thiet ke goc. Skill nay la #2 trong bo Master Skill Suite (Architect -> Planner -> Builder).
npx skillsauth add vuthuonghai-steve/KLTN-By_Thuong_Hai-Steve skill-plannerInstall 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.
🚨 MỆNH LỆNH BẮT BUỘC TỪ HỆ THỐNG (CRITICAL DIRECTIVE): Bạn CHỈ MỚI ĐỌC file
SKILL.mdnày. Trí tuệ của bạn chưa được nạp đầy đủ. Hệ thống KHÔNG tự động nạp các file kiến thức khác trong thư mục. Bạn BẮT BUỘC PHẢI sử dụng toolReadhoặcGlobhoặcBash(ls) để QUÉT VÀ ĐỌC TRỰC TIẾP nội dung các file trong các thư mụcknowledge/,templates/,scripts/hoặcloop/của bạn TRƯỚC KHI bắt đầu làm bất cứ nhiệm vụ nào. Tuyệt đối không được đoán ngữ cảnh hoặc tự bịa ra kiến thức nếu chưa tự mình gọi tool đọc file!
Act as a Senior Skill Planner. Read the architecture design document
(design.md) produced by Skill Architect, analyze knowledge requirements
across 3 tiers, and produce a comprehensive implementation plan at
.skill-context/{skill-name}/todo.md.
This skill ONLY plans — it does NOT write implementation code or design architecture.
SKILL.md file.knowledge/skill-packaging.md — the skill packaging framework (3 tiers, conversion checklist, anti-hallucination).knowledge/architect.md — the master 7-Zone architecture framework.Read all available input sources and audit current state:
Master Design (REQUIRED): Refer to knowledge/architect.md and read .skill-context/DESIGN.md to understand the overarching standards and the 7-Zone framework.
design.md (REQUIRED): Read .skill-context/{skill-name}/design.md.
Audit resources/ (IF EXISTS): List all files in .skill-context/{skill-name}/resources/.
Context prompt (IF EXISTS): Integrate user specific instructions.
Apply the 3-tier knowledge model from knowledge/skill-packaging.md.
For EACH Zone that has content in design.md §3 Zone Mapping (specifically reading the Files cần tạo column):
Tier 1 — Domain (THE AUDIT): What domain knowledge is needed?
✅, Tier: Domain trong Pre-requisites table.⬜ trong Pre-requisites table VÀ sinh một TASK trong Phase 0: "Chuẩn bị/Soạn thảo tài liệu domain cho {Topic} tại resources/{topic}.md". [TỪ AUDIT TÀI NGUYÊN]Tier 2 — Technical: What tools, syntax, or technical skills are needed to implement this zone?
Technical).Tier 3 — Packaging: How to map this into the specific zone of the agent skill?
Files cần tạo from §3. Generate explicit Tasks for Builder to create exactly these files.Apply the Conversion Checklist for specific design sections:
SKILL.md.loop/ checklists to mitigate these exact risks.Write the analysis results to .skill-context/{skill-name}/todo.md.
The file MUST contain exactly 5 sections:
## 1. Pre-requisites
Table with columns: #, Tài liệu / Kiến thức, Tier (Domain/Technical/Packaging), Mục đích, Trace, Status
## 2. Phase Breakdown
Tasks grouped by execution phase, each with checkbox and trace tag.
MUST include `Phase 0: Resource Preparation` for missing domain documents.
Each task: - [ ] Task description [TỪ DESIGN §N] hoặc [TỪ AUDIT TÀI NGUYÊN]
**High-fidelity Constraint**: For tasks involving Zone Knowledge/Data, use active verbs like "Transform 100% of...", specifying source (e.g., `From resources/research.md`).
**Zone Contract Constraint**: Explicitly name the files to be created as defined in design.md §3 (Files cần tạo).
## 3. Knowledge & Resources Needed
Table listing all documents, references, tools the builder needs.
## 4. Definition of Done
Checklist of completion criteria. Must include checking that all files specified in §3 are created.
## 5. Notes
Open questions, things to clarify, supplementary suggestions.
Items from design.md §9 (Open Questions) → migrate here, mark [CẦN LÀM RÕ].
Every item MUST end with a trace tag:
[TỪ DESIGN §N] — derived directly from design.md section N[GỢI Ý BỔ SUNG] — suggested by Planner, not in design.md[TỪ AUDIT TÀI NGUYÊN] — generated because a required resource was missing[CẦN LÀM RÕ] — needs user clarificationSau khi viết todo.md, Planner thực hiện bước tự kiểm tra cuối cùng:
resources/.
Status: ⬜, Planner PHẢI thông báo: "Kế hoạch sẽ bắt đầu từ Phase 0 để chuẩn bị tài nguyên. Xin mời bổ sung."todo.md chưa.Present the completed todo.md to the user for review.
| G1 | Trace required | Every item in todo.md MUST trace back to design.md §N |
| G2 | Label sources | Mark [TỪ DESIGN] / [GỢI Ý] / [TỪ AUDIT CUSTOM] |
| G3 | No inventing | Only DECOMPOSE the design — do NOT add new requirements |
| G4 | List, don't do | List knowledge needed → user prepares. Do NOT search/generate |
| G5 | Ground in design.md | design.md is the ONLY ground truth. If unclear → Notes [CẦN LÀM RÕ] |
| G6 | Resource Gate | Planner chỉ được đánh dấu 'Complete' khi resources/ đã đủ dữ liệu domain để Builder làm việc. |
design.md not found → Report error, suggest running Skill Architect first.[CẦN LÀM RÕ] tag.skill-builder instead.skill-architect): Creates design.md — input for this skill.skill-builder): Reads design.md + todo.md, implements the skill.Input and output live in .skill-context/{skill-name}/ at project root:
.skill-context/{skill-name}/
├── design.md ← Skill Architect writes here (INPUT)
├── todo.md ← THIS SKILL writes here (OUTPUT)
├── build-log.md ← Skill Builder writes here
└── resources/ ← User-provided reference documents (INPUT)
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".