Agent skill
plan
Use when the user wants to plan a feature, design an implementation approach, or break down a complex task before coding.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/plan-huzaifa525-claude-code-optimize
SKILL.md
Create an implementation plan for: $ARGUMENTS
Steps
-
Understand the requirement — break down what needs to be built
-
Explore the codebase — find related code, patterns, and conventions
-
Identify all changes needed:
- New files to create
- Existing files to modify
- Tests to add
- Config changes
-
Map dependencies — what must be done before what
-
Output structured plan:
## Implementation Plan: [feature]
### Overview
[1-2 sentence description of what will be built]
### Tasks
#### Phase 1: [Foundation]
- [ ] Task 1: [description]
- Files: [file1, file2]
- Pattern: follow [existing-file] as reference
- [ ] Task 2: [description]
- Files: [file1]
- Depends on: Task 1
#### Phase 2: [Core Logic]
- [ ] Task 3: [description]
- Files: [file1, file2, file3]
- Depends on: Task 1, Task 2
#### Phase 3: [Testing & Polish]
- [ ] Task 4: Write tests
- Files: [test files]
- Depends on: Phase 2
- [ ] Task 5: Update docs
- Files: [CLAUDE.md, README]
### Files Map
| File | Action | Purpose |
|------|--------|---------|
| [path] | Create/Modify | [what changes] |
### Reference Code
- [existing-file] → follow this pattern for [X]
- [existing-file] → follow this pattern for [Y]
### Risks
- [potential issues and mitigations]
### Estimated Scope
- [X] files to create
- [Y] files to modify
- [Z] tests to add
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?