converge
Skill88 starsChanged 7 months agoMITView on GitHub
Spec↔code convergence scan. Use after implementation to verify the ACTUAL codebase matches the spec/plan — detects missing backends, dead buttons, partial wiring, scope creep. Classifies gaps (missing/partial/contradicts/unrequested), appends remediation tasks, loops until converged. The direct answer to 'the UI renders but nothing works' syndrome.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- Intuition-Labs-LLC/terminals-skillstheir own version, first seen May 31, 2026
- corygabrielsen/skillstheir own version, first seen May 19, 2026
- limiteinductive/agent-skillstheir own version, first seen May 5, 2026
- B-A-M-N/Convergetheir own version, first seen Apr 5, 2026
- rana/skillstheir own version, first seen Apr 1, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- B-A-M-N/Converge★ 1same name
- corygabrielsen/skills★ 1same name
- Intuition-Labs-LLC/terminals-skills★ 1same name
- limiteinductive/agent-skills★ 1same name
- rana/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository67 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adversarySkill
- asset-creatorSkill
- auditSkill
- autopsySkill
- baSkill
- brainstormSkill
- browser-pilotSkill
- completion-gateSkill
- constraint-checkSkill
- context-engineSkill
- context-packSkill
- cookSkill
- councilSkill
- dbSkill
- debugSkill
- dependency-doctorSkill
- deploySkill
- designSkill
- diagramSkill
- doc-processorSkill
- docs-seekerSkill
- docsSkill
- fixSkill
- gitSkill
- graftSkill
- hallucination-guardSkill
- improve-architectureSkill
- incidentSkill
- integrity-checkSkill
- journalSkill
- launchSkill
- logic-guardianSkill
- marketingSkill
- mcp-builderSkill
- neural-memorySkill
- onboardSkill
- perfSkill
- planSkill
- preflightSkill
- problem-solverSkill
- quarantineSkill
- rescueSkill
- researchSkill
- retroSkill
- review-intakeSkill
- reviewSkill
- safeguardSkill
- sastSkill
- scaffoldSkill
- scope-guardSkill
- scoutSkill
- sentinel-envSkill
- sentinelSkill
- sequential-thinkingSkill
- session-bridgeSkill
- skill-forgeSkill
- skill-routerSkill
- slidesSkill
- surgeonSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 105
If gaps exist, append to the ACTIVE phase file (or master plan task section if no phase file):
- Very specific: line 120
If ZERO gaps (missing/partial/contradicts on spec keys — deferred-debt and unrequested don't count): write nothing (task file stays …
- Very specific: line 157
Every row needs file:line evidence or a grep result count — verdicts without evidence are hallucinations.
- Very specific: line 161
MUST treat spec/plan/contracts as the sole source of intent — never infer intent from the code itself
- Distinctive: line 162
MUST inspect present codebase state, not the git diff — earlier phases may have broken older work
- Distinctive: line 163
MUST give every gap an intent key, a gap-type, a severity, and file-level evidence
- Distinctive: line 164
MUST append remediation tasks — never rewrite, reorder, or delete existing task content
- Distinctive: line 165
MUST NOT edit source code — converge detects, fix/cook remediate
- Very specific: line 166
MUST surface unrequested code as findings, never silently delete or block on it
- Very specific: line 167
MUST report NO_SPEC and stop when no requirements.md exists — converge without a spec is vibes
- Distinctive: line 189
Every intent key has a verdict with file-level evidence
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
converge
Purpose
Post-implementation gap detector. Re-reads the spec, plan, and tasks as the sole source of intent, inspects the ACTUAL codebase (present state, not the diff), and classifies every intent key as implemented or gapped. Where verification asks "does it build?", converge asks "is everything the spec promised actually in the code?"
This is the skill that catches the most expensive silent failure: a P1 story's UI exists, renders, passes lint/type/build — and its backend was never written.
<HARD-GATE>
Converge DETECTS — it never fixes. No Edit, no Write to source files.
Its ONLY write is APPENDING a `## Convergence` task section to the plan's task file.
Existing file content is never rewritten, reordered, or deleted. Zero gaps = zero writes.
</HARD-GATE>Called By (inbound)
cook(L1): Phase 6.5 CONVERGE — after VERIFY, before COMMIT, for feature/greenfield chains with a requirements.md- User:
/rune converge— "did it fully implement the spec?", "check completeness", "does the code match the spec?"
Calls (outbound)
None — pure L3 verification utility. Reports gaps; cook decides what to execute.
Executable Steps
Step 1 — Build the Intent Inventory
Load intent sources (all that exist; requirements.md is mandatory — without it, STOP and report NO_SPEC):
.rune/features/<name>/requirements.md— extract keys: everyFR-n, everyUS-nwith priority + Independent Test, everyAC-n.m(asUS-n/AC-n.m), every Key Entity.rune/plan-<feature>.md+ phase files — Key Decisions, Coverage Summary, task list withP<phase>-T<seq>IDs.rune/features/<name>/contracts/*.md— each contract: its endpoint, itsServes:story, itsConsumers:list.rune/features/<name>/data-model.md— entities, state transitions.rune/features/<name>/quickstart.md— per-story validation steps.rune/ui-spec.md## Unwired Elements(if present) — designed placeholders that MUST NOT count as implemented
The inventory is a flat list of keys: FR-3, US-1/AC-1.2, contract:create-order, entity:Order, decision:<slug>.
Rules:
- Task IDs (
P<phase>-T<seq>) and quickstart.md are EVIDENCE, not verdict keys — tasks feed the code-scope map (Step 2), quickstart steps feed pass/fail evidence for story rows. Neither gets its own verdict row - US-n verdict is DERIVED: worst verdict among its
AC-n.mrows (all ACs implemented → story implemented; any partial/missing → story inherits it). Don't independently re-assess the story - Plan Claims vs Reality: while reading tasks, note every task marked
[x]whose artifact is missing/partial in code — these go in a dedicated report section (informational;completion-gateowns claim enforcement, converge just surfaces the lie)
Step 2 — Build the Code-Scope Map
Map intent → code locations. NO full-repo read — targeted lookups only:
Globevery file path named in plan tasks — does it exist?Grepentity names (from data-model.md) across schema/model directoriesGrepeach contract's endpoint path/route across the codebase — implementation AND callersGrepcomponent names from UI tasks — definition AND the handler symbols they bind
Step 3 — Classify Gaps
For every intent key, assign exactly one verdict:
| Verdict | Meaning | Example |
implemented | Code fully realizes the key | Endpoint exists, has logic, has a caller |
missing | Required work absent entirely | Contract file exists, no route implements it |
partial | Started but a link in the chain is dead | Button + handler exist; handler's fetch targets a route that doesn't exist |
contradicts | Code diverges from a locked decision or AC | Spec says soft-delete; code hard-deletes |
unrequested | Code maps to NO intent key (scope creep — surfaced, not blocked) | New admin page no story asked for |
Dead-interaction trace (run for every UI element an AC references):
element → handler bound? → handler body non-trivial? → calls service/fetch?
→ target route/function EXISTS in codebase? → route touches the entity the AC names?First broken link = partial, keyed to that element's US-n/AC-n.m. Heuristics: onClick={() => {}}, href="#" on action links, console.log-only handlers, preventDefault()-only submits, fetch('/api/...') where no route file matches — all break the chain.
Unwired Elements (declared debt) — elements listed in .rune/ui-spec.md ## Unwired Elements:
- Owner of wiring is a task/story IN THIS feature's plan →
missing, keyed to that story (in-scope debt) - Owner is external (asset-creator pass, future feature, human) →
deferred-debt: report in a separate### Deferred (declared debt)section, do NOT append a CV task, do NOT count in gap counts, does NOT blockconvergence.clean. Declared debt with a named owner is tracked honesty, not a convergence failure
Precedence: an element that maps to NO intent key takes the unrequested path — the dead-interaction trace runs only for AC-referenced elements.
Step 4 — Assign Severity
| Severity | Condition |
| CRITICAL | missing or contradicts gap that blocks a P1 story's acceptance scenario or Independent Test |
| HIGH | partial on a P1 story, or missing/contradicts on P2 |
| MEDIUM | Any gap on P3; unrequested code touching shared modules |
| LOW | unrequested isolated code; cosmetic divergence |
Step 5 — Append Remediation Tasks (APPEND-ONLY)
If gaps exist, append to the ACTIVE phase file (or master plan task section if no phase file):
## Convergence (round N)
> Appended by converge — spec↔code gaps found. Do not edit rows above this section.
- [ ] CV-N.1 [CRITICAL] Implement POST /api/orders route per contract:create-order (missing) — `src/api/orders.ts`
- [ ] CV-N.2 [HIGH] Wire OrderForm submit to POST /api/orders per US-1/AC-1.1 (partial: handler fetches nonexistent route) — `src/components/OrderForm.tsx`Task format: CV-<round>.<seq> [severity] <imperative> per <intent-key> (<gap-type>) — <file path>. Every task cites its intent key — a remediation task with no key is itself a converge violation.
Deduplication: when multiple intent keys trace to the SAME absent/broken artifact (e.g., contract:create-order missing AND US-1/AC-1.1 partial, both resolved by implementing src/api/orders.ts), emit ONE combined CV task citing all keys — CV-1.1 [CRITICAL] Implement POST /api/orders per contract:create-order + US-1/AC-1.1 (missing/partial) — src/api/orders.ts. One target file = one task; the report table still lists every key's verdict separately.
No CV tasks for unrequested findings — they are surfaced for human decision (Constraint 6), never converted to work items. No CV tasks for deferred-debt — the named owner owns it.
If ZERO gaps (missing/partial/contradicts on spec keys — deferred-debt and unrequested don't count): write nothing (task file stays byte-identical), emit convergence.clean.
Step 6 — Emit Verdict
- Gaps found → emit
convergence.gapswith{feature, round, counts: {missing, partial, contradicts, unrequested}, critical: N, cv_tasks: N} - Clean → emit
convergence.cleanwith{feature, round, keys_checked: N}
Payload notes: counts are PER-KEY (one absent route can inflate several keys — that's fine for zero-checks, which is all cook needs); cv_tasks is the DEDUPED work-item count — consumers judging workload use cv_tasks + critical, not raw counts.
The caller (cook Phase 6.5) executes appended tasks and re-invokes converge — loop until clean, max 2 remediation rounds before escalation.
Output Format
## Convergence Report — <feature> (round N)
Intent keys checked: 23 | implemented: 19 | gaps: 4
(keys checked = spec keys only; unrequested and deferred-debt listed separately below)
| Key | Verdict | Severity | Evidence |
|-----|---------|----------|----------|
| contract:create-order | missing | CRITICAL | contracts/create-order.md exists; no route matches POST /api/orders (grep: 0 hits in src/) |
| US-1/AC-1.1 | partial | HIGH | OrderForm.tsx:42 fetch('/api/orders') → route absent |
| US-3/AC-3.1 | implemented | — | route src/api/list.ts:12, caller OrderList.tsx:8 |
### Unrequested (surfaced, no CV tasks)
- src/pages/admin-stats.tsx — maps to no story
### Deferred (declared debt, no CV tasks)
- [ ICON: sparkle ] (ui-spec Unwired Elements, owner: asset-creator)
### Plan Claims vs Reality
- P1-T2 marked [x] but POST /api/orders absent — see contract:create-order gap
Verdict: 2 gaps blocking P1 → convergence.gaps emitted, 1 task appended (CV-1.1, deduped)Every row needs file:line evidence or a grep result count — verdicts without evidence are hallucinations.
Constraints
- MUST treat spec/plan/contracts as the sole source of intent — never infer intent from the code itself
- MUST inspect present codebase state, not the git diff — earlier phases may have broken older work
- MUST give every gap an intent key, a gap-type, a severity, and file-level evidence
- MUST append remediation tasks — never rewrite, reorder, or delete existing task content
- MUST NOT edit source code — converge detects, fix/cook remediate
- MUST surface
unrequestedcode as findings, never silently delete or block on it - MUST report
NO_SPECand stop when no requirements.md exists — converge without a spec is vibes
Sharp Edges
| Failure Mode | Severity | Mitigation |
| Inferring intent from code ("this helper implies a story") | CRITICAL | Intent inventory comes ONLY from Step 1 artifacts — code is evidence, never intent |
| Verdict without file:line or grep evidence | CRITICAL | Output format requires Evidence column — no evidence, no verdict |
| Rewriting the task file instead of appending | CRITICAL | HARD-GATE: append-only; zero gaps = zero writes (byte-identical file) |
Marking implemented because the file exists | HIGH | Existence ≠ implementation — run the dead-interaction trace; a route with res.status(501) is partial |
| Counting a designed placeholder as implemented | HIGH | .rune/ui-spec.md Unwired Elements are automatically missing |
| Infinite converge loop (gaps never reach zero) | HIGH | Caller caps at 2 remediation rounds → Structured Escalation Report; same gap surviving 2 rounds = approach is wrong, not effort |
| Fixing the gap itself "since it's small" | HIGH | Converge never edits source — emit the task, let fix own the change |
| Scanning the whole repo (context blowout) | MEDIUM | Step 2 is targeted Glob/Grep from intent keys — not a repo read |
Treating unrequested as an error to delete | MEDIUM | Scope creep is surfaced for human decision — it may be wanted, undocumented work |
| Declared debt (Unwired Elements, external owner) blocks convergence.clean forever | HIGH | deferred-debt class: reported, never a CV task, never blocks clean — a decorative icon must not cause a round-cap escalation |
| Appending CV tasks for unrequested findings | MEDIUM | Step 5: unrequested = surfaced only; converting scope creep into work items without user decision IS scope creep |
| Double-assessing US-n independently of its ACs | LOW | Story verdict is derived — worst of its AC rows |
Done When
- Intent inventory built from requirements.md + plan + contracts (or NO_SPEC reported)
- Every intent key has a verdict with file-level evidence
- Dead-interaction trace run for every AC-referenced UI element
- Gaps appended as
CV-*tasks with intent keys (or task file byte-identical when clean) convergence.gapsorconvergence.cleanemitted with counts- Convergence Report rendered with evidence column
Returns
| Artifact | Format | Location |
| Convergence Report | Markdown table with evidence | inline |
| Remediation tasks | CV-<round>.<seq> checklist (append-only) | active phase file / master plan |
| Signal | convergence.gaps | convergence.clean with counts | mesh |
Cost Profile
~2000-5000 tokens input (spec + plan + targeted greps), ~500-1500 tokens output. Sonnet — the dead-interaction trace needs code comprehension, not just pattern matching. Runs once per feature (plus ≤2 remediation rounds).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

