Logo: Extracting Spec Design Ladders

Extracting Spec Design Ladders

Communautéit
abagames
extracting-spec-design-ladders

Reverse-engineers existing source code into a two-layer artifact ladder — a concrete reproduction spec (preserves behavior-affecting constants, same-tick ordering, input edges, collision/threshold semantics; drops cosmetics) and an abstract design doc (intentionally omits reproduction detail and records what is unspecified vs. safe-to-assume). Use to document or recover a program's intent and reproducible behavior without leaking implementation-only detail into the design layer.

Iwwersiicht

Editeurabagames
Repositoryagentic-gamedev-skills
Skill-Nummextracting-spec-design-ladders
Stären
39
Forks
6
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

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

Installatioun

Installéiert de KI-Skill Extracting Spec Design Ladders 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/abagames/agentic-gamedev-skills/tree/main/.agents/skills/extracting-spec-design-ladders
  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/abagames/agentic-gamedev-skills.git /tmp/agentic-gamedev-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-gamedev-skills/.agents/skills/extracting-spec-design-ladders .claude/skills/extracting-spec-design-ladders
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Extracting Spec Design Ladders 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 Extracting Spec Design Ladders automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Extracting Spec Design Ladders 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.

Extracting Spec / Design Ladders

Purpose

Turn read-only source into two separated layers with non-overlapping responsibilities: a faithful reproduction spec (enough to rebuild observable behavior) and an abstract design doc (intent and experience, deliberately stripped of reproduction detail).

When to Use

  • Recovering intent and reproducible behavior from an existing program.
  • Producing documentation that must let someone REBUILD behavior (spec) and, separately, understand DESIGN intent (design doc) without the two contaminating each other.

When Not to Use

  • Pure summary or README work where reproduction fidelity is not required.
  • When a maintained spec already exists and only needs editing.

Required Inputs

  • Read-only source (treat as input only; never edit it).
  • Any engine/runtime convention doc, so shared helper behavior is referenced once, not re-specified in every artifact.

Procedure

  1. Spec layer. Preserve only what changes observable play/behavior: goal, core loop, required state & resources, input behavior, scoring/failure, balance-critical constants and formulas. Drop cosmetics. The detailed preserve-vs-drop rules — same-tick ordering, collision/hitbox/threshold semantics, spawn/target/random/input-edge behavior, reusable scoring/safety pulses — are a checklist; load references/spec-preservation-checklist.md while writing the spec.

  2. Design layer. Working from the spec only, write the abstract doc: experience core, decisions asked of the user, risk/reward, how tension is built, learning curve, room for reinterpretation, and the invariant structure. Convert numeric balance into qualitative intent. Never leak exact constants, formulas, random ranges, tick counts, or source names. Add explicit recovery guidance: what to treat as unspecified, what is safe to assume, and the restoration priority order.

    The non-abstractable floor. The following are intent, never reproduction detail, and must appear in the design layer stated qualitatively. Dropping them is the characteristic mis-abstraction of this ladder, because they read as mechanical and get filtered out with the constants:

    • What an effect does on contact with each entity class — arms it, destroys it, passes through it, is absorbed by it. "A blast arms its neighbours" and "a blast detonates its neighbours" describe two different games and neither requires a number.
    • Behaviour at boundaries — what a moving or committed object does at a wall or screen edge.
    • What counts toward the goal and the failure condition — in particular whether events the player did not cause are credited.

    Each of these can be written without a single constant, and a design doc missing them cannot transmit the core loop — which the doc's own restoration priority calls the thing that matters most. Observed case: all three were dropped as "implementation detail", the gate caught it, and every repair landed in the design layer with none in the spec, because the spec had them all along.

  3. Log what was abstracted, preserved, omitted, and added as recovery guidance, so the abstraction is auditable. Keep it as a short section inside the design doc, OR — if the log needs to cite specific abstracted constants or source names — in a sibling log file, since putting those specifics inside the design doc would violate its no-leak rule.

Validation

Before handing off, run one self-check that costs nothing: if a blind reader had to state the core loop in one sentence, which sentence of the design doc would they build it from? If no single passage answers, the abstraction has already failed and the gate will only confirm it at full price.

Validation itself is not run by you, the extractor — you have read the source and cannot judge the artifacts blind. It is run by an independent party (the orchestrator spawns a fresh agent that sees only the artifact text). Hand the artifacts off to an isolated blind-restoration gate run under firewall:

  • spec-only → can an implementable structure be recovered? (pass / weak-pass / fail)
  • design-only → can a reproduction spec hypothesis be recovered?

A fail on either means that layer lost required structure (spec dropped a behavior-affecting detail, or design omitted something unrecoverable). Revise and re-gate. A weak-pass on the design layer is expected and acceptable — abstract docs intentionally drop reproduction detail.

If no isolated gate can be spawned, degrade explicitly: run the checklist's Self-Check section against each layer and record that validation was self-audit, not a blind gate — do not present it as gated.

Common Failure Modes

  • Reproduction detail leaking into the design doc (constants, tick counts, source names) — the two layers stop having distinct jobs.
  • Dropping ordering/edge behavior that silently changes the dominant strategy.
  • Over-specifying cosmetics, under-specifying timing/collision.
  • Writing the design doc from the source instead of from the spec, which re-imports detail the spec was meant to filter.

Output

Two artifacts — a reproduction spec and an abstract design doc — plus an extraction log, each validated by the restoration gate.

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 Extracting Spec Design Ladders?

Reverse-engineers existing source code into a two-layer artifact ladder — a concrete reproduction spec (preserves behavior-affecting constants, same-tick ordering, input edges, collision/threshold semantics; drops cosmetics) and an abstract design doc (intentionally omits reproduction detail and records what is unspecified vs. safe-to-assume). Use to document or recover a program's intent and reproducible behavior without leaking implementation-only detail into the design layer.

Firwat Extracting Spec Design Ladders op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Extracting Spec Design Ladders 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 Extracting Spec Design Ladders an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/extracting-spec-design-ladders 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 Extracting Spec Design Ladders 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 Extracting Spec Design Ladders benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Extracting Spec Design Ladders 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 Extracting Spec Design Ladders gratis?

Jo. abagames 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 👇