create-plan – skill Lập trình cho agent AI
Tạo một kế hoạch ngắn gọn. Dùng khi người dùng yêu cầu rõ ràng một kế hoạch cho tác vụ lập trình.
Cài skill create-plan bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/create-plan-ce4c1.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /create-plan – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/create-plan-ce4c1.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $create-plan – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/create-plan-ce4c1.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /create-plan – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/create-plan-ce4c1.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /create-plan – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Create Plan
Goal
Turn a user prompt into a single, actionable plan delivered in the final assistant message.
Minimal workflow
Throughout the entire workflow, operate in read-only mode. Do not write or update files.
1. Scan context quickly
- Read
README.mdand any obvious docs (docs/,CONTRIBUTING.md,ARCHITECTURE.md). - Skim relevant files (the ones most likely touched).
- Identify constraints (language, frameworks, CI/test commands, deployment shape).
2. Ask follow-ups only if blocking
- Ask at most 1–2 questions.
- Only ask if you cannot responsibly plan without the answer; prefer multiple-choice.
- If unsure but not blocked, make a reasonable assumption and proceed.
3. Create a plan using the template below
- Start with 1 short paragraph describing the intent and approach.
- Clearly call out what is in scope and what is not in scope in short.
- Then provide a small checklist of action items (default 6–10 items).
- Each checklist item should be a concrete action and, when helpful, mention files/commands.
- Make items atomic and ordered: discovery → changes → tests → rollout.
- Verb-first: “Add…”, “Refactor…”, “Verify…”, “Ship…”.
- Include at least one item for tests/validation and one for edge cases/risk when applicable.
- If there are unknowns, include a tiny Open questions section (max 3).
4. Do not preface the plan with meta explanations; output only the plan as per template
Plan template (follow exactly)
# Plan
<1–3 sentences: what we’re doing, why, and the high-level approach.>
## Scope
- In:
- Out:
## Action items
[ ] <Step 1>
[ ] <Step 2>
[ ] <Step 3>
[ ] <Step 4>
[ ] <Step 5>
[ ] <Step 6>
## Open questions
- <Question 1>
- <Question 2>
- <Question 3>Checklist item guidance
Good checklist items:
- Point to likely files/modules: src/..., app/..., services/...
- Name concrete validation: “Run npm test”, “Add unit tests for X”
- Include safe rollout when relevant: feature flag, migration plan, rollback note
Avoid:
- Vague steps (“handle backend”, “do auth”)
- Too many micro-steps
- Writing code snippets (keep the plan implementation-agnostic)
Skill liên quan
- code-review-and-quality – Thực hiện đánh giá mã nguồn đa chiều. Dùng trước khi merge bất kỳ thay đổi nào. Dùng khi…
- active-directory-attacks – Đánh giá các đường tấn công Active Directory bằng cách rà soát cấu hình trong phạm vi…
- address-github-comments – Dùng khi cần xử lý các bình luận review hoặc issue trên Pull Request GitHub đang mở bằng…
- architecture-decision-records – Viết và duy trì Architecture Decision Records (ADR) theo các thực hành tốt nhất để ghi…
- architecture-patterns – Triển khai các mẫu kiến trúc backend đã được kiểm chứng như Clean Architecture…
- gh-address-comments – Hỗ trợ xử lý các bình luận review/issue trên PR GitHub đang mở của nhánh hiện tại bằng…
- airtable – API REST của Airtable qua curl. CRUD bản ghi, bộ lọc, upsert.
- claude-api – Tài liệu tham khảo cho Claude API / Anthropic SDK — model id, giá, tham số, streaming…