Logo vun Collapse Pass

Collapse Pass

OrganisatiounBeléift
EpicenterHQ
collapse-pass

Find and carry through worthwhile code simplifications across recent edits, named files, or a subsystem. Use for a collapse pass, a refactoring pass, another simplification pass, "simplify this", clean up code, or a hunt for indirection and dead abstractions. Specific transformations, planning requests, review-only requests, and explicit file limits determine the work. Use control-flow for a request limited to one function's branching.

Iwwersiicht

EditeurEpicenterHQ
Repositoryepicenter
Skill-Nummcollapse-pass
Stären
4.8K
Forks
386
Matgeliwwert Fichieren
5
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.

  • 5 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

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

Installatioun

Installéiert de KI-Skill Collapse Pass an TypingMind, fir e mat all LLM ze benotzen, oder füügt 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 „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/collapse-pass
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu 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 de Skill-Verzeechnes vun deem KI-Agent.

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

An TypingMind benotzen

Aktivéiert Collapse Pass 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 Collapse Pass automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Collapse Pass 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-Keys.

  • 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.

Collapse pass

A collapse pass actively finds and removes complexity that does not earn its place. It owns the hunt and carries worthwhile changes through implementation and verification. Read the relevant refactoring methods for caller evidence, safe inlining, typed boundaries, or straggler cleanup.

Start and expand the hunt

The requested outcome determines the work. A named transformation supplies the candidate: perform and verify it without turning the request into an open-ended hunt. Planning and proposal requests produce plans or proposals; review-only requests produce findings without edits. A broad pass authorizes the hunt below.

Start with named files, recent edits, or the subsystem established in the conversation. Treat that scope as a starting point unless the user explicitly limits it. With no named target, infer the starting area from the conversation and current changes; unrelated dirty files are not permission to edit them.

After implementation, inspect new helpers, components, callbacks, types, and file splits as well as existing code. Trace actual callers, dependencies, and neighboring implementations. Expand when those relationships reveal another concrete opportunity, and explain the connection before editing beyond the starting area. Respect instructions such as "only these files." Read external callers to establish behavior, but defer a candidate if completing it requires edits beyond that hard limit.

"Another pass" means pursue fresh candidates, including simplifications exposed by the previous pass. Use prior findings and rejected candidates to choose new searches rather than repeating the same diff review. Search for the same shape in related code when an accepted simplification suggests a recurring pattern. Revisit a rejected candidate when new evidence changes its justification. Move through the relevant subsystem without requiring the user to nominate every next file.

An implementation pass authorizes routine simplifications within this scope. Do not require a proposal approval for each edit. Stage, commit, push, or create a PR only when authorized; when committing, keep each logical simplification reviewable.

PR and branch starting points

For a PR or branch, establish its comparison base from PR metadata, the upstream tracking branch, or origin/main, then start with changed files and their callers. Use an isolated worktree when switching targets would disturb the current checkout. Never reset the user's active work. Report the checkout path and any uncommitted edits at handoff. A request to review a PR remains read-only unless implementation is authorized.

Judge candidates by what disappears

Look for forwarding layers, shallow aliases, duplicated decisions, derivable state, dead exports, obsolete compatibility paths, and files that only pass work elsewhere. Use code-audit and the smell catalog when a concrete search helps.

For Svelte input wrappers, hunt paired read/write, getValue/setValue, and forwarding value-change props that recreate the binding protocol. Use Svelte function bindings when one bindable value removes that custom API. Trace transformations and lifecycle guards before collapsing them; commands and draft ownership may earn their boundaries.

For input consumers, distinguish immediate editing from explicit submission. Immediate controls read the current editor and submit replacements. Explicit forms own unfinished input, preferably one replace-only raw draft object for fields submitted together. Single values and intentionally mutable proxied forms are valid when they fit the interaction; rune count is not the target. Hunt mirrored editor values, effect-driven synchronization, parallel draft/payload copies, unnecessary snapshot or clone layers, raw-state property mutation, and late results that erase newer typing. Classify search matches before changing them.

