원클릭으로
planning-agent
Planning Agent. Use when relevant to this domain.
메뉴
Planning Agent. Use when relevant to this domain.
Code Agent. Use when relevant to this domain.
Deploy Agent. Use when relevant to this domain.
Research Agent. Use when relevant to this domain.
Review Agent. Use when relevant to this domain.
Browser automation with AI — Playwright, Puppeteer, browser-use library. Navigate, extract, interact with web pages autonomously
Autonomous coding agent that works like Cursor AI. Plans, researches, writes code, runs tests, and iterates until tasks are complete.
| name | planning-agent |
| description | Planning Agent. Use when relevant to this domain. |
| domain | agents |
Autonomous planning agent that decomposes complex tasks into executable, ordered steps with clear dependencies, risk assessments, and verification criteria. Plans that cannot be followed are not plans -- they are fantasies.
code-agent after planning)review-agent)research-agent)deploy-agent)systematic-debugging)Follow these steps in order. Each step builds on the previous one.
Transform vague requests into concrete requirements:
## Requirements
Transform vague requests into concrete, verifiable requirements.
### Input
- [Original request, verbatim]
### Interpreted Requirements
1. [Concrete requirement derived from input]
2. [Concrete requirement]
3. [Concrete requirement]
### Assumptions
- [What we assume but have not confirmed]
- [What we assume]
### Out of Scope (explicitly excluded)
- [What this plan does NOT cover]
- [What this plan does NOT cover]
### Questions to Resolve Before Starting
- [ ] [Question that blocks planning]
- [ ] [Question that blocks implementation]
Understand what exists before planning what to build:
## Current State
Understand what exists before planning what to build.
### Existing Code
- [File/module] - [what it does now]
- [File/module] - [what it does now]
### Existing Patterns
- [Pattern used in codebase for similar work]
- [Convention for naming/structure/error handling]
### Dependencies
- [External service/library] - [how it is used]
- [Internal module] - [what depends on it]
### Constraints
- [Technical constraint: language version, framework, etc.]
- [Business constraint: deadline, budget, compliance]
- [Infrastructure constraint: hosting, scaling, deployment]
For non-trivial changes, document the approach before decomposing:
## Approach Decision
Document the chosen approach and the alternatives considered.
### Options Considered
1. **Option A**: [description]
- Pros: [benefits]
- Cons: [costs/risks]
- Effort: S/M/L/XL
2. **Option B**: [description]
- Pros: [benefits]
- Cons: [costs/risks]
- Effort: S/M/L/XL
### Selected: Option [X]
- **Rationale**: [why this option wins]
- **Risks accepted**: [what we knowingly trade off]
Break work into atomic, ordered steps. Each step must be independently verifiable.
## Execution Plan
Break work into atomic, ordered steps with verification criteria.
### Phase 1: Foundation (must complete before Phase 2)
- [ ] **1.1** [Task] -- [files to touch] -- [effort: hours]
- Depends on: nothing
- Verification: [how to confirm this step is done]
- Risk: LOW | MEDIUM | HIGH
- Rollback: [how to undo if this fails]
- [ ] **1.2** [Task] -- [files to touch] -- [effort: hours]
- Depends on: 1.1
- Verification: [test command, manual check, etc.]
- Risk: LOW | MEDIUM | HIGH
- Rollback: [how to undo]
### Phase 2: Implementation (depends on Phase 1)
- [ ] **2.1** [Task] -- [files to touch] -- [effort: hours]
- Depends on: 1.1, 1.2
- Verification: [how to confirm]
- Risk: LOW | MEDIUM | HIGH
### Phase 3: Integration (depends on Phase 2)
- [ ] **3.1** [Task] -- [files to touch] -- [effort: hours]
- Depends on: 2.1, 2.2
- Verification: [integration test, manual check]
### Phase 4: Cleanup (depends on Phase 3)
- [ ] **4.1** [Remove old code / update docs]
- Depends on: 3.1
- Verification: [no dead code remaining]
Every plan has risks. Name them before they bite:
## Risk Register
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|------------|
| API breaking change in dependency | LOW | HIGH | Pin version, test in isolation |
| Data migration corrupts records | MEDIUM | CRITICAL | Dry-run on copy, checksum validation |
| Performance regression under load | MEDIUM | MEDIUM | Benchmark before/after, set thresholds |
| Scope creep from ambiguous requirements | HIGH | MEDIUM | Lock scope after Phase 1, defer extras |
Identify which steps can run concurrently (for multi-agent execution):
## Parallelization
Key aspects of planning-agent relevant to this section.
### Can run in parallel:
- Group A: [1.1, 1.3] (independent files)
- Group B: [2.1, 2.2, 2.3] (independent modules)
### Must be sequential:
- 1.1 -> 2.1 (schema before API)
- 2.1 -> 3.1 (implementation before tests)
### Critical path:
1.1 -> 2.1 -> 3.1 -> 4.1 (estimated: X hours)
Reusable patterns that appear frequently when applying this skill.
1. Add type definitions / interfaces
2. Implement core logic with unit tests
3. Wire into existing system (API route, CLI command, hook)
4. Add integration tests
5. Update documentation
6. Clean up any temporary scaffolding
1. Add tests for current behavior (if missing)
2. Create new implementation alongside old (strangler fig)
3. Add feature flag / toggle between old and new
4. Migrate callers one by one, testing each
5. Remove old implementation
6. Remove feature flag
1. Audit current state (data volume, dependencies, callers)
2. Create migration scripts with dry-run mode
3. Test migration on copy of production data
4. Run migration in staging
5. Validate data integrity (checksums, counts, spot checks)
6. Run migration in production with rollback plan
7. Validate production data
8. Remove old system after bake period
| Complexity | Description | Hours |
|---|---|---|
| Trivial | Single file, obvious change | 0.5-1 |
| Simple | 2-3 files, clear pattern to follow | 1-3 |
| Medium | 5-10 files, some design decisions | 3-8 |
| Complex | 10+ files, cross-cutting changes | 8-20 |
| Epic | Multiple systems, architecture decisions | 20+ (decompose further) |
| Rationalization | Reality |
|---|---|
| "I do not need a plan for this" | Plans prevent rework. 30 minutes planning saves 3 hours of wrong-direction coding. |
| "The plan will change anyway" | Plans are living documents. Update them as you learn. A changing plan beats no plan. |
| "I can keep it all in my head" | You cannot. Write it down. Plans enable collaboration, context switching, and recovery from interruptions. |
| "This is too simple to decompose" | If a task takes >2 hours, it has hidden complexity. Decompose it. |
| "Just start coding and figure it out" | Unplanned implementation discovers problems late when they are expensive to fix. |
| "Estimation is impossible" | Rough estimation beats no estimation. T-shirt sizes (S/M/L/XL) are better than nothing. |
After completing a plan, confirm: