Logo: Analyze

Analyze

Communautéit
ericrisco
analyze

Use when constitution, spec, plan and tasks all exist and you want them cross-read against each other before any code is written — the rsc-sdd pre-implementation gate. Reports coverage gaps, contradictions, duplication, ambiguity and scope drift; edits nothing. NOT the task breakdown (that is `tasks`), NOT the coding (that is `implement`), NOT the post-code test gate (that is `verify`), NOT resolving ambiguity (that is `clarify`).

Add to TypingMind

Iwwersiicht

Editeurericrisco
Repositoryrsc-harness
Skill-Nummanalyze
Stären
239
Forks
24
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ericrisco huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Analyze an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ericrisco/rsc-harness/tree/main/skills/analyze
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ericrisco/rsc-harness.git /tmp/rsc-harness
mkdir -p .claude/skills
cp -r /tmp/rsc-harness/skills/analyze .claude/skills/analyze
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Analyze an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Analyze automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Analyze net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Analyze — the pre-implementation consistency gate

You have a constitution, a spec, a plan and a task list. Four artifacts written at four different moments, by a mind that drifted a little each time. analyze reads all four against each other and surfaces where they disagree. It is the cheapest place in the whole chain to catch a problem — a contradiction found here costs a sentence; the same contradiction found mid-implement costs a rewrite.

Sixth phase of the rsc-sdd chain (constitution → specify → clarify → plan → tasks → analyze → implement); the method itself lives in ../sdd/SKILL.md. It is a gate, not a worker: it produces a report and stops. The user reads the findings and decides what to fix, and which phase to send each fix back to.

Report only. Resolve nothing. Never edit the constitution, spec, plan or tasks; never open a code file to "just fix it"; never silently reconcile a contradiction by picking a side. This one is absolute because a gate that quietly fixes things stops being a gate: the user never learns the spec was wrong, the plan built on the old assumption stays stale, and the "consistency check" has manufactured a new inconsistency. Name the conflict, show both sides with locations, propose where it should be resolved, hand the decision back.

Model tier: heavy (adversarial cross-reading). Resolve and apply it per ../sdd/references/model-routing.md; routing is off unless models.enabled: true in 02-DOCS/wiki/sdd/config.yaml.

Register. Read technical_level in 02-DOCS/wiki/harness/user-profile.md before reporting; with no profile, use analogies and say the harness has not set the register yet. The register changes how the report reads, never what gets checked; the six analyses always run in full.

The report is the same for every reader: a finding table (severity, the two artifacts, the conflict in one line), a one-line why it matters per CRITICAL/HIGH finding, and per finding the recommended resolution phase and the trade-off of leaving it. For a non-technical reader, explain the consequence at implement time with an everyday analogy so they can choose.

Inputs — locate the four artifacts

Read all four before analyzing. The rsc-sdd artifacts live under 02-DOCS/wiki/sdd/, indexed from 02-DOCS/wiki/index.md (the Knowledge map; root CLAUDE.md keeps only a short pointer to it):

ArtifactCanonical locationRole in the check
Constitution02-DOCS/wiki/sdd/constitution.mdThe non-negotiables. Everything below must obey it.
Spec02-DOCS/wiki/sdd/specs/<slug>.mdWHAT & WHY. The source of truth for requirements.
Plan02-DOCS/wiki/sdd/plans/<slug>.mdHOW. Must cover every spec requirement, add nothing the spec didn't ask for.
Taskstask list inside the plan artifactThe ordered, verifiable steps. Must implement the plan, no more.

If any artifact is missing, stop and say so — analyze cannot gate what isn't there. Name the missing one and the phase that produces it. If a <slug> is ambiguous (several specs), ask which feature is being gated; do not analyze all of them blindly.

The six analyses

Run every one. Each compares a specific pair (or the whole set against the constitution) and emits findings.

  1. Constitution compliance — does any spec requirement, plan decision or task violate a non-negotiable (stack canon, quality bar, convention)? A constitution breach is the highest-severity finding there is; the constitution wins by definition.
  2. Requirement coverage (spec → plan → tasks) — map every spec requirement forward. Each must trace to at least one plan section and at least one task. A requirement with no task is a gap (it will silently not ship). Build the coverage map below.
  3. Scope drift (tasks/plan → spec) — map backward. Any plan section or task that satisfies no spec requirement is drift — work the spec never asked for. Flag it; the fix is either cut the work or amend the spec, and that is the user's call.
  4. Contradiction — direct disagreements between two artifacts: the spec says Postgres, the plan says SQLite; the spec says "no auth in v1", a task adds login. Quote both sides.
  5. Duplication — the same requirement stated twice in conflicting words, or two tasks doing the same job. Duplication is where contradictions breed later.
  6. Ambiguity / underspecification — requirements or tasks too vague to implement or to verify ("handle errors gracefully", "make it fast" with no number, a task with no done-check). These do not block by themselves but feed back to clarify (spec) or tasks (missing done-check).
    • Carrier completeness (isolated-implementer check). Because implement/parallel dispatch tasks to context-isolated developer subagents that see only their own task, also confirm the plan carries a §0 Global Constraints block (verbatim project-wide values) and that every task whose correctness depends on a contract it doesn't own has an Interfaces block (Consumes/Produces, exact signatures). A constraint or neighbor-signature that lives only in prose is invisible to the blind worker — flag a missing carrier as AMBIGUOUS (it will surface as drift or breakage at implement time). See ../plan/references/plan-template.md §0 and ../tasks/SKILL.md (Per-task Interfaces).

Requirement coverage map (build this every run)

A copy-able table that makes gaps and drift visible at a glance:

text
REQ-ID | Spec requirement (short)        | Plan section | Task(s) | Status
------ | ------------------------------- | ------------ | ------- | ----------
R1     | Email/password sign-up          | §3 Auth      | T2,T3   | covered
R2     | Rate-limit login (5/min/IP)     | §3 Auth      | —       | GAP
R3     | —                               | §5 Webhooks  | T9      | DRIFT
R4     | "Fast" search                   | §4 Search    | T6      | AMBIGUOUS (no metric)
  • GAP — spec requirement with no task → it won't be built.
  • DRIFT — plan/task with no spec requirement → unrequested scope.
  • AMBIGUOUS — covered but not specific enough to verify later.
  • covered — traces cleanly spec → plan → task.

Severity scale

Rank every finding so the user triages fast:

  • CRITICAL — constitution violation, or a contradiction that makes the artifacts un-implementable as written. Must resolve before implement.
  • HIGH — a coverage GAP on a core requirement, or scope DRIFT that adds real cost. Resolve before implement.
  • MEDIUM — duplication, or AMBIGUOUS items with no number/done-check. Resolve or consciously accept.
  • LOW — wording mismatches, cosmetic inconsistencies. Note and move on.

Output — the report (and where it goes)

Produce a single consistency report:

  1. Verdict line — GATE: PASS (zero CRITICAL/HIGH) or GATE: BLOCKED (one or more CRITICAL/HIGH), with the counts.
  2. Coverage map — the table above.
  3. Findings table — # | Severity | Type | Artifact A (loc) | Artifact B (loc) | Conflict | Resolve in (phase).
  4. Recommended routing — group fixes by the phase that owns them (clarify for spec ambiguity, plan for missing architecture, tasks for a missing done-check, constitution if a principle itself is wrong). If findings pour in across all six checks, the artifacts diverged badly — recommend re-running clarify/plan before a line-by-line analyze is even useful.

Write the report to 02-DOCS/wiki/sdd/analysis/<slug>.md (create the dir if absent) and index it in 02-DOCS/wiki/index.md under the sdd/ topic, so the next phase and the harness can find it. It is an OKF v0.1 wiki article: open it with YAML frontmatter carrying a non-empty type: (use type: analysis), a timestamp in ISO 8601, and standard markdown links — never wikilinks. The report is the artifact analyze owns — it is the only thing analyze writes. Per-run point-in-time; overwrite on re-run, the wiki keeps history.

Render it in the orient voice, in the user's register. Do not log a decision to decisions.md — analyze decides nothing; the phase that resolves the finding logs its own decision.

Anti-patterns

Anti-patternWhy it breaks the gate / do instead
Fixing a "trivial" contradiction in the spec yourselfThen you are clarify/plan/tasks, not analyze. Report it; the user resolves.
Starting to code because nothing CRITICAL turned upAnalyze never transitions to code. Hand the verdict to implement; that phase starts the work.
Waving through plan work the spec never asked for because it's obviously a good ideaThat is DRIFT. Flag it. Good ideas still need the spec amended (user's call), or they are silent scope creep.
Siding with the plan when it contradicts the constitutionThe constitution wins by definition — flag CRITICAL. If the principle itself is wrong, that is a constitution change the user makes, not a quiet override here.
Guessing what a vague requirement meantGuessing defeats the gate. Mark AMBIGUOUS and route to clarify; do not encode your guess.

Result envelope

End with the parseable block every SDD phase shares, so the dispatcher can chain without interpreting prose (contract: ../sdd/SKILL.md):

json
{
  "status": "complete|blocked|failed",
  "executive_summary": "Cross-read of spec/plan/tasks against the constitution; findings ranked.",
  "artifact": "02-DOCS/wiki/sdd/analysis/<slug>.md",
  "next_recommended": "implement",
  "risk": "low|medium|high",
  "skill_resolution": {
    "used": ["analyze"],
    "missing": [],
    "fallback": [],
    "compact_rules": ["Read adversarially across artifacts, not inside one.", "A finding without a location is an opinion."]
  },
  "evidence": ["report path exists", "blockers listed with artifact + location", "constitution conflicts named"]
}

Next in the chain

On GATE: PASS (or once the user consciously accepts the remaining MEDIUM/LOW findings), proceed to implement — execute the tasks with TDD discipline, delegating concrete test tooling to the relevant stack skill (fastapi, nextjs, go, flutter, postgresdb). On GATE: BLOCKED, route each CRITICAL/HIGH finding to its owning phase (clarify, plan, tasks, or constitution), let the user resolve, then re-run analyze. The gate only opens once.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Analyze?

Use when constitution, spec, plan and tasks all exist and you want them cross-read against each other before any code is written — the rsc-sdd pre-implementation gate. Reports coverage gaps, contradictions, duplication, ambiguity and scope drift; edits nothing. NOT the task breakdown (that is `tasks`), NOT the coding (that is `implement`), NOT the post-code test gate (that is `verify`), NOT resolving ambiguity (that is `clarify`).

Firwat Analyze op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Analyze besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Analyze an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ericrisco/rsc-harness/tree/main/skills/analyze an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Analyze benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Analyze benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Analyze domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Analyze gratis?

Jo. ericrisco huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