Technical planning

From ratacat/claude-skills · View interactive version

Technical planning is an AI agent skill from the GitHub repository ratacat/claude-skills. Plans technical projects with risk-first development, milestone structuring, and managed deferral. Use when planning software projects, defining milestones, structuring development phases, or breaking down complex tasks into manageable iterations.

How to use this skill

Skill file

Technical Planning

Core Principles

Focus on "What" Not "How": Define deliverable outcomes, not implementation details. Specify constraints and success criteria, but leave implementation choices flexible.

Last Responsible Moment: Defer decisions until you have enough information to make them well, but not so late that they block progress. Make reversible decisions quickly; delay irreversible ones until necessary.

Risk-First Development: Address highest-risk technical challenges first. Build proof-of-concepts before full implementation. Ship working but imperfect solutions to validate core assumptions early.

Managed Deferral: Explicitly document what's being deferred and when it will be addressed. Distinguish between core value delivery and polish/optimization.

Progress Tracking with TodoWrite

Use TodoWrite to track planning progress through the four phases:

  1. At start: Create todos for each phase:

```

☐ Phase 1: Requirements & Risk Analysis

☐ Phase 2: Milestone Planning

☐ Phase 3: Implementation Strategy

☐ Phase 4: Execution Framework

```

  1. During planning: Mark phases in_progress → completed as you work through them. Add sub-todos for key deliverables:

```

☐ Extract core requirements (2-3 user journeys)

☐ Identify technical risks (high/integration/performance/architecture)

☐ Define milestones with success criteria

☐ Document deferred items with rationale

```

  1. For complex projects: Track clarifying questions and their resolutions as todos - prevents proceeding with incomplete information

Decision Timing Framework

Decide Early (Requirements Phase):

Defer to Implementation (Execution Phase):

Why: Early decisions should enable work without locking in details. Implementation decisions become clearer with hands-on experience and often reveal better alternatives than upfront planning suggests.

Agent Guidelines

Seek Clarity Before Proceeding: Never assume unclear requirements, technical constraints, or business priorities. Only proceed when you have 80%+ confidence on critical aspects. Ask specific questions about:

Phase 1: Requirements & Risk Analysis

Prerequisites Check

Verify:

Extract Core Requirements

  1. Identify fundamental user problems being solved
  2. Map primary user journeys (focus on 2-3 critical paths)
  3. Define project success metrics

Identify Technical Risks

  1. High-Impact Risks: Technical unknowns that could invalidate the approach
  2. Integration Risks: External system dependencies and compatibility concerns
  3. Performance Risks: Scalability bottlenecks and algorithmic challenges
  4. Architecture Risks: Fundamental design decisions with broad implications

Risk Prioritization Matrix

Phase 2: Milestone Planning

Prerequisites Check

Verify:

Milestone Structure

For Each Milestone, Define:

Goal: One-sentence description of milestone outcome

Core Tasks: 4-6 main implementation tasks following Last Responsible Moment principle:

Success Criteria:

Risk Mitigation: Specific unknowns to be resolved in this milestone

Deferred Items: What's intentionally left out and target milestone for inclusion

Task Breakdown Guidelines

When breaking down tasks, provide guidance not prescription:

✓ Good Task Definition (outcome-focused):

✗ Poor Task Definition (overly prescriptive):

Why: Good definitions let the implementer choose the best approach based on what they learn. Poor definitions lock in choices before understanding the context, often leading to rework.

Example Milestone Definition

Goal: Validate user authentication and basic data retrieval from external API

Core Tasks:

  1. Implement OAuth flow with provider
  2. Create user session management
  3. Build API client with error handling
  4. Add basic user profile display

Success Criteria:

Risk Mitigation: Confirm API rate limits and response time under load

Deferred: Advanced profile features, password reset flow (Milestone 3)

Phase 3: Implementation Strategy

Development Approach

Technology Selection Criteria

  1. Team Expertise: Prefer technologies your team knows well
  2. Proven Reliability: Choose mature, battle-tested options for core systems
  3. Integration Capability: Ensure compatibility with existing tools/systems
  4. Scalability Path: Technology should support anticipated growth

Quality Gates

Phase 4: Execution Framework

Sprint Planning

  1. Risk Assessment: Identify unknowns in upcoming work
  2. Exploration Time: Reserve 20-30% of sprint for prototyping/learning
  3. Definition of Done: Must include working functionality, not just completed code
  4. Continuous Validation: Regular stakeholder feedback on core user journeys

Deferral Management

Documentation Requirements

Decision Framework for Agents

IF project has unknown technical feasibility → Schedule proof-of-concept in Milestone 1

IF project requires external integrations → Test minimal integration in first milestone

IF project has performance requirements → Establish benchmarks and test core algorithms early

IF team lacks expertise in chosen technology → Include learning/exploration time in early milestones

IF project has tight deadlines → Focus on minimum viable success criteria and defer polish

IF project is greenfield → Spend extra time on architecture decisions and foundational setup

IF project is enhancement → Focus on integration points and backward compatibility

When Unclear - Ask These Questions

WHEN requirements are vague → "What specific user problem does this solve? How will we measure success?"

WHEN technical scope is undefined → "What are the must-have vs. nice-to-have technical capabilities?"

WHEN timeline is unrealistic → "What are the non-negotiable deadlines and what flexibility exists?"

WHEN team capabilities are unknown → "What technologies does the team have experience with? What are the skill gaps?"

WHEN integration points are unclear → "What existing systems must this connect to? What are the data formats and API constraints?"

WHEN performance needs are unspecified → "What are the expected user loads and response time requirements?"

WHEN success criteria are missing → "How will we know this milestone is complete and successful?"

Common Pitfalls to Avoid

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.