一键导入
skill-planner
Đọc bản thiết kế kiến trúc (design.md) và lập kế hoạch triển khai chi tiết (todo.md).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Đọc bản thiết kế kiến trúc (design.md) và lập kế hoạch triển khai chi tiết (todo.md).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
BA Analyst.
Micro-skill khơi gợi, chuẩn hóa yêu cầu nghiệp vụ thô và lượng hóa NFR.
Hợp nhất và kiểm định chéo báo cáo BA.
Sync skills tu source (skills/rebuild/) den cac vi tri: workspace-level (.hermes/skills, .claude/skills) va user-level (~/.hermes/skills, ~/.claude/skills). Kich hoat khi user noi: "dong bo skill", "sync skill", "update skill", hoac "skill sau khi duoc update".
OWASP-based security review skill for sensitive AI Agent skills (auth/payment/upload)
Đóng vai trò Senior Google Code Reviewer, thực hiện đánh giá và nhận xét mã nguồn dựa trên Google Code Review Guidelines.
| name | skill-planner |
| description | Đọc bản thiết kế kiến trúc (design.md) và lập kế hoạch triển khai chi tiết (todo.md). |
| disable-model-invocation | true |
| user-invocable | true |
.skill-context/{skill-name}/design.md (required).skill-context/{skill-name}/todo.md../_shared/knowledge/framework.md (7 Zones, Pipeline, Anti-hallucination)../_shared/knowledge/case-system.md (CASE System specifications)../_shared/validators/check_status.py (Universal boot status checker)knowledge/format-standards.md (YAML/XML/Token rules)knowledge/architect.md (Load when: Step READ — audit design.md)knowledge/skill-packaging.md (Load when: Step ANALYZE — 3-tier breakdown)loop/plan-checklist.yaml (Before deliver — Quality Gate)loop/resume-checklist.yaml (Resuming checkpoint)Skill Planner is Phase 2 in the Master Skill Suite: Architect → Planner → Builder. It receives design.md from skill-architect and creates todo.md for skill-builder. It ONLY plans — no implementation code or architecture design is created here.
<output_contract> include:
### [skill-planner] Progress:
- [ ] Step READ — Đọc Input & Audit Tài nguyên
- [ ] Step ANALYZE — Phân tích 3 Tầng & Audit Kiến thức
- [ ] Step WRITE — Ghi todo.md
- [ ] Step VERIFY — Kiểm chứng & Đóng băng Kế hoạch
SKILL.md này toàn bộ.skill-context/{skill-name}/design.md tồn tại| phase | Position | Action |
|---|---|---|
| 0 | Fresh start | Proceed to Step READ |
| 1-3 | Resume available | Ask user: resume or restart? |
| 4 | Complete | Report: "Todo.md already exists. Use skill-builder." |
Planner sử dụng Multi-Perspective Analysis để phân tích design.md toàn diện:
| Perspective | Focus Area | Purpose |
|---|---|---|
| Perspective 1 | Domain Knowledge Audit | Đánh giá resources/ có đủ domain knowledge? |
| Perspective 2 | Technical Requirements | Phân tích tool, syntax, dependencies |
| Perspective 3 | Task Complexity | Ước lượng effort, phát hiện risks |
| Perspective 4 | Traceability | Đảm bảo every task → design section |
Sau khi phân tích từ 4 góc nhìn:
Master Design (REQUIRED): Refer to knowledge/architect.md (the 7-Zone framework reference) and read .skill-context/{skill-name}/design.md to understand the overarching standards.
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.
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.data/ zone (e.g., data/config.yaml, data/schema.json), create a Task for Builder to create data/ directory and populate these files per design specification.The file MUST contain exactly 6 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, priority, and trace tag.
MUST include `Phase 0: Resource Preparation` for missing domain documents.
**Table columns**: #, Task, Priority (Critical/High/Medium/Low), Est. Hours, Dependencies, Trace
## 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Õ].
## 6. Builder Feedback Integration
(Required only if there is upstream feedback to address)
Each task:
**Priority Guidelines**:
- **Critical**: Tasks that block other tasks or are core to skill functionality
- **High**: Important tasks that should be done early
- **Medium**: Standard tasks
- **Low**: Nice-to-have tasks, can be done later
**Est. Hours Guidelines**:
- 1-2 hours: Simple file creation
- 4-8 hours: Complex knowledge documents
- 8-16 hours: Full zone implementation
Dependency Detection:
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 clarificationresources/.
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.
guardrails:
G1_trace_required:
description: "Every item in todo.md MUST trace back to design.md §N"
must: "Use trace tag format [TỪ DESIGN §N]"
G2_label_sources:
description: "Mark sources explicitly"
must: "Use [TỪ DESIGN §N] / [GỢI Ý BỔ SUNG] / [TỪ AUDIT TÀI NGUYÊN]"
G3_no_inventing:
description: "Only DECOMPOSE the design — do NOT add new requirements"
must_not: "invent requirements not in design.md"
G4_ground_in_design:
description: "design.md is the ONLY ground truth"
must: "If unclear → Notes section with [CẦN LÀM RÕ]"
G5_resource_gate:
description: "Planner chỉ đánh dấu 'Complete' khi resources/ đã đủ cho Builder"
must: "All critical resources status: ✅ before ready_for_builder"
G6_format_compliance:
description: "Output phải tuân thủ format-standards.md"
must:
- use_yaml_for_constraints
- use_xml_tags_for_boundaries
- use_trace_tags_for_all_content
- follow_token_budget
must_not:
- output_missing_trace_tags
- use_placeholder_filenames_in_zone_mapping
- skip_format_validation
reject_if:
- missing_trace_tags
- missing_xml_boundaries
- missing_yaml_must_must_not
- token_budget_exceeded_without_justification
enforcement: hard
| Exit Code | Meaning | Action |
|---|---|---|
| 0 | PASS/Success | Continue to next step |
| 1 | FAIL | Fix issue, retry, or report |
| 2 | EMERGENCY | Stop immediately, report error |
design.md not found → Report error, suggest running Skill Architect first.knowledge/skill-packaging.md (relative to skill root)knowledge/architect.md (relative to skill root)[CẦN LÀM RÕ] tag.skill-builder instead.Input and output live in .skill-context/{skill-name}/ directory. This directory is created in the current working directory where the skill is invoked (typically the project root where you're working).
Location: <current-working-directory>/.skill-context/{skill-name}/
.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)