Planning

From CongDon1207/AGENTS.md · View interactive version

Planning is an AI agent skill from the GitHub repository CongDon1207/AGENTS.md. Use when you need to plan technical solutions that are scalable, secure, and maintainable.

How to use this skill

Skill file

Planning

Create detailed technical implementation plans through research, codebase analysis, solution design, and comprehensive documentation.

When to Use

Use this skill when:

Core Responsibilities & Rules

Always honoring YAGNI, KISS, and DRY principles.

Be honest, be brutal, straight to the point, and be concise.

1. Research & Analysis

Load: references/research-phase.md

Skip if: Provided with researcher reports

2. Codebase Understanding

Load: references/codebase-understanding.md

Skip if: Provided with scout reports

3. Solution Design

Load: references/solution-design.md

4. Plan Creation & Organization

Load: references/plan-organization.md

5. Task Breakdown & Output Standards

Load: references/output-standards.md

Workflow Process

  1. Initial Analysis → Read codebase docs, understand context
  2. Research Phase → Spawn researchers, investigate approaches
  3. Synthesis → Analyze reports, identify optimal solution
  4. Design Phase → Create architecture, implementation design
  5. Plan Documentation → Write comprehensive plan
  6. Review & Refine → Ensure completeness, clarity, actionability

Output Requirements

Plan Directory Structure

plans/
└── {date}-plan-name/
    ├── research/
    │   ├── researcher-XX-report.md
    │   └── ...
    ├── reports/
    │   ├── XX-report.md
    │   └── ...
    ├── scout/
    │   ├── scout-XX-report.md
    │   └── ...
    ├── plan.md
    ├── phase-XX-phase-name-here.md
    └── ...

Active Plan State

Prevents version proliferation by tracking current working plan via session state.

Active vs Suggested Plans

Check the ## Plan Context section injected by hooks:

Rules

  1. If "Plan:" shows a path: Ask "Continue with existing plan? [Y/n]"
  2. If "Suggested:" shows a path: Inform user, ask if they want to activate or create new
  3. If "Plan: none": Create new plan using naming from ## Naming section

Report Output Location

All agents writing reports MUST:

  1. Check ## Naming section injected by hooks for the computed naming pattern
  2. Active plans use plan-specific reports path
  3. Suggested plans use default reports path (not plan folder)

Important: Suggested plans do NOT get plan-specific reports - this prevents pollution of old plan folders.

Quality Standards

Remember: Plan quality determines implementation success. Be comprehensive and consider all solution aspects.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.