design-loop
Develop a project endgoal through N bounded cycles of brainstorm and research, design, implementation, comparison testing and analysis.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 126
- Forks
- 10
01 前言 Front Matter
- name
- design-loop
- description
- Develop a project endgoal through N bounded cycles of brainstorm and research, design, implementation, comparison testing and analysis.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml164 B
03 SKILL.md 正文
Use the handoff contract. Inputs: endgoal, starting workspace/artifacts, output directory and optional N, criteria, constraints, domains and scoped model/effort choices. Reuse context and extend it for new work.
Bounds
N caps attempted cycles, including the first PoC and failures. Require a positive integer; default to 3 and state it. Apply core's iteration bounds; brainstorming is a cycle's first work. Run through N unless the caller stops, a resource bound is reached, required capability or authorization is missing, or explicit stop-on-goal applies. Goal attainment alone does not shorten the run.
Choose stage assignments under core execution rules, preserving dependencies, independent testing and caller limits.
Run
- Establish or resume the checkpoint, state N and bounds, and preserve the initial baseline. Start each cycle from the last accepted state. Target the smallest working PoC first; later cycles use accumulated decisions and observations, including failures.
- Record a new attempt before work, or resume the active one. Apply brainstorm-research with request, baseline and observations, then design-increment to its result.
- Create an isolated baseline copy; apply implement-increment with the design. Freeze the returned candidate; pass it, the baseline and evaluation plan to test-increment.
- Apply analyze-iteration to all cycle evidence, including failures/gaps. Check its recommendation; record adopt/retain, exact accepted state and next-cycle observations. Checkpoint each returned stage; use the rules below for incomplete stages.
- Stop at the bound or declared early-stop condition. Further work requires a new or extended caller request.
Brainstorm-research calls two leaves; testing supplies one independent comparison round. There is no additional final review or repair loop.
Failure and resumption
On failure, retain evidence and mark dependent stages unexecuted. Run scheduled analysis on the partial handoff if possible; otherwise record missing analysis and retain the baseline. Failed attempts count. Continue only if another bounded cycle can progress; persistent capability/authorization blocks end the run with a gap. Corrections belong to later cycles within N.
For no justified change, mark implementation/testing inapplicable, analyze the evidence and record retain. The attempt counts; normal early-stop rules apply.
To resume, read checkpoint and attempt-start records and verify state/artifact identities. Continue the same attempt's first unfinished stage, reusing valid work and rejoining live assignments before replacements. Changed inputs make affected downstream evidence stale; repeating completed stages requires a new or extended caller run.
Return
Return exact accepted state, usage, initial-to-final changes/evidence, completed/attempted counts, decisions, gaps and checkpoint path. Keep retained candidates as evidence. For requested integration, verify the checkout still matches its preserved starting state; report conflicts instead of overwriting newer work.
04 同仓库更多 Skills
style-demo
Create a small Python example under this library's style preferences.
verified-invoice
Review an existing invoice against source data, with at most one repair and the caller's required checks.
invoice-packet
Prepare a checked internal invoice and a public summary from an existing invoice and its source.
orch-work
Delegate a requested result to a fresh native child agent with relevant guidance. Use when a workflow names it or the user selects it; ordinary requests use orch-dynamic-workflow. Top-level coordinators only.
orch-review
Delegate independent review of identified work to a fresh native child who did not make it, without repairs. Use when a workflow names it or the user selects it; ordinary requests use orch-dynamic-workflow. Top-level coordinators only.
orch-dynamic-workflow
Plan and complete ordinary top-level tasks with core guidance and proportionate independent review, unless the user selects a workflow or primitive. Not for child assignments or questions about the library.