Skip to content
Agentmart
Submit a tool

improve-codebase-architecture

勘查程式庫的深化機會,排序後呈上,再對你挑中的那一個進行拷問。

Skill by Luca0x5755

IndexedMIT★ 3
Write a review

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/luca0x5755-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.

We use your email only for this newsletter. Privacy

About

勘查程式庫的深化機會,排序後呈上,再對你挑中的那一個進行拷問。

No 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

What's inside

Skill name
improve-codebase-architecture
Description
勘查程式庫的深化機會,排序後呈上,再對你挑中的那一個進行拷問。
License
MIT
Instructions
39 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Improve Codebase Architecture

Upkeep, not feature work. Run it when there is a spare moment and the goal is to keep the codebase good to operate in — for agents and for you.

This skill **surveys**. It finds candidates and hands the chosen one into the main flow. It does not refactor.

## The thing being looked for

A **deep module**: a lot of behaviour behind a small interface. The opposite — a shallow module — costs more to use than it saves, because its interface is nearly as complicated as the thing it hides.

The signals, in rough order of how much they cost:

- **Shallow modules** — a wrapper whose interface restates its implementation
- **Leaky interfaces** — callers that must know the internals to use it correctly (call order, initialise-then-use, awareness of a private cache)
- **Information leakage** — one design decision spread across several modules, so changing it means changing all of them
- **Pass-through layers** — a function that only forwards to another, adding a name and nothing else
- **Temporal decomposition** — modules split by *when* things happen rather than *what* they know, which spreads one concept across each stage
- **Missing seams** — behaviour with no boundary to test at (this is what `/diagnosing-bugs` hands over when a bug had nowhere to be caught)
- **Conjoined change** — files that always appear in the same commit, but live apart

`git log` earns its keep here: files that change together, and files that change constantly, are where the real coupling is — independent of what the structure claims.

## Process

**Survey.** Read broadly. Note evidence, not impressions — a claim needs a file and a line.

**Rank by leverage.** Each candidate gets: what is wrong, the evidence, what it costs today, and roughly what fixing it costs. Rank by cost-today ÷ fix-cost, not by how ugly it is.

Ugly and cheap to live with loses to clean-looking and expensive every time.

**Present and stop.** Show the ranked list. The user picks. Picking one **generates an idea** — hand it to `/grill-with-docs` to design, then the main flow builds it.

## Rules

- **Do not refactor here.** Surveying and changing in one pass produces a diff nobody can review.
- **No speculative generality.** "This will be hard to extend later" is not a finding unless there is a real, named, near-term extension.
- **Say when it is fine.** A survey that always finds work is a survey that is padding.

From Luca0x5755/luca-skills, MIT.

More from Luca0x5755/luca-skills

Signals

Stars
3
Forks
1
Open issues
0
Last commit (this folder)
Jul 28, 2026 (3 months ago)
Last release
Oct 8, 2026 (21 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Luca0x5755

Cite this page

improve-codebase-architecture skill. Agent Mart. https://agentmart.dev/skills/luca0x5755-improve-codebase-architecture (last updated 2026-10-24)