Skip to content
cccskills
FreePublished on GitHub

dough-slice-plan-refinement

Refines an executable plan in place into proportionate, proof-owned Behavior/Structure slices. Use during or after dough-slice-planning when boundaries fragment cohesive work, combine independent concerns, accumulate special cases, or overrun. Creates no new plan and preserves the selected story or bounded correction outcome. After rewriting the plan, reassess readiness through the shared preparation procedure without granting Take or execution.

The English summary is being prepared. Showing the original description.

nerds-odd-e/doughnut50 stars(GitHub 50 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md7.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Slice-plan refinement

Refine an existing executable plan in place. Do not create another plan, implement product code, or change its selected story or bounded correction outcome.

Require a refinable plan

Require an existing executable plan and this project's context required by dough-slice-planning, especially any supplied target, hard limit, exceptions, overrun policy, and the plan lifecycle.

Identify whether the plan's source is a selected feature story or a bounded retrospective correction under planning scope and lifecycle. For a complete correction, use its correction input directly from its story and plan, or from a plan-homed correction's plan alone; create no seed. Name whichever required correction field is missing and stop. A complete plan permits refinement, not execution; preserve the invoking instruction's authorization boundary. Before revising boundaries, apply the shared reassessment decision.

  • If no plan exists, use dough-slice-planning.
  • If a plan is marked as awaiting story refinement after resplitting, use dough-story-refinement on its mapped story and realign the plan before treating it as refinable or executable.
  • If the selected story's goal, scope, or examples must change, use dough-story-refinement.
  • If a correction's beneficiary, bounded outcome, scope, or proof must change, stop through the shared execution-decision handoff; do not turn it into a feature story. A disputed product constraint uses the plan-conflict handoff below and remains human-owned.
  • If the parent problem, candidate selection, or sibling ordering must change, use dough-story-decomposition.
  • Treat the plan as ready for direct execution only when cumulative design is supported, every boundary preserves useful progress or learning, and all slices are cohesive, single-proof-loop, meet supplied targets, and have no unexplained path beyond a hard limit. Record that outcome through assess readiness at preparation completion when the work item has a recorded identity. Execution still requires separate authorization from the invoking workflow.

Refine the plan

Before writing to the plan, establish or reuse the required workspace under preparation workspace, then, for a queued story, announce the preparation assignment; reading the plan and the code and tests needed to judge execution boundaries needs neither on its own. Read and apply:

When refinement reconsiders the plan's selected existing solution or the architectural direction supporting it, reapply architectural thinking, including its authoritative PFE handoff. Otherwise carry the decision forward; do not repeat PFE or create a new direction topic merely because slices are being refined.

Preserve completed slices, applicable evidence, and the selected story's goal and scope or the correction's bounded outcome and scope.

Assess the cumulative design, including how remaining examples build on completed slices, then classify each remaining boundary:

ResultDecision
RetainOne gate and proof loop yield cohesive progress within supplied limits
ConsolidateAdjacent slices are useful only together; combining hides no consequential risk and preserves safe recovery
SplitOne slice has independent outcomes or proof loops, hidden preparation, credible risk, special-case design, or a sizing concern
EscalateLearning requires review of the source outcome, story, or parent problem

A suspected accidental contractual restriction uses the shared plan-conflict handoff before a conflicting plan edit; classify it as Escalate, not an automatically correctable special case. Route other Escalate findings through the input gate. Apply every Consolidate or Split decision.

After an overrun, confirm attempt-owned work is safely parked or reverted before editing the plan. Stop for human judgment when ownership is unclear. Do not commit, push, implement, or verify product behavior unless the invoking workflow separately authorizes it.

Count the resulting plan's slices, including completed slices but excluding obsolete replaced slices. If the count is greater than 15, report story resplit recommended: <count> slices; use dough-resplit-story and link to dough-resplit-story. This is a recommendation, not an automatic invocation or a new execution-readiness gate. Do not resplit the story or change its backlog placement during slice-plan refinement.

When the work item has a recorded identity, record the readiness reassessment through assess readiness at preparation completion: remaining Refine or Escalate findings, or any other blocking concern, become not-ready reasons; when the cumulative design is supported and remaining slices are ready under the table above, record ready. Do not Take, move the queue, or start execution from this reassessment.

Return the plan path, replaced slices, resulting slice count, sizing exceptions, any resplit recommendation, whether execution can resume, and the reassessment to an invoking workflow, such as slice planning or execution, that continues from them. A resplit recommendation, an Escalate finding, or another decision a person must make needs a response: report it with the expected response, who can give it when known, and what waits for it.

When this session ends, follow land at the end of preparation, then close or retain the workspace under preparation workspace. A session that invoked this skill directly finishes under finish with only what needs a response. An execution instruction for this story that arrives while its preparation is unlanded follows hand off to execution in the same session instead.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Backend Java — Spring Boot controllers/services, JUnit controller tests, MakeMe. Read this first for any backend work. Use when working on the Java Spring backend.

The English summary is being prepared. Showing the original description.

nerds-odd-e/doughnut50Updated Oct 26, 2026

Backend Java production code, Spring Boot controllers/services/repositories, controller return values, imports, schema ERD pointer. Use when editing backend production Java.

The English summary is being prepared. Showing the original description.

nerds-odd-e/doughnut50Updated Oct 26, 2026

Backend Java tests, controller-level stable-boundary tests, JUnit, @Nested, MakeMe builders, @Transactional, parameterized tests. Use when writing or changing backend JUnit tests.

The English summary is being prepared. Showing the original description.

nerds-odd-e/doughnut50Updated Oct 26, 2026

cli

Free

related to donut CLI. Use when working on donut-cli.

The English summary is being prepared. Showing the original description.

nerds-odd-e/doughnut50Updated Oct 26, 2026

Set up and run the Donut dev environment on Cursor Cloud VM (no Nix). Use when working on Cloud VM, running tests on Cloud VM, or encountering command errors related to missing nix. Triggers on: cloud VM, cloud agent, no nix available, /workspace path.

The English summary is being prepared. Showing the original description.

nerds-odd-e/doughnut50Updated Oct 26, 2026

Regenerate docs/database-erd.md from MySQL information_schema (Mermaid ERD: foreign keys and key columns). Use after Flyway schema changes, new migrations, or when the diagram is stale. Triggers on: database ERD, database-erd.md, export_database_erd, schema diagram, ER diagram after migration.

The English summary is being prepared. Showing the original description.

nerds-odd-e/doughnut50Updated Oct 26, 2026

See all skills by nerds-odd-e

Report a problem with this skill