auto-optimize

Installation
SKILL.md

Double-layer auto-optimization (Skill entry)

This file is the Skill package entry (SKILL.md). Normative text lives under docs/. Not tied to a specific IDE—any host that loads this Skill can use it.

Strict execution (hard constraints)

  • The agent must follow program.md, docs/verifiability.md, docs/phase-01-spec.md through phase-04-output.md, and docs/execution.md in full; must not shorten the workflow to save tokens, time, or because it “feels enough”.
  • Each tracks/prompt-*/ inner loop must satisfy docs/phase-03-inner.md: gates (e.g. at least r01, r02 per scheme) and main termination (all items checked in tracks/phase-01-acceptance.md; or 5 rounds max). Self-score “≥8” must not alone justify stopping (verifiability.md R3). Forbidden: claiming a track is “deliverable” and moving to phase 4 before the acceptance checklist passes.
  • Forbidden: using “reduce workload” or other reasons not in the Skill to deviate; only when the user explicitly waives in the current turn may the full workflow be skipped.

Quick start (agent)

  1. Read program.md (shortest path) or the checklist below; do not skip docs/verifiability.md (R1–R5).
  2. Open phases in order: docs/phase-01-spec.mdphase-02-prompts.mdphase-03-inner.mdphase-04-output.md; read docs/execution.md for cost/order reminders.
  3. Before phase 1 gates pass, do not rewrite delivery code; phase 1 must write tracks/phase-01-acceptance.md (R3); phase 2 must write tracks/phase-02-consistency-check.md (check + scheme–dimension table); r01 for prompt-b/prompt-c must not be a full-page copy of prompt-a; waivers must be explicit in the current user message.
  4. Before claiming delivery matches the final track file, in a class-A environment actually run scripts/skill-verify.sh from the repository root (see program.md).

Execution checklist

Installs
13
GitHub Stars
71
First Seen
Apr 13, 2026