backend
無料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.
日本語の概要は準備中です。原文の説明を表示しています。
Speeds up local test feedback through profiling and measured experiments across related tests. Use to optimize slow tests or test-suite performance. Preserves behavioral coverage and confidence while pursuing fewer redundant cases, less code, and cleaner design. With --resolve, triages recorded candidates without profiling or optimizing.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Reduce the time a developer waits for trustworthy local test results. Pursue substantial savings through fewer redundant cases, less setup and support code, and cleaner design together. These are ways to improve feedback time, not substitutes for a measured speedup. Preserve behavioral coverage and confidence.
Use the task's project. Resolve the selected local test command and scope, test locations, runtime/service setup, applicable test and architectural rules, and plan conventions from that project. Name genuinely missing context and stop only its dependent step; do not invent paths, commands, or a test taxonomy.
Default mode profiles, plans, experiments, and re-profiles. A profile-only request
ends with findings. For --resolve, follow only
candidate resolution.
An independently requested pass in any mode is an accepted mission:
admit it before
profiling or triage, with its story in a relevant existing seed when one fits
and approach unselected. A pass explicitly selected as
one-shot work follows that
instead. A pass requested as a step of an active story
continues under that story. Findings with no worthwhile change, in profiling
or resolve-only triage,
finish the mission,
or under one-shot its
no-change finish.
Before assessing tests, read the shared behavioral test guidance. Apply it across the authorized optimization scope, not just the current diff.
Run the selected local scope. Record revision, literal command, runner mode, workers, filters, relevant environment/cache conditions, wall time, executed case count, and available test/setup timings. Keep raw profiles out of commits. Use only approved profile exclusions; candidate proposals remain eligible and normal verification coverage stays intact. Report the limits of filtered runs.
Measure the ordinary local test mode even if profiling needs a different mode. A failed or incomplete run supplies diagnostics, not a successful baseline. Do not blindly trust timings: startup, caches, and machine load can dominate. Compare like conditions; repeat doubtful comparisons or report them inconclusive. Summed test durations are neither wall time nor measured CPU time.
Use slow tests and aggregate setup costs to seed a hypothesis about wasted time. Prioritize work that shortens the selected local feedback path. Look across files and test layers for related behavior, variants, fixtures, and consumers, including fast siblings; neither a percentile nor a file limits investigation. Keep edits within authorized scope.
Group by a behavioral responsibility or evidenced shared cost, never by timing rank or fixed batch size. Assign shared helper changes once with their consumers and dependencies; do not merge unrelated behavior scenarios or count savings twice.
Stop expanding discovery when further inspection no longer changes the proposed experiment or its proof obligations. Reopen it when results expose a missing cause or variant. Carry the family analysis into smaller execution slices so local edits retain the broader opportunities and surviving proof.
Use one plan in the project's established location and the shared executable plan format. Record the request and profiling evidence, developer outcome, scope, preserved promises, baseline, family analysis, hypotheses, and proof. For each experiment, name the expected saving, smallest meaningful change, surviving proof for any removed cases, and focused verification/timing command. Include final re-profiling.
In resolve-only mode, reuse recorded evidence and plan any missing baseline as a prerequisite for later execution; do not run it now.
For an admitted pass, this plan attaches to the same story: record and publish its preparation and continue that claim as continue into implementation describes. This changes neither this skill's measurement rules nor whether a created plan continues into execution.
Execute through dough-execute-plan, keeping its implementation/refactor ownership, delivery, and normal retrospective. That delivery publishes through increment and repair publication. Make the following loop explicit in the plan and each experiment slice:
Stop experimenting when no credible further saving remains within scope; record what was tried and the remaining cost as a candidate. An unresolved product, architectural, or confidence trade-off stops that path for a human decision.
Establish replacement proof before removing or narrowing its predecessor. Verify the changed family in normal test mode, widening to affected consumers for shared changes. Fix flakiness at its cause; do not mask it with retries, sleeps, or skips. For changed asynchronous/E2E synchronization, require three consecutive focused passes or stronger project-required evidence; repetition alone proves no fix. Commit no focus/only markers.
Re-run the selected local command under comparable conditions after the experiments. Include replacement tests' cost when proof moved across boundaries. If the local run did not improve, revisit the cost hypothesis before declaring success; a faster isolated test is insufficient. A failed re-profile leaves measurement incomplete; focused timings or CI cannot replace it.
Report local wall time and executed cases before/after, retained behavioral proof, test/support-code simplifications, experiments rejected, delivered commits, and remaining candidates. Distinguish measured improvement, no demonstrated gain, and incomplete work. Do not claim speedup from fewer cases or lines alone.
Keep candidates with locations, cost, unique protection, attempted alternatives,
evidence, date, and needed decisions in the existing record or active plan.
Retain that plan and evidence for retrospective and
story wrap-up; unresolved candidates must be
resolved or transferred to the established follow-up location before cleanup.
Emit ## TEST OPTIMIZATION COMPLETE only when the pass's planned work,
verification, measurement, and delivery are complete, stating its actual outcome.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
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.
日本語の概要は準備中です。原文の説明を表示しています。
Backend Java production code, Spring Boot controllers/services/repositories, controller return values, imports, schema ERD pointer. Use when editing backend production Java.
日本語の概要は準備中です。原文の説明を表示しています。
Backend Java tests, controller-level stable-boundary tests, JUnit, @Nested, MakeMe builders, @Transactional, parameterized tests. Use when writing or changing backend JUnit tests.
日本語の概要は準備中です。原文の説明を表示しています。
related to donut CLI. Use when working on donut-cli.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。
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.
日本語の概要は準備中です。原文の説明を表示しています。