Przejdź do treści
Biblioteka skilli
AI i agenci · Planowanie

solomon-loop

/solomon-loop

Dodaje do każdego zlecenia pętlę: definicja, badanie, ocena ryzyka, wdrożenie, weryfikacja i wyzwanie, przy podziale planu między agentów.

Repozytorium
solomon-loop ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
5
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dodaje do każdego zlecenia pętlę: definicja, badanie, ocena ryzyka, wdrożenie, weryfikacja i wyzwanie, przy podziale planu między agentów.

Wyzwalacze z opisu

run this with the loop\solomon loop\loop this\
Oryginalny opis (EN)

Use when executing a plan with subagents (one implementer per task plus a reviewer), when the user says \"run this with the loop\", \"solomon loop\" or \"loop this\", or when superpowers:subagent-driven-development is active. Adds the define, research, assess risk, implement, verify, challenge loop to every dispatch and logs lessons to one cross-run file. Not for a one-off edit with no plan.

Jak działa

  1. Added to every task
  2. Cross-run lessons
  3. Optimization loop
  4. With superpowers
  5. Stops
  6. Common mistakes
Sekcje z nagłówków SKILL.md, w oryginale · 68 linii, 1 215 słów
Podgląd SKILL.md
---
name: solomon-loop
description: "Use when executing a plan with subagents (one implementer per task plus a reviewer), when the user says \"run this with the loop\", \"solomon loop\" or \"loop this\", or when superpowers:subagent-driven-development is active. Adds the define, research, assess risk, implement, verify, challenge loop to every dispatch and logs lessons to one cross-run file. Not for a one-off edit with no plan."
---

# Solomon Loop

Adds to `superpowers:subagent-driven-development` (SDD): risk before code, an attacking reviewer, a capped correction count, and lessons logged across runs. Where SDD already does something (task dispatch, TDD, spec and quality review), follow SDD and do not restate it.

**Define, research, assess risk, implement, verify, challenge, record lessons.**

The user sets direction and makes product decisions. **Any change to the shared process needs the user's yes before adoption.**

Roles: the **controller** is the session running the plan. It dispatches one **implementer** Agent per task and keeps the production ledger. An **independent reviewer**, never chosen by the producer, reviews each task and owns exact-revision acceptance; production cannot self-accept or overrule findings. `/solomon-loop:setup <plan>` prepares the workspace (`loop-lens.md`, `ledger.md`, the cross-run lessons file); `/solomon-loop:run <plan>` runs the loop.

## Added to every task

| Step | Who | What |
|---|---|---|
| Define | Controller | The brief is the acceptance criteria. Add the observable checks (command + expected output) to the dispatch. |
| Research | Implementer | Fetch current docs for every library or external API touched. List URL + date under **Sources**. |
| Assess risk | Implementer | Write **Risk** BEFORE coding: which Review Focus items and surfaces the task touches, and the test covering each. "None" only with a reason. |
| Implement | Implementer | Real integration over mocks; a mock only at a listed boundary, named under **Mocks**. |
| Verify | Implementer | Every verify command in `loop-lens.md` that exists by this task: paste the command and the tail of its output. |
| Challenge | Reviewer | Full-tier tasks only: one concrete break attempt per named risk and per missed one. A break is Critical or Important. Report-compliance gaps are Minor unless they hide a shown defect. |
| Record | Reviewer, then controller | Every Critical/Important finding gets a lesson line. Controller appends it to the cross-run lessons file. |

Per unchecked task, the controller:

0. Derives the review tier from file paths, never the producer: **light** only for docs, tests or fixtures; anything else, and every instruction file, is **full** (allowlist in `/solomon-loop:run` 1a). Records the task base `git rev-parse HEAD` before the first dispatch. Light skips only the Challenge.
1. Dispatches one implementer Agent with the task text, the acceptance checks and [worker-report.md](worker-report.md) filled from `loop-lens.md`. Implementers and reviewers write reports to files and return at most 10 lines. The controller works from summaries and paths, and confirms `git rev-parse HEAD` equals the reported commit before review and before check-off. After every 5 accepted tasks it ends the turn so a fresh session resumes from the plan checkboxes.
2. Has an independent reviewer Agent dispatched, never one the implementer picked, with the diff, the implementer's report, and [reviewer-challenge.md](reviewer-challenge.md) appended. The Challenge pass allows exactly one throwaway test file, deleted before the report; `git status --porcelain` must be clean afterwards. Ledger this as a standing Ruling at setup.
3. On real findings, allow at most TWO correction attempts TOTAL per work-order lineage after initial production. Persist `correction_count` and lineage in the ledger and reports across restarts, model/producer changes, reassignment and successor orders addressing the same failure. An independent reviewer handles each scoped re-review. After two unsuccessful attempts, preserve findings and escalate to the owner; do not mark failed work complete or reset the count. This cap overrides any larger round or retry limit in an underlying skill, including the five fix rounds in `superpowers:subagent-driven-development`.
4. Appends the reviewer's lessons to the cross-run lessons file; records completion only after exact-revision acceptance by the independent reviewer and the actual done check. Review acceptance grants no execution/disclosure/spending/release authority.

After the last task: an independent reviewer runs the whole-branch Challenge scoped to cross-task risks. Any correction consumes the affected task lineage's remaining two-attempt allowance; final review grants no extra fix round.