For file editor consumers, selection determines purpose: Files edits full text, product lists edit structured records, and invalid files have a repair route. Hunt per-record Source tabs, raw-mode admission, duplicated selection and selected-tab conditions inside shared Tabs.Content. Follow the Svelte editor ownership patterns. Use shared Input and Textarea retirement rather than forwarding wrappers. Keep genuine unfinished forms, accepted-content owners, path-operation facts, edit identities and rich-widget history. Remove an owner only after naming who will preserve its information.

Trace callers and mentally inline the candidate. Preserve evaluation timing, receiver binding, caching, and snapshot semantics when inlining. Keep a boundary when it names non-obvious work, enforces a shared rule, owns a lifecycle, isolates unsafe input, or makes a long phase understandable. Caller count alone does not decide. Use one-sentence-test when a file's purpose is unclear, rather than forcing the exercise on every small change.

Every accepted change should remove an unnecessary concept, exported surface, file, navigation hop, duplicated decision, or maintenance burden. Fewer lines alone are insufficient. Do not manufacture changes to make a pass look productive. If an edit fails this test on rereading, undo only that edit while preserving unrelated and unsaved work.

When a library refuses the proposed model, treat that as evidence about the model. Do not reimplement its public surface to make the simplification work. Read library refusal for this situation. Use rethink for ownership, lifecycle, API, or package-boundary decisions. Use asymmetric-wins when refusing a small promise would delete a disproportionate code family; name the promise and establish whether the user's authorization covers changing it.

Carry each finding through

Establish the starting state of target files so your changes remain distinguishable from existing edits. Before editing, briefly name the unnecessary complexity, why the proposed shape is better, and any material tradeoff. A routine finding needs a short progress update, not a mandatory transcript template or proposed diff.

Apply the change, inspect its callers, and run checks appropriate to the affected behavior. Verify external library behavior against official docs or installed types when correctness depends on it. Re-search removed or renamed symbols and clean up stale imports, exports, comments, tests, and documentation as part of the same logical change. Preserve coverage for behavior that remains; redundant tests can be removed when retained coverage protects the same contract. Then use what the change revealed to select the next candidate.

Finish with post-implementation-review on the cumulative affected system. Verification failures must be resolved or reported with evidence; do not attribute them to the baseline without checking.

Protect load-bearing information

Read durable contracts before editing affected storage, sync, auth, or public-contract code, and verify its claims against current source. Preserve stored data, unsaved input, and real consumer contracts. For file-authoritative recovery or consistency machinery, establish the visible repair path using repairability before removing a protection.

Surface consequential changes that exceed the authorized outcome: product behavior, durable formats, externally consumed contracts, or unresolved ownership decisions. Existing authorization may already settle the decision; do not ask again merely because files merge or an internal signature changes. Preserve documented invariants when moving code instead of treating the presence of JSDoc as a reason to pause.

Finish a useful pass

Continue while grounded opportunities remain in the relevant subsystem. Stop when further exploration yields no convincing simplifications, remaining changes need a consequential decision from the user, or an explicit budget is reached. A few unproductive files are evidence to change the search; they are not an automatic stopping rule unless the user chose one. Resolve regressions introduced by the pass before proceeding to unrelated candidates.

Report each logical simplification and its files, why it helped, what was verified, and any meaningful remaining decision. Mention important rejected candidates when they prevent repeat work. Use report guidance for a longer campaign; routine passes need a concise result.

A plain "collapse pass" needs no goal, checkpoint count, or scope form. For a sustained campaign, honor any explicit budget or commit preference. Use agent-goal when asked to draft a goal.

Matgeliwwert Fichieren

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 Collapse Pass?

Find and carry through worthwhile code simplifications across recent edits, named files, or a subsystem. Use for a collapse pass, a refactoring pass, another simplification pass, "simplify this", clean up code, or a hunt for indirection and dead abstractions. Specific transformations, planning requests, review-only requests, and explicit file limits determine the work. Use control-flow for a request limited to one function's branching.

Firwat Collapse Pass op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Collapse Pass 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 vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Collapse Pass an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/EpicenterHQ/epicenter/tree/main/.agents/skills/collapse-pass 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 Collapse Pass 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 Collapse Pass benotzen?

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

Ass de KI-Skill Collapse Pass gratis?

De Skill gëtt vum EpicenterHQ op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat 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 en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

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