Archify Diagrams
tt-a1i/archify
Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.
Audit an existing repository or multi-module subsystem for evidence-backed architecture improvements, rank bounded candidates, and present them in a visual HTML report with before-and-after diagrams…
$ npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install citypaul/.dotfiles improve-codebase-architecture --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/claude/.claude/skills/improve-codebase-architecture .claude/skills/improve-codebase-architecture && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "improve-codebase-architecture" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/improve-codebase-architecture into .claude/skills/improve-codebase-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "improve-codebase-architecture", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/improve-codebase-architectureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install citypaul/.dotfiles improve-codebase-architecture --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .agents/skills && cp -r skills-src/claude/.claude/skills/improve-codebase-architecture .agents/skills/improve-codebase-architecture && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "improve-codebase-architecture" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/improve-codebase-architecture into .agents/skills/improve-codebase-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "improve-codebase-architecture", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install citypaul/.dotfiles improve-codebase-architecture --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/claude/.claude/skills/improve-codebase-architecture .cursor/skills/improve-codebase-architecture && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "improve-codebase-architecture" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/improve-codebase-architecture into .cursor/skills/improve-codebase-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "improve-codebase-architecture", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/citypaul/.dotfiles.git --path claude/.claude/skills/improve-codebase-architecture--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install citypaul/.dotfiles improve-codebase-architecture --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/claude/.claude/skills/improve-codebase-architecture .gemini/skills/improve-codebase-architecture && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "improve-codebase-architecture" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/improve-codebase-architecture into .gemini/skills/improve-codebase-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "improve-codebase-architecture", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install citypaul/.dotfiles improve-codebase-architectureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .github/skills && cp -r skills-src/claude/.claude/skills/improve-codebase-architecture .github/skills/improve-codebase-architecture && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "improve-codebase-architecture" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/improve-codebase-architecture into .github/skills/improve-codebase-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "improve-codebase-architecture", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install citypaul/.dotfiles improve-codebase-architecture --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/citypaul/.dotfiles.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/claude/.claude/skills/improve-codebase-architecture .opencode/skills/improve-codebase-architecture && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "improve-codebase-architecture" agent skill from https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/improve-codebase-architecture into .opencode/skills/improve-codebase-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "improve-codebase-architecture", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
improve-codebase-architectureAudit an existing repository or multi-module subsystem for evidence-backed architecture improvements, rank bounded candidates, and present them in a visual HTML report with before-and-after diagrams…
Improve Codebase Architecture is an agent skill from citypaul/.dotfiles. Audit an existing repository or multi-module subsystem for evidence-backed architecture improvements, rank bounded candidates, and present them in a visual HTML report with before-and-after diagrams and a top recommendation. Use when the user asks where architecture investment would pay off across a codebase, wants multiple architecture candidates ranked, or needs systemic coupling, shotgun-change, testability, or AI-navigability problems diagnosed. For one named module's responsibility, deepening, splitting, or…
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `agents/openai.yaml`, `references/html-report.md` and `references/source-notes.md`).
It sits in Development, covering Diagrams. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cd4028d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Improve Codebase Architecture loads about 3.3k tokens when it runs, and up to ~7.6k if it reads all its reference files. Until then it costs about 200 tokens; SKILL.md has 1,568 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from citypaul/.dotfiles at commit cd4028d, republished under its MIT licence (© citypaul). 1,568 words, ~3,284 tokens.
.claude/skills/improve-codebase-architecture/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Find the highest-value bounded architecture improvement rather than producing a generic cleanup list. Combine change pressure, caller burden, locality, dependency direction, testability, ownership, runtime risk, and project intent. Use deep-module design as one lens, not as a mandate to consolidate everything.
Keep this skill distinct from:
codebase-design, which designs one selected module's responsibility and caller-facing contract;structure-codebase, which owns physical trees, package boundaries, import direction, enforcement, and folder migration;reduce-system-complexity, which conserves behavior while gathering same-scope evidence for a calibrated claim that total mechanism fell in an already-selected path;evaluate-existing-solutions, which compares current external and built-in implementation options after the job and constraints are selected;refactoring, which implements behavior-preserving improvements after the safety net is trustworthy.A request specifically to review a source tree, folder scheme, package split, or import enforcement belongs directly to structure-codebase. Use this skill when the unresolved question is which architecture investment is worth making and why now. On an ambiguous “architecture refactor” request, audit and select first; do not start this and refactoring as concurrent workflows.
Read references/html-report.md before creating the report. Read references/source-notes.md when explaining provenance or comparing this adaptation with its upstream source.
Use the user's named scope when provided. Otherwise infer a useful review area from several signals:
Walk enough history to distinguish an active hotspot from a one-off migration. When evidence is scattered, state the uncertainty and widen only as much as needed.
Inspect:
Do not create a global CONTEXT.md, invent an ADR path, or silently coin domain terms. Load ubiquitous-language only when a real terminology decision arises.
Follow representative behavior from entrypoint to observable outcome. Record:
Use parallel exploration when independent repository areas can be inspected without duplicating work. Give explorers raw scope and evidence, not a preferred diagnosis.
Look for more than consolidation:
Consult codebase-design in lens-only mode for depth, leverage, locality, interface burden, seams, and thin-edge safeguards. Do not run its contract workflow or propose an exact interface before selection. Load structure-codebase, hexagonal-architecture, or domain-driven-design only when the candidate actually involves their concerns.
Reject candidates based only on file length, folder aesthetics, a single adapter, one duplicated code shape, or speculative future flexibility.
For each candidate, weigh:
| Dimension | Evidence to seek |
|---|---|
| Why now | Active change pressure, defects, planned work, or measurable maintenance cost |
| Locality gain | Policy, bugs, and verification would move to one coherent owner |
| Caller leverage | Common callers would learn and coordinate materially less |
| Architectural honesty | Ownership, runtime, trust, failure, and dependency direction improve |
| Testability | Stable behavior can be exercised without reconstructing internals |
| Migration safety | A small reversible path and trustworthy verification exist |
| Counterevidence | Independent change axes, thin-edge roles, compatibility, or fidelity gaps argue against it |
Assign one recommendation strength:
Do not use a numeric score that implies false precision. Give a confidence level separately from recommendation strength.
If no candidate rises above speculative, recommend no architecture investment now. State what evidence or change pressure would justify revisiting the area rather than manufacturing a top refactor.
Create the visual report as a first-class deliverable using references/html-report.md.
If the user explicitly requests Markdown or another format, honor that choice while preserving the same candidate content.
Stop after the audit unless the user already authorized a specific candidate. Ask which candidate to explore, leading with the top recommendation.
For the selected candidate:
grill-me where installed when constraints or trade-offs remain decision-heavy. Otherwise, ask one focused question at a time and include a recommended answer with its trade-off.codebase-design and its Design It Twice process for a consequential contract.ubiquitous-language if the design needs a new or changed domain term.structure-codebase if placement, packages, exports, or dependency enforcement change.evaluate-existing-solutions only when the selected direction introduces or replaces a material generic mechanism or dependency; do not research products for every audit candidate.Only implement when requested:
finding-seams as needed, then characterisation-tests; run mutation-testing over the accumulated change area at the end-of-phase PR-readiness gate.refactoring, keeping observable behavior stable.reduce-system-complexity, preserving behavior while applying the behavior gate on every slice and the mechanism gate at terminal reduction.tdd, testing, and refactoring during implementation, then mutation-testing once for the accumulated change at PR readiness.api-design.structure-codebase and its migration gates.hexagonal-architecture.planning after the candidate and contract are selected.evaluate-existing-solutions after candidate selection and before implementation planning.double-check for an adversarial second opinion.Keep moves, dependency inversion, behavior changes, and compatibility removal in separate verifiable slices wherever possible.
Every reported candidate must contain:
Adapted from Matt Pocock's MIT-licensed improve-codebase-architecture skill and HTML report resource, with its deep-module lens supplied by the attributed codebase-design sibling. See references/source-notes.md and LICENSE for pinned provenance and license terms.
© citypaul, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in claude/.claude/skills/improve-codebase-architecture of citypaul/.dotfiles.
Open the folder on GitHubat commit cd4028d
Improve Codebase Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Improve Codebase Architecture this skillcitypaul/.dotfiles | 739 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Archify Diagramstt-a1i/archify | 79k | — | ~2.9k | Automated safety check: Pass | MIT | |
| JSON Canvasheyitsnoah/claudesidian | 2.6k | 18 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Diagram Designcathrynlavery/diagram-design | 45k | 1 repos | ~7.5k | Automated safety check: Pass | MIT | |
| Fireworks Tech Graphtisfeng/Easydict | 15k | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Excalidraw Diagramcoleam00/excalidraw-diagram-skill | 5k | 2 repos | ~6.1k | Automated safety check: Pass | None |
tt-a1i/archify
Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.
heyitsnoah/claudesidian
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections.
cathrynlavery/diagram-design
Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.
tisfeng/Easydict
Create precise SVG technical diagrams, export PNG or offline HTML, and animate supported semantic SVGs to GIF.
coleam00/excalidraw-diagram-skill
Create Excalidraw diagram JSON files that make visual arguments.
Agents365-ai/drawio-skill
Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.
citypaul/.dotfiles
Discover and, with authorization, install agent skills from the open skills ecosystem.
citypaul/.dotfiles
Render the shape of code — module boundaries, the types that cross them, signatures, and a cited call graph — for code that already exists or a change about to be built.
citypaul/.dotfiles
Design, audit, and evolve physical source and package structures that expose real architectural boundaries while keeping related behavior together.
citypaul/.dotfiles
Review test quality using Dave Farley's eight properties of good tests.
citypaul/.dotfiles
A skill your agent uses when modifying existing code that lacks tests and you need to document its actual current behavior before making changes -- the legacy code dilemma where you need tests to…
citypaul/.dotfiles
Systematic CI/CD failure diagnosis using hypothesis-first investigation, local reproduction, and environment delta analysis.
Categories
Audit an existing repository or multi-module subsystem for evidence-backed architecture improvements, rank bounded candidates, and present them in a visual HTML report with before-and-after diagrams…. dotfiles. Audit an existing repository or multi-module subsystem for evidence-backed architecture improvements, rank bounded candidates, and present them in a visual HTML report with before-and-after diagrams and a top recommendation.
Improve Codebase Architecture fits situations like: the user asks where architecture investment would pay off across a codebase; wants multiple architecture candidates ranked; needs systemic coupling; AI-navigability problems diagnosed.
Run `npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a claude-code`. Or copy the skill folder (claude/.claude/skills/improve-codebase-architecture in citypaul/.dotfiles) into .claude/skills/improve-codebase-architecture in your project. Claude Code loads it when a task matches its description.
Run `npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a codex`. Or copy the skill folder (claude/.claude/skills/improve-codebase-architecture in citypaul/.dotfiles) into .agents/skills/improve-codebase-architecture in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add citypaul/.dotfiles --skill improve-codebase-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/improve-codebase-architecture, .gemini/skills/improve-codebase-architecture, .github/skills/improve-codebase-architecture and .opencode/skills/improve-codebase-architecture in your project.
SKILL.md names no scripts, command-line tools or credentials: Improve Codebase Architecture is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Improve Codebase Architecture is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Improve Codebase Architecture: Archify Diagrams (tt-a1i/archify, 79k stars), JSON Canvas (heyitsnoah/claudesidian, 2.6k stars), Diagram Design (cathrynlavery/diagram-design, 45k stars) and Fireworks Tech Graph (tisfeng/Easydict, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
citypaul (a GitHub user) maintains it in citypaul/.dotfiles, which has 739 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 2, 2026.
Source: citypaul/.dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.