agentleFS
TylerAkinsTylerAkins/ai-agent-skills/skills/agent-planning/SKILL.md

agent-planning

Skill1 starsChanged 31 days agoMITView on GitHub

Investigate coding requirements and turn them into an ordered, verifiable implementation plan. Use when asked to plan a feature, ticket, or significant change, assess an approach, or break work into tasks. Does not implement the plan.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read anti-ai-writing before drafting the plan or report.

    line 18
  2. Distinctive:

    Read the routing table in using-skills to select relevant planning and task workflows.

    line 27
  3. Distinctive:

    Read repository instructions and inspect existing working changes.

    line 43
  4. Distinctive:

    Use this structure when explicit tasks help.

    line 101
  5. Distinctive:

    Check the plan against source requirements and the inspected execution path.

    line 118
  6. Distinctive:

    Look for omissions, conflicting values, mismatched producer/consumer contracts, and checks that cannot establish the intended behavior.

    line 119

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agent Planning

Scope

Produce a plan grounded in requirements and repository evidence. Keep small, understood changes brief; use explicit tasks for work with dependencies or risk. Planning authorizes investigation and plan artifacts, not implementation, commits, pushes, or external tracker updates.

Read anti-ai-writing before drafting the plan or report. Use the project's planning conventions and Cursor's native plan artifact when available. Otherwise, use a Markdown plan in the project's designated location, or present it in chat when no saved artifact is needed. Do not overwrite unrelated incomplete plans or edit user-protected plans; present proposed changes separately.

1. Investigate before planning

Read the routing table in using-skills to select relevant planning and task workflows. Read selected skills before relying on their procedures. Select only skills that materially apply to the requirements and repository; do not inventory or load the entire collection. Also inspect repository-local agent instructions and skill catalogs for workflows that apply to this task. Link relevant local skills from the plan and tell the executor which task they govern; do not assume the host discovers them automatically.

For Jira requirements, use jira-tickets in intake mode. For consequential unresolved intent, use decision-partner. For shared interface decisions, use api-design. These are supporting procedures, not mandatory stages; retain established intent and evidence.

  1. Establish the intended behavior, scope, exclusions, and acceptance criteria from the user's requirements and accepted decisions. Cite their sources. Separate requirements from assumptions and unresolved decisions.
  2. Read repository instructions and inspect existing working changes. Trace the actual execution path, producers, consumers, analogous code, tests, and relevant dependency versions. Verify unfamiliar APIs against those versions.
  3. Identify affected contracts, authorization and tenant boundaries, migrations, concurrency concerns, and rollback risks where relevant. Preserve unrelated work. For stateful, asynchronous, or interactive behavior, identify the state owner, important states and transitions, and what success, failure, retry, rollback, overlapping operations, and identity changes should leave visible and persisted. Select the high-risk combinations that need acceptance criteria and tests; do not enumerate irrelevant combinations.
  4. Resolve uncertainty from evidence where possible. For a behavior-changing choice that requires user input, mark it as needing a decision and identify dependent tasks. Continue independent investigation without treating silence as acceptance.

2. Break work into verifiable tasks

  1. Describe the proposed approach and why it satisfies the requirements. Record consequential decisions, alternatives when useful, risks, and open questions.
  2. Map dependencies and order tasks accordingly. Prefer complete, testable behavior slices. Investigate risky unknowns early, before tasks depend on them.
  3. Give each task an outcome, specific acceptance criteria, and verification with observable success. Add grounded file paths, dependencies, shared contracts, and unresolved decisions when they affect execution. For stateful behavior, include the relevant invariant and high-risk transitions. Mark unverified paths, signatures, or commands explicitly. Avoid speculative code bodies and arbitrary task sizes; split tasks when they mix independent outcomes or cannot be verified meaningfully as a unit. For dependent tasks, state the interface or invariant the earlier task must produce and the later task will consume.
  4. Include integration checks and review checkpoints proportional to the risk. For changed authorization, cover applicable allow/deny, wrong-user or tenant, missing-identity, and preserved behavior. Plan regression sensitivity for bug fixes where feasible. Include final independent whole-candidate review and affected verification/re-review after material repairs in the plan and executable todos, unless the user explicitly skips review. Identify unavailable review as a limit, not a completed step. Planning does not claim review occurred or spawn reviewers merely to schedule this later implementation gate.

Task Template

Include an execution handoff in the generated plan itself, including native Cursor plan artifacts. Link each materially relevant skill from the plan's location, map it to the task or decision it governs, and tell the executor to read it before that work. A shared mapping can cover multiple tasks without repeating the same link in each one. Use canonical skill names and repository paths; do not rely on host discovery or a chat-only reminder. Resolve links from saved plans; for chat plans, link a repository-root path such as skills/<skill-name>/SKILL.md. Surface an unavailable required skill rather than implying it was used. Include this handoff:

Once implementation is authorized, execute this plan using implement-plan, including meaningful verification, final independent code-review, and affected checks and independent re-review after material repairs. Commit and push only when explicitly authorized. Report unavailable independent review as incomplete.

Carry any explicit review skip or existing Git authorization into the handoff. Include source requirement pointers and final review/repair tasks so a Build or separate-session executor receives the same contract. The handoff does not authorize implementation from a planning-only request.

Use this structure when explicit tasks help. Keep the outcome, acceptance criteria, and verification; add files, dependencies, skills, or decisions only when they guide execution. Adapt it to the project's native plan format without a duplicate checklist.

### Task 1: [Observable outcome]

Approach: [Concrete change and relevant contract, if needed]

Acceptance criteria:
- [ ] [Specific behavior, including relevant boundaries or failure cases]

Verification: [Command and working directory, or manual check, with expected result]

3. Reconcile and deliver

  1. Check the plan against source requirements and the inspected execution path. Look for omissions, conflicting values, mismatched producer/consumer contracts, and checks that cannot establish the intended behavior. Keep the plan body and any executable task list consistent; avoid maintaining duplicate task lists.
  2. Revise contradictions before presenting the plan as ready. State unresolved decisions, blocked tasks, and verification limits. Distinguish checks already performed during investigation from checks proposed for implementation.
  3. Deliver the plan with its current decisions and verification limits. For a planning-only request, stop without implementation. If implementation is already authorized, hand the accepted plan and source requirements to implement-plan, which coordinates implementation, verification, and required final independent review without asking for approval again. This skill remains planning-only. An unresolved decision blocks only dependent work. Creating a plan does not itself authorize implementation, commits, pushes, or publication.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.