planning

Structured approach for complex task execution.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "planning" with this command: npx skills add alicoder001/agent-skills/alicoder001-agent-skills-planning

Planning Strategies

Structured approach for complex task execution.

Instructions

  1. Task Decomposition

Break large tasks into manageable subtasks:

flowchart TD A[Complex Task] --> B[Subtask 1] A --> C[Subtask 2] A --> D[Subtask 3] B --> E[Sub-subtask 1.1] B --> F[Sub-subtask 1.2]

Task Breakdown Template

Main Goal: [Description]

Phase 1: Research

  • Understand requirements
  • Explore existing code
  • Identify dependencies

Phase 2: Implementation

  • Create types/interfaces
  • Implement core logic
  • Add error handling

Phase 3: Verification

  • Test functionality
  • Check edge cases
  • Review code quality
  1. Dependency Analysis

Before execution, identify dependencies:

// Dependency Graph Example const taskDependencies = { 'create-api': [], // Independent 'create-types': [], // Independent 'create-service': ['create-types'], // Depends on types 'create-controller': ['create-service'], // Depends on service 'write-tests': ['create-controller'], // Depends on controller };

  1. Execution Order

Execution Strategy

  1. Parallel Tasks: Independent tasks first

  2. Sequential Tasks: Follow dependency order

  3. Validation Points: Verify after each phase

  4. Rollback Plan: Know how to undo

  5. Goal-Oriented Planning

SMART Goals

  • Specific: Clear, unambiguous objective
  • Measurable: Quantifiable success criteria
  • Achievable: Realistic within constraints
  • Relevant: Aligned with user needs
  • Time-bound: Has clear completion point
  1. Adaptive Re-Planning

When plans fail, adapt:

Re-Planning Protocol

  1. Detect: Identify the blocker
  2. Analyze: Why did the plan fail?
  3. Adapt: Modify the approach
  4. Continue: Resume with new plan

Common Blockers

BlockerResponse
Missing dependencyInstall or find alternative
Type errorFix types first
API unavailableMock or wait
Unclear requirementAsk user
  1. Progress Tracking

Progress Template

Task: [Name]

  • Status: 🟡 In Progress
  • Progress: 3/7 steps complete
  • Blockers: None
  • ETA: 2 more tool calls

Completed

  • Step 1: Research
  • Step 2: Types
  • Step 3: Core logic

Remaining

  • Step 4: Error handling
  • Step 5: Tests
  • Step 6: Documentation
  • Step 7: Review
  1. Risk Assessment

Risk Matrix

RiskProbabilityImpactMitigation
Breaking changeMediumHighTest thoroughly
Performance issueLowMediumProfile if needed
Type mismatchHighLowUse strict mode

References

  • Hierarchical Task Network

  • Goal-Oriented Action Planning

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

solid

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

reasoning

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review