plan-work

Nymbo's avatarfrom Nymbo

Plan work before coding: do repo research, analyze options/risks, and ask clarifying questions before proposing an implementation plan. Use when the user asks for a plan, design/approach, scope breakdown, or implementation steps.

⭐1stars🔀0forks📁View on GitHub🕐Updated Dec 20, 2025

When & Why to Use This Skill

The Plan-Work skill enables Claude to perform comprehensive repository research and risk assessment before any code is written. It ensures that implementation strategies are technically sound, grounded in the existing codebase, and free of ambiguity by enforcing a structured workflow of research, analysis, and stakeholder clarification. This proactive approach minimizes technical debt and prevents costly mid-development pivots.

Use Cases

  • Architecting Complex Features: Breaking down high-level requirements into detailed, actionable implementation steps while maintaining consistency with existing code patterns and symbols.
  • Legacy System Integration: Researching entry points and dependencies in large repositories to ensure new changes don't introduce regressions or break backward compatibility.
  • Technical Risk Assessment: Identifying potential performance bottlenecks, security concerns, or data migration risks during the design phase to provide a robust implementation roadmap.
  • Requirement Clarification: Systematically identifying 'unknowns' and asking targeted questions to align on acceptance criteria and constraints before starting development.
nameplan-work
description"Plan work before coding: do repo research, analyze options/risks, and ask clarifying questions before proposing an implementation plan. Use when the user asks for a plan, design/approach, scope breakdown, or implementation steps."

Plan work

Goal

Produce a plan that is:

  • grounded in repo reality (research)
  • explicit about decisions and risks (analysis)
  • blocked on zero unknowns (Q&A before implementation steps)

Inputs to ask for (if missing)

  • Outcome/acceptance criteria (what "done" means).
  • Constraints: time, backwards compatibility, performance, security, data migration.
  • Target environment(s): local/stage/prod; any feature flags or rollout requirements.
  • Non-goals (what not to do).

Workflow (research -> analysis -> Q&A -> implementation)

  1. Research (current state)
    • Read repo guidance first: AGENTS.md, README.md, docs/ (only if needed).
    • Identify entrypoints and owners (backend/frontend/infra).
    • Find relevant code paths and patterns:
      • rg for symbols, endpoints, config keys, error strings
      • git log -p / git blame for history and intent when uncertain
    • If the plan depends on external behavior (framework/library/tooling), consult official docs, release notes or context7 (and call out versions/assumptions).
    • Capture findings as short bullets with file paths.
  2. Analysis (what to change and why)
    • Restate requirements and assumptions.
    • List options (1-3) with tradeoffs; pick one and justify.
    • Identify risks/edge cases and what tests cover them.
    • Collect open questions.
  3. Q&A gate (do not skip)
    • If there are open questions, ask them and stop.
    • Do not propose implementation steps until the user answers (or explicitly accepts assumptions).
  4. Implementation plan (only after Q&A)
    • Break into small steps in a sensible order.
    • Name likely files/dirs to change.
    • Include the tests to run (unit/integration/build) to validate the change.
    • If the change spans modules, include coordination steps (contract changes, client regen, versioning).

Deliverable

Use references/plan-template.md and fill it in.