plan-task
Plan a development task into a self-sufficient execution contract stored in `.plans/<task-slug>/` for later fresh-context implementation and review.
Skill by siarhei-belavus
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/siarhei-belavus-plan-task
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/plan-task
What's inside
- Skill name
plan-task- Description
- Plan a development task into a self-sufficient execution contract stored in `.plans/<task-slug>/` for later fresh-context implementation and review.
- License
- MIT
- Instructions
- 178 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# plan-task Turn ambiguous engineering work into a concrete execution contract. Plan for a fresh implementer, not for the current chat. Assume the plan will be followed strictly unless a human explicitly amends it. Assume implementation may happen in a clean context window with no access to prior conversation. ## Read first - `../references/task-packet-contract.md` - `../references/persistent-artifacts-contract.md` - `../references/compatibility-policy.md` - `../references/ownership-and-reuse-policy.md` - `../references/final-state-authoring-policy.md` - `../references/initiative-workflow-contract.md` when planning an initiative child packet - `../../references/communication-mode.md` - relevant tracked `AGENTS.md` chain - applicable `AGENTS.override.md` only if local execution constraints matter ## Planning workflow 1. Establish scope. - Clarify the exact task, desired outcome, constraints, and what is out of scope. - Prefer concrete deliverables over vague goals. - Name the real acceptance criteria early. 2. Identify the true change surface. - Find the owner modules, state transitions, APIs, persistence paths, tests, and tracked `AGENTS.md` constraints the task will affect. - Distinguish direct change points from incidental neighbors. - Distinguish internal boundaries from real external boundaries relative to the service. - If the task is lifecycle-heavy, treat restart, retry, cancellation, and recovery as first-class planning concerns. 3. Resolve ownership and reuse first. - Identify the current owner for each important behavior, invariant, or responsibility. - Prefer reusing, extending, or slightly refactoring that existing owner over introducing a parallel entity. - If existing code is close but awkward, plan a tidy-first refactor that makes reuse possible. - Only allow a new helper/service/adapter/store/module/type when the new boundary is explicitly different and non-overlapping. - If the plan would leave two same-purpose entities alive, treat that as a design problem and rewrite the plan. 4. Resolve compatibility policy correctly. - Backward compatibility is prohibited by default. - Do not add compatibility work to the plan unless the human explicitly asked for it. - If the task touches a real external boundary and compatibility requirements are unresolved, stop and ask the human explicitly whether backward compatibility is required. - For internal-only changes, do not ask; plan the clean internal change with no compatibility scaffolding. 5. Write the target state, not the migration story. - Describe the intended steady state directly: final owners, final vocabulary, final status model, final artifact layout. - Do not write canonical plan steps as `old + new`, `keep this for now`, `add another path`, or similar transition prose when the clean final design is already known. - If a real external boundary truly requires compatibility work, keep the steady-state owner and current contract obvious in the plan. 6. Bootstrap the packet. - Create or update `.plans/<task-slug>/INDEX.md`. - Create empty canonical placeholders for `AMENDMENTS.md` and `ARTIFACT_CANDIDATES.md` immediately, even if they are still empty. - Ensure `INDEX.md` points to those files from the first packet version. - `BRIEF.md` is optional. Use it only when discovery output needs to be normalized into a compact handoff artifact before writing `PLAN.md`. - `grill-me` may populate `BRIEF.md`; `plan-task` may normalize, complete, or create it if discovery context has not yet been captured cleanly. 7. Define success before steps. - State the observable behavior that must be true when the task is done. - Define validation early: tests, checks, smoke paths, or user-visible outcomes. - Call out unknowns, assumptions, and risky edges before finalizing sequencing. 8. Slice the work into low-risk increments. - Prefer steps that keep the system coherent after each increment. - Separate foundational refactors from behavior changes unless combining them is clearly safer. - Favor plans that are easy to review and easy to revert. 9. Plan for amendment, not improvisation. - State exact stop conditions. - Make it explicit that implementation must stop if the plan becomes unsafe, impossible, or contradicted by the codebase. - Require amendment flow: blocker, options, pros/cons, plan impact, human decision, packet update. - If a better but non-essential design appears during implementation, require a `REVIEW_NOTE` rather than silent deviation. 10. Optimize for human maintainability. - Minimize how much context a human must hold at once. - Prefer plans that centralize risky logic, reduce change amplification, and keep ownership obvious. - Avoid plans that require many synchronized edits unless there is no safer alternative. 11. Make the plan self-sufficient for handoff. - Name the concrete target models, contracts, files, artifact paths, and boundaries instead of relying on chat shorthand. - Include exact terminology when names affect correctness. - State failure behavior and unsupported-capability behavior explicitly when implementation would otherwise have to guess. 12. Produce the plan. - Write `PLAN.md` as the canonical execution contract. - Keep the steps ordered, imperative, and dependency-aware. - If likely durable residue is already obvious, note it in `ARTIFACT_CANDIDATES.md`; do not write tracked `AGENTS.md`. ## Planning principles - Plan for the real dependency graph, not the order the idea was explained. - Make the safest next step obvious. - Keep steps independently verifiable where possible. - Prefer plans that simplify later review, not just faster coding. - If one safe pass is unrealistic, split the work into phases instead of pretending it is one change. - Eliminate hidden branches: if the plan intends one design, say `do X`, not `do X or Y`. - Prefer imperative decisions over advisory wording when implementation should not choose among alternatives. - Prefer tidy-first reuse over greenfield parallel abstractions. - Keep one owner and one authoritative path per important behavior whenever possible. - Write `PLAN.md` as the target design artifact, not as a migration diary. ## Good plan qualities A strong plan: - defines done in observable terms - identifies risky edges early - keeps each step reviewable - explains why the order matters - includes validation strategy - defines amendment triggers - reduces future maintenance burden, not just present effort - is self-sufficient enough for another agent to execute cold - leaves no important term, rename, or target contract open to interpretation - makes the owner and reuse path obvious instead of leaving room for parallel implementations - reads like the current intended system, not like notes about how the old system is being patched ## Anti-ambiguity rules - Do not present multiple design branches unless the human is explicitly being asked to choose. - Do not use vague wording like `consider`, `might`, `could`, `recommended`, or `where possible` for core implementation decisions. - Do not rely on a new implementer to infer final naming for important types, fields, keys, endpoints, or artifacts. - Do not leave failure behavior implicit. Say whether the system warns, fails fast, retries, skips, or continues. - Do not leave ownership implicit. Say which layer owns the contract, which layer adapts it, and which layer consumes it. - Do not leave cleanup as an unspecified follow-up. Name legacy fields, shims, tests, or docs that must change. - Do not introduce backward-compatibility branches, aliases, wrappers, or fallback behavior unless the human explicitly required compatibility for a real external boundary. - Do not allow the plan to create a second same-purpose entity when a tidy-first refactor of the current owner would make reuse possible. - Do not let canonical plan prose teach both an old and a new model when one final model is already chosen. ## Stateful-system planning For queues, runners, durable workflows, async services, orchestration, or any lifecycle-heavy feature, explicitly plan for: - state ownership - recovery and restart - retry and idempotency - cancellation and partial progress - truthfulness of status, logs, and persisted state
From siarhei-belavus/agent-public, MIT.
More from siarhei-belavus/agent-public
- 0.512score
code-implementer-agent
siarhei-belavus
Implement development tasks in safe, reviewable increments.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
atelier-orchestrator
siarhei-belavus
Orchestrate the full atelier workflow in one task window using pi teams runtime teams plus predefined agents, spawning right-side worker panes only when a…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
extract-artifact-candidates
siarhei-belavus
Mine the current chat/history for forgotten durable-residue candidates and backfill `.plans/<task>/ARTIFACT_CANDIDATES.md` without touching tracked `AGENTS.md`.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-split-options
siarhei-belavus
Compare 2-3 materially different initiative decompositions in `SPLIT_OPTIONS.md` when task boundaries or sequencing are still ambiguous before authoring…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-child-contract
siarhei-belavus
Compare 2-3 materially different child-level contract/interface shapes and write the chosen direction into `CONTRACT_DECISION.md` before planning when local…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
split-initiative
siarhei-belavus
Turn a framed initiative into a reviewed child-task graph in `TASK_GRAPH.md`, using vertical slices, explicit dependencies, canonical child statuses, and…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
stabilize-initiative-language
siarhei-belavus
Populate `UBIQUITOUS_LANGUAGE.md` inside an initiative packet with canonical terms, aliases to avoid, flagged ambiguities, and term relationships before…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
sync-initiative
siarhei-belavus
Fold a child loop back into the parent initiative packet, update canonical parent truth, record the sync log, and route the next durable-distill timing…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
distill-knowledge
siarhei-belavus
Curate durable residue from a completed task packet into canonical tracked `AGENTS.md` files or choose an explicit no-op.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
implement-task
siarhei-belavus
Implement a planned task from `.plans/<task-slug>/` with strict plan adherence, explicit amendments, and no direct writes to tracked `AGENTS.md`.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
review-agents-tree
siarhei-belavus
Audit the tracked `AGENTS.md` tree against best practices, write `.agents/AGENTS_TREE_REVIEW.md`, and propose cleanup, compaction, conflict resolution, or…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
review-code-maintainability
siarhei-belavus
Review implementation for maintainability, evolvability, anti-slop, and human complexity; emit `M#` findings and durable residue candidates when needed.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 29, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/siarhei-belavus/agent-public
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from siarhei-belavus
- 0.512score
code-implementer-agent
siarhei-belavus
Implement development tasks in safe, reviewable increments.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
extract-artifact-candidates
siarhei-belavus
Mine the current chat/history for forgotten durable-residue candidates and backfill `.plans/<task>/ARTIFACT_CANDIDATES.md` without touching tracked `AGENTS.md`.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
atelier-orchestrator
siarhei-belavus
Orchestrate the full atelier workflow in one task window using pi teams runtime teams plus predefined agents, spawning right-side worker panes only when a…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-child-contract
siarhei-belavus
Compare 2-3 materially different child-level contract/interface shapes and write the chosen direction into `CONTRACT_DECISION.md` before planning when local…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-split-options
siarhei-belavus
Compare 2-3 materially different initiative decompositions in `SPLIT_OPTIONS.md` when task boundaries or sequencing are still ambiguous before authoring…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
distill-knowledge
siarhei-belavus
Curate durable residue from a completed task packet into canonical tracked `AGENTS.md` files or choose an explicit no-op.
SkillCFreshness: C★ 2Claude Code +9
Cite this page
plan-task skill. Agent Mart. https://agentmart.dev/skills/siarhei-belavus-plan-task (last updated 2026-10-24)