backend
FreeBackend 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.
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.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
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 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.
dough-slice-planning.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.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:
| Result | Decision |
|---|---|
| Retain | One gate and proof loop yield cohesive progress within supplied limits |
| Consolidate | Adjacent slices are useful only together; combining hides no consequential risk and preserves safe recovery |
| Split | One slice has independent outcomes or proof loops, hidden preparation, credible risk, special-case design, or a sizing concern |
| Escalate | Learning 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.
No reviews yet. Tell others what you thought.
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.
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.
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.
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.
related to donut CLI. Use when working on donut-cli.
The English summary is being prepared. Showing the original description.
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.
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.