Logo vun Improve Codebase Architecture

Improve Codebase Architecture

Communautéit
Integralist
improve-codebase-architecture

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through the one the user picks. Use when asked to improve a codebase's architecture, find shallow modules, or make code more testable and easier for agents to navigate.

Iwwersiicht

EditeurIntegralist
Repositoryagent-skills
Skill-Nummimprove-codebase-architecture
Stären
26
Forks
1
Matgeliwwert Fichieren
1
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

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

Installatioun

Installéiert de KI-Skill Improve Codebase Architecture 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/Integralist/agent-skills/tree/main/.agents/skills/improve-codebase-architecture
  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/Integralist/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/.agents/skills/improve-codebase-architecture .claude/skills/improve-codebase-architecture
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Improve Codebase Architecture 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 Improve Codebase Architecture automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Improve Codebase Architecture 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.

Architecture vocabulary. Use the module-design principles and vocabulary in code-module-design: module, interface, depth, seam, adapter, leverage, locality, the deletion test, and the interface as the test surface. One adapter suggests a hypothetical seam; two make it real.

Domain language. Use the root GLOSSARY.md and call a module by its domain name, such as "the Order intake module," not an implementation name such as "the FooBarHandler" or "the Order service." If there is no GLOSSARY.md but a CONTEXT.md exists, use it instead and warn the user with ⚠️ to rename it rather than creating a duplicate. Treat ADRs in docs/adr/ as decisions not to relitigate.

Workflow

  1. Scope before you scan. Deepening pays off by easing future changes, so weight the parts of the codebase that change most. Take the user's direction if they gave one (a module, subsystem, or pain point). Otherwise walk back a good stretch of git log --oneline for the files and areas that keep coming up, widening the net if changes are scattered. Read the glossary and any ADRs for that area. Done when you know where to look.

  2. Explore with a subagent, following SUBAGENT-STEERABILITY.md, including its completion and retry protocol. Have it walk the code and note friction: understanding one concept means bouncing between many small modules; an interface nearly as complex as its implementation; pure functions extracted for testability while the bugs hide in how they're called; tightly coupled modules leaking across their seams; code that's untested or hard to test through its interface. Apply the deletion test to anything that looks shallow: deleting it should concentrate complexity, not just move it. Done when you have a list of candidates.

  3. Write the HTML report to <tmpdir>/architecture-review-<timestamp>.html ($TMPDIR, falling back to /tmp, or %TEMP% on Windows), so nothing lands in the repo and each run gets a fresh file. Before drafting, load design and its selected theme and HTML guidance, then follow HTML-REPORT.md. Give each candidate a card with its files, the problem, the solution in plain English, benefits in terms of locality, leverage, and tests, a before/after diagram, and a strength badge (Strong, Worth exploring, or Speculative), and end with the top recommendation and why. Surface a candidate that contradicts an ADR only when the friction justifies reopening it, and mark it ("contradicts ADR-0007, but worth reopening because…"). Propose no interfaces yet. Open the file (open on macOS, xdg-open on Linux, start on Windows), give its absolute path, and ask "Which of these would you like to explore?" Done when the user picks one.

  4. Grill the chosen candidate with the grilling skill: constraints, dependencies, the shape of the deepened module, what sits behind the seam, and which tests survive. Keep the domain model current as decisions settle, using domain-modeling:

    • Add a new concept's name to the glossary when you name a deepened module after it, creating GLOSSARY.md if neither file exists, and update a term the moment it's sharpened.
    • When the user rejects the candidate for a reason a future review would need to know, offer: "Want me to record this as an ADR so future architecture reviews don't re-suggest it?" Skip ephemeral reasons ("not worth it right now") and self-evident ones.
    • To explore alternative interfaces, follow DESIGN-IT-TWICE.md.

    Done when the user has settled the candidate's design or rejected it.

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 Improve Codebase Architecture?

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through the one the user picks. Use when asked to improve a codebase's architecture, find shallow modules, or make code more testable and easier for agents to navigate.

Firwat Improve Codebase Architecture op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Improve Codebase Architecture 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 Improve Codebase Architecture an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Integralist/agent-skills/tree/main/.agents/skills/improve-codebase-architecture 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 Improve Codebase Architecture 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 Improve Codebase Architecture benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Improve Codebase Architecture 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 Improve Codebase Architecture gratis?

De Skill gëtt vum Integralist 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 👇