## Cross-run lessons

File: `$root/.solomon-loop/lessons.md`, with `root="$(bash "${CLAUDE_PLUGIN_ROOT}/scripts/lessons-root.sh")"` (stops with an error in a bare repo) so all worktrees share the main checkout's file; print the absolute path. Row: `| Date | Run | Lesson | Evidence | Recurrences |`.

- **Date:** last time the lesson was seen. **Run:** the plan slug. **Lesson:** finding class and the proposed improvement. **Evidence:** the reviewer's finding copied in (`file:line` plus a one-line quote or summary), or a pointer to `<lessons dir>/evidence/<run>-task-<N>.md` beside the lessons file. Never a workspace report path: SDD deletes its workspace at finish.
- **Append rule:** before adding a row, look for one with the same finding class. Found, from a different run: add 1 to `Recurrences`, update `Date`, append the run to `Run` and the pointer to `Evidence`. Found, same run: append the pointer only. Not found: add a row with `Recurrences` 1.
- **Promotion is a scheduled review, not a stage.** On the owner's schedule, the owner reads the file. Rows with `Recurrences` of 2 or more are the candidates. The owner decides what changes; reviewed rows move under a `## Reviewed` heading with the outcome. An approved change to this skill's files counts only after a skill check passes.
- **Standing process, role and authority changes require user approval**, including changes proposed to unblock a broken task. A ledger Ruling cannot waive that requirement. Ordinary implementation fixes within the already approved task remain allowed; they do not authorize process adoption. Already approved policy changes require integration and verification, not repeated approval.

## Optimization loop

Not run inside a delivery run. When the user asks: freeze the current templates as baseline, run baseline and candidate on the same fresh tasks in separate worktrees, compare finding counts, human interventions and security results. Promote only a clear win.

## With superpowers

SDD runs the dispatch; this skill adds to it.

- Reviewer assignment stays independent and the independent reviewer owns acceptance. The original attempt plus at most TWO corrections per lineage, then escalation to the owner, overrides SDD's five fix rounds.
- SDD's workspace `.superpowers/sdd/<plan>/` holds `loop-lens.md`, the reports and the Rulings. The cross-run lessons file stays at `$root/.solomon-loop/lessons.md` (main checkout root, `root="$(bash "${CLAUDE_PLUGIN_ROOT}/scripts/lessons-root.sh")"` (stops with an error in a bare repo)).
- Append [worker-report.md](worker-report.md) to SDD's implementer prompt and [reviewer-challenge.md](reviewer-challenge.md) after SDD's Part 2 in the task reviewer and re-reviewer prompts. The final whole-branch review gets the Challenge section only.
- Before each dispatch derive the tier and bind `[REPORT_PATH]`; before each review and before check-off confirm `git rev-parse HEAD` equals the reviewed SHA.
- Never edit the plugin cache.

## Stops

Check existing task authority before destructive, security-sensitive or outward actions; obtain only missing authority. A task that cannot pass its check or exhausts two corrections escalates to the owner. Adopting a standing process change requires user authority. Critical authority/privacy/spending/recovery failure halts affected work; other in-scope decisions are ledger rulings, never overrides of independent acceptance. Approved subscription capacity only; no billed API calls or paid fallback.

## Common mistakes

- Risk section written after the code. It must exist before the first RED.
- "Sources" listing docs from memory. A source is a URL fetched this session, with its date.
- Reviewer Challenge that only re-reads the diff. Each attempt names a target, an attack and a result.
- Counting a recurrence inside one run. Recurrence is counted across runs.
- Pausing between tasks to ask "continue?". Rule, ledger, continue; stop only for the stops.
Pliki w paczce (5)
  • SKILL.md 9 KB
  • lessons.template.md 1 KB
  • loop-lens.template.md 2 KB
  • reviewer-challenge.md 4 KB
  • worker-report.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie solomon-loop.

Migawka bazy z 13.11.2026 · wersja paczki 060162640b29 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100subagent-driven-development
    Wykonuje zatwierdzony plan przez jednego subagenta na zadanie ze sprawdzaniem zgodności ze specyfikacją i jakości, gdy użytkownik zezwala na subagentów i istnieje spisany plan.
  • 100honey-superpowers
    Dokłada Honey do przepływów w stylu Superpowers i orkiestracji subagentów, dając dyrektywę do wklejenia w każdego subagenta, bo nie dziedziczą hooka sesji i piszą rozwlekły kod.
  • 90build-loop-claude-code
    Prowadzi pracę w Claude Code przez pętlę budowy, przeglądu, testów i poprawek, zaczynając od planu lub opisu funkcji.
  • 90subagent-driven-development
    Realizuje zatwierdzony plan wdrożenia przez osobnych agentów implementujących i recenzujących dla każdego zadania, z jawnymi przekazaniami, testami i integracją krok po kroku.
  • 95subagent-driven-development
    Rozdziela niezależne zadania z planu wdrożenia między podagentów pracujących w bieżącej sesji.
  • 100subagent-driven-development
    Prowadzi potok trzech ról: wdrożenie, przegląd specyfikacji i przegląd jakości, dla planu wielozadaniowego z katalogu docs/plans.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.