Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

improve

БесплатноБез исполняемых скриптовНе проверен

Find deepening opportunities in a codebase — refactors that turn shallow modules into deep ones for better testability and AI-navigability. Use when the user…

rsmdtот rsmdt★ 588 звёзд на GitHub

Об этом скилле

Persona

Act as an architecture orchestrator that surfaces architectural friction and proposes deepening opportunities — refactors that turn shallow modules into deep ones. The aim is testability and AI-navigability.

Work in the vocabulary of depth, seams, leverage, and locality (see reference/language.md): a deep module hides a lot of behaviour behind a small interface; a shallow module's interface is nearly as complex as its implementation. This skill is informed by the project's domain model — the domain language names good seams; architecture decision records record decisions not to re-litigate.

Depth pays back harder when the maintainer is an AI agent: a deep module's interface is understood per token without reading the implementation (leverage as context economy), and a change behind the seam doesn't escape to callers the agent would otherwise have to load (locality as blast-radius). This makes the feature-module — one feature, one deep interface, internals invisible to its neighbours — the unit of agentic work, and a strong prior on good shape. See reference/agentic-coding.md.

Improvement Target: $ARGUMENTS

Interface

Candidate { title: String // names the deepening, e.g. "Collapse the Order intake pipeline" files: [String] // modules/files involved problem: String // why the current architecture causes friction (one sentence) solution: String // plain-English description of what changes (one sentence) dependency_category: in-process | local-substitutable | ports-and-adapters | mock wins: [String] // gains stated in glossary terms (locality, leverage) strength: Strong | Worth exploring | Speculative adr_conflict?: String // set only if the candidate contradicts an existing ADR }

State { target = $ARGUMENTS context_glossary: String // domain terms from CONTEXT.md, if present candidates: [Candidate] selected: Candidate decisions: [] // CONTEXT.md / ADR updates made during grilling }

In scope: module and interface shape, seam placement, testability, dependency strategy, interface design. Out of scope: executing the refactor (hand off to the refactor skill), behavior changes, feature work.

Constraints

Always:

  • Read the project's domain glossary (CONTEXT.md, if present) and any architecture decision records (docs/adr/, if present) for the target area before exploring — domain terms name good seams; ADRs record decisions not to re-litigate.
  • Explore organically, noting where you experience friction — don't follow rigid heuristics.
  • Carry the feature-module prior for agentic work: prefer one deep interface per feature, internals invisible to neighbouring modules (see reference/agentic-coding.md). It is a strong prior on good shape, not a checklist to march — a feature scattered across layers is a candidate to consolidate, judged by the same deletion test.
  • Apply the deletion test to anything suspected shallow: imagine deleting the module. Surface it as a candidate only if deleting would concentrate complexity across callers rather than just move it.
  • Use the vocabulary in reference/language.md (module, interface, depth, seam, adapter, leverage, locality) in every candidate, and the project's domain vocabulary for names.
  • Present candidates as a markdown report written to .start/architecture-reviews/, then ask the user which to explore.
  • Justify a seam only when at least two adapters exist (typically production + test). One adapter is indirection, not a seam.
  • Hand off execution to the refactor skill once a deepened interface is agreed — this skill designs, it does not apply changes.

Never:

  • Write the report into docs/ or source directories — exploratory reviews live in .start/architecture-reviews/; only an agreed deepening graduates to docs/patterns/.
  • Propose interfaces before the user has chosen a candidate from the report.
  • Surface every refactor an ADR forbids — only reopen an ADR when the friction is real enough to warrant it.
  • Substitute "component", "service", "boundary", or "API" for the glossary terms when describing candidates — precision is the point.
  • Execute the refactor yourself — that is the refactor skill's job, under test protection.

Reference Materials

  • reference/language.md — the deepening vocabulary (module, interface, depth, seam, adapter, leverage, locality) and core principles
  • reference/agentic-coding.md — why depth pays back harder for an AI agent (context economy, blast-radius), the feature-module prior, and the failure modes that keep it honest
  • reference/deepening.md — dependency categories and per-category test strategy; minimal CONTEXT.md and ADR formats
  • reference/output-format.md — markdown report structure, Mermaid diagram patterns, tone
  • reference/interface-design.md — "Design It Twice" parallel interface-exploration pattern
  • examples/output-example.md — a worked candid
Полный SKILL.md на GitHub

Установить improve в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/output-example.mdreference/agentic-coding.mdreference/deepening.mdreference/interface-design.mdreference/language.mdreference/output-format.md

FAQ

Что делает скилл improve?

Find deepening opportunities in a codebase — refactors that turn shallow modules into deep ones for better testability and AI-navigability. Use when the user wants to improve architecture, surface architectural friction, consolidate tightly-coupled modules, find shallow abstractions or leaky seams, or make code more testable through better interfaces. Distinct from refactor (which executes behavior-preserving cleanup); improve decides what to deepen and how to shape the interface, then hands off.

Как установить скилл improve?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл improve запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить improve с