Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Module: Agent-Led Project Planning, Scoping, and Execution Structuring
Module: Agent-Led Project Planning, Scoping, and Execution Structuring
1. Module Metadata
Module ID: agent.module.project-planning-scoping
Version: 1.0.0
Maturity: production
Scope: End-to-end agent-guided strategic planning, risk-aware work decomposition, dependency mapping, and execution phase structuring for any project type (full-stack systems, features, refactors, data pipelines, etc.)
Primary outcomes:
Shared understanding between agent and human on problem, constraints, and scope
Risk inventory and assumption mapping before execution
Deterministic execution plan organized by skill modules and dependency ordering
Clear phase boundaries with exit criteria and validation gates
Early escalation of scope creep or risk changes
2. Mission and Applicability
Use this module when an agent is tasked with planning any project, whether it's a new feature, full-stack system, refactor, migration, or incident response.
Apply when:
Agent needs to partner with a human to lock down strategy before execution
Work is complex enough to have multiple phases, dependencies, or risk vectors
Clarity on scope, constraints, and success is needed before diving into implementation
Work will consume multiple skill modules (database, testing, observability, etc.)
Do not apply directly when:
Task is single-function, single-file, or trivial (< 30 mins of work)
Scope and approach are already locked in writing (pre-approved spec exists)
Human is asking only for code review or small edits (use focused skills instead)
Agent asks: What are your hard constraints? (timeline, budget, team size, tech stack, compliance, regulatory)
Agent asks: What trade-offs matter most to you? (quality vs. speed, scope vs. polish, cost vs. capability, risk vs. simplicity)
Agent maps trade-offs: If timeline is tight, we prioritize core features over edge cases; if budget is constrained, we use open-source over managed services
Agent documents: Constraint table + trade-off priority order
Agent confirms: If we're forced to choose between these, should we prioritize X over Y?
Exit criteria:
All hard constraints (timeline, budget, team, tech) are documented and quantified
Trade-off hierarchy is explicit (what matters most when conflicts arise)
Team composition and availability is mapped (who is working on this, when)
Regulatory/compliance constraints are explicitly listed
Sub-phase A3: Scope Boundary
Agent proposes: Based on problem, constraints, and success criteria, here's what I think is in-scope vs. out-of-scope (provide concrete lists)
Human adjusts: I need to add X, remove Y, reprioritize Z
Agent identifies: These items could expand scope or create new dependencies: (risk flags)
Explicit process clarifies trade-offs and prevents chaos.
6. Validation Strategy
Discovery Validation
Problem statement is one paragraph, clear, and actionable
Success metrics are quantifiable, not aspirational
Constraints are listed and prioritized; trade-offs are explicit
Scope boundary is agreed by agent and human
Human has signed off: I agree with this understanding
Planning Validation
Risk inventory is ranked (top 3 risks are clear)
Dependency graph shows parallelizable work
Each phase is assigned 1–2 relevant SKILLS modules
Exit criteria for each phase are concrete and measurable
Agent and human agree: This plan is executable within constraints
Execution Validation
Phase exit criteria are met before advancing
New risks are surfaced and escalated within 24 hours of discovery
Scope change requests are triaged (yes/no/defer with trade-off explanation)
Checkpoints occur at phase boundaries; no silent handoffs
Failure-Mode Validation
If a phase fails: Rollback plan is executed; root cause is documented
If timeline slips: Trade-off hierarchy is consulted; scope is adjusted
If new risks emerge: Plan is revisited; escalation happens (not silent mitigation)
7. Benchmarks and SLO Targets
Metric
Target
Rationale
Discovery completion
< 1 week for most projects
Prevents analysis paralysis; lock strategy early
Planning completion
< 3 days after discovery
Execution plan should be ready before first line of code
Phase duration
1–2 weeks per phase (typical)
Longer phases are risky; shorter checkpoints catch issues faster
Risk escalation time
< 24 hours of discovery
New risks should surface quickly; silent problems are worst
Scope change decision time
< 48 hours of request
Delays create chaos; explicit yes/no/defer is better than indecision
Phase success rate
>= 90% phases meet exit criteria on first attempt
If lower, planning accuracy is poor; re-examine up-front work
Rollback execution time
<= 4 hours per phase
Rollback should be faster than continuing with broken work
8. Risks and Controls
Risk
Likelihood
Impact
Control
Analysis paralysis (discovery too long)
High
Medium
Set hard deadline for discovery (1 week max); use discovery doc template to keep focused
Scope creep (new features sneak in mid-project)
High
High
Explicit scope boundary in Phase A; checkpoint gates that require scope-change triage; escalate immediately
Hidden dependencies (phases blocked on undiscovered work)
Medium
High
Dependency graph must be explicit; agent asks "what could block this" for each phase
Risk blindness (risks not identified upfront)
Medium
High
Risk inventory should have 5–10 items; if fewer, agent probes deeper; escalate if major risk appears mid-project
Timeline slip (constant pushing of deadlines)
High
Medium
Critical path is explicit; escalation triggers are pre-agreed (if slip > 1 week, scope is cut); human is consulted before adjustment
Misalignment (agent and human disagree on plan)
Medium
Medium
Collaborative discovery (both voices); explicit sign-off on discovery doc; checkpoint reviews before advancing
9. Agent Execution Checklist
Discovery Phase
Problem statement is documented and one paragraph
Primary stakeholders and their goals are named
3–5 success metrics are defined and quantifiable
All hard constraints (timeline, budget, team, tech, compliance) are listed
Trade-off hierarchy is explicit and prioritized
Scope boundary is documented (in-scope, out-of-scope, assumptions)
Human has reviewed and approved the discovery document
Scope-creep risks are identified and flagged
Planning Phase
Risk inventory has 5–10 ranked items with mitigation strategies
Dependency graph shows what depends on what; critical path is identified
Parallelizable work is clustered; sequential bottlenecks are flagged
Each phase is assigned 1–2 relevant SKILLS modules
Phases respect dependency order and skill prerequisites
Each phase has explicit exit criteria (measurable, not vague)
Rollback plan exists for each phase
Execution plan is documented and human has reviewed
Human has confirmed: This plan is executable within constraints
Execution Phase
Phase exit criteria are validated before advancing
New risks are discovered and escalated within 24 hours
Scope change requests are triaged (yes/no/defer with trade-off explanation)
Checkpoints occur at phase boundaries
Phase success rate is tracked (>= 90% should meet exit criteria on first attempt)
Rollback is executed if a phase fails; root cause is documented
Escalation triggers are monitored (timeline slip, budget burn, resource unavailability)
10. Reuse Notes
This module is foundational for all projects. Adapt:
Discovery depth — Simple features may skip sub-phase A3 (scope is obvious); complex systems should expand each sub-phase
Risk inventory size — Small projects: 3–5 risks; large projects: 10–15 risks
Phase duration — Adjust based on project size (1-week phases for small projects, 2–4 week phases for large systems)
Checkpoint frequency — Weekly for high-risk projects; bi-weekly for stable projects
SKILLS module assignments — Substitute domain-specific modules based on the actual work (this template shows examples; your project will have different modules)
Do NOT adapt:
The three-stage structure (Discovery → Planning → Execution)
The requirement for explicit scope boundary and trade-off hierarchy
Checkpoint gates at phase boundaries
Risk escalation within 24 hours
Explicit rollback plans for each phase
These are non-negotiable patterns that prevent silent failures and scope chaos.