improve-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then drill into the selected option with concrete interface and migration…
Skill by veverkap
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/veverkap-improve-codebase-architecture
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/improve-codebase-architecture
Tools it pre-approves 5
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
ReadGlobGrepBashAgent
What's inside
- Skill name
improve-codebase-architecture- Description
- Scan a codebase for deepening opportunities, present them as a visual HTML report, then drill into the selected option with concrete interface and migration guidance.
- License
- MIT
- Allowed tools
- Read, Glob, Grep, Bash, Agent
- Instructions
- 88 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves any shell command
Files (2)
- HTML-REPORT.md
- SKILL.md
SKILL.md (first lines)
# Improve Codebase Architecture Surface architectural friction and propose deepening opportunities: refactors that turn shallow modules into deeper ones with better locality, leverage, and testability. ## Design Vocabulary Use these terms consistently: - module - interface - depth - seam - adapter - leverage - locality - deletion test If `CONTEXT.md` exists, use its domain language. If ADRs exist in `docs/adr/`, treat them as current constraints unless there is concrete evidence they should be revisited. ## Process ### 1. Explore Read the domain glossary (`CONTEXT.md`) and relevant ADRs first, if present. Then explore the codebase and note friction: - Understanding one concept requires jumping across many files. - A module interface is nearly as complex as its implementation. - Testability exists only through extracted helpers, while call-site behavior remains hard to reason about. - Tight coupling leaks across seams. - Important behavior is untested or difficult to test through the current interface. Apply the deletion test to suspicious abstractions: if deleting it only moves complexity elsewhere, it is likely shallow. ### 2. Generate HTML Architecture Report Write a self-contained HTML report to the OS temp directory, not the repository. Path rules: - Resolve temp dir from `$TMPDIR`, else `/tmp` on Unix-like systems, else `%TEMP%` on Windows. - Write to `<tmpdir>/architecture-review-<timestamp>.html`. - Open it with `open` (macOS), `xdg-open` (Linux), or `start` (Windows). - Return the absolute report path. Report requirements: - Use Tailwind CDN for layout and styling. - Use Mermaid when graph or flow diagrams add clarity. - Use custom HTML/CSS/SVG where editorial visuals communicate better. - Include before/after visuals for each candidate. For each candidate, include: - Files involved - Problem - Solution - Benefits (in terms of locality and leverage) - Before/after diagram - Recommendation strength: `Strong`, `Worth exploring`, or `Speculative` End with a Top recommendation section: what to do first and why. After writing the report, ask: `Which of these would you like to explore?` ### 3. Drill Into the Selected Candidate Once the user picks a candidate, run a structured drill: 1. Clarify constraints and non-goals. 2. Map dependencies and seam boundaries. 3. Define the proposed interface. 4. Decide what remains behind the seam. 5. Specify tests that validate behavior through the interface. 6. Outline migration steps and rollback strategy. If multiple interface shapes are plausible, design at least two alternatives and compare tradeoffs in complexity, locality, leverage, and testability. ## Context Maintenance As decisions crystallize: - If a new durable domain term appears, add or update `CONTEXT.md`. - If a candidate is rejected for a durable reason, offer to record an ADR so future reviews avoid the same dead end. - Do not create process noise for temporary or obvious reasons. ## Guardrails - Keep recommendations concrete and repo-specific. - Prefer minimal responsible changes over broad rewrites. - Do not modify production code unless the user explicitly asks for implementation. - Do not claim impact without citing where the friction was observed.
From veverkap/skills, MIT.
More from veverkap/skills
- 0.524score
duplicate-code-detector
veverkap
Detect significant duplicate code patterns in recently changed files using semantic analysis and open focused remediation issues (one per pattern, up to 3).
SkillBFreshness: BClaude Code +9 - 0.521score
ci-coach
veverkap
Analyze local CI workflow definitions, identify low-risk efficiency improvements, implement focused updates, and generate a data-backed optimization report.
SkillBFreshness: BClaude Code +9 - 0.521score
code-simplifier
veverkap
Analyze recently modified local code and simplify it for clarity and maintainability while preserving behavior.
SkillBFreshness: BClaude Code +9 - 0.521score
grumpy-reviewer
veverkap
Perform a critical, grumpy senior-style review of local diffs, focusing on correctness, security, performance, and maintainability.
SkillBFreshness: BClaude Code +9 - 0.521score
nitpick-reviewer
veverkap
Perform a detailed local diff nitpick review focused on subtle naming, structure, and consistency issues that linters often miss.
SkillBFreshness: BClaude Code +9 - 0.521score
principal-engineer-review
veverkap
Review local diffs and design changes from a principal engineer standpoint: MVP scope, correctness, maintainability, security, reliability, and reuse of…
SkillBFreshness: BClaude Code +9 - 0.521score
resolve-review-notes
veverkap
Find the GitHub pull request for the current branch, collect and validate all review comments against current code, apply valid fixes, resolve addressed…
SkillBFreshness: BClaude Code +9 - 0.521score
change-fix
veverkap
Diagnose and fix local branch failures or requested issues, verify with project checks, and produce a clear fix summary.
SkillBFreshness: BClaude Code +9 - 0.281score
babysit-changes
veverkap
No description from the publisher yet.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 28, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/veverkap/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from veverkap
- 0.524score
duplicate-code-detector
veverkap
Detect significant duplicate code patterns in recently changed files using semantic analysis and open focused remediation issues (one per pattern, up to 3).
SkillBFreshness: BClaude Code +9 - 0.521score
ci-coach
veverkap
Analyze local CI workflow definitions, identify low-risk efficiency improvements, implement focused updates, and generate a data-backed optimization report.
SkillBFreshness: BClaude Code +9 - 0.521score
code-simplifier
veverkap
Analyze recently modified local code and simplify it for clarity and maintainability while preserving behavior.
SkillBFreshness: BClaude Code +9 - 0.521score
grumpy-reviewer
veverkap
Perform a critical, grumpy senior-style review of local diffs, focusing on correctness, security, performance, and maintainability.
SkillBFreshness: BClaude Code +9 - 0.521score
nitpick-reviewer
veverkap
Perform a detailed local diff nitpick review focused on subtle naming, structure, and consistency issues that linters often miss.
SkillBFreshness: BClaude Code +9 - 0.521score
principal-engineer-review
veverkap
Review local diffs and design changes from a principal engineer standpoint: MVP scope, correctness, maintainability, security, reliability, and reuse of…
SkillBFreshness: BClaude Code +9
Cite this page
improve-codebase-architecture skill. Agent Mart. https://agentmart.dev/skills/veverkap-improve-codebase-architecture (last updated 2026-10-24)