Skip to main content

improve-codebase-architecture

Use when: propose structural improvements to a codebase without rewriting it wholesale.

ソース情報

リポジトリ
kimtth/agent-skill-100-lines-or-less
ソースの最終更新活動
2026年6月26日 02:15
検出された SKILL.md の言語
英語
スター
2
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
improve-codebase-architecture
description
Use when: propose structural improvements to a codebase without rewriting it wholesale.
Goal: identify high-leverage architecture changes and sequence them safely. Use for: - tangled dependencies, leaky boundaries, or scattered logic - modules that are hard to change or test in isolation - recurring bugs that trace back to structure, not code Workflow: 1. Map the current modules, boundaries, and data flow. 2. Locate the pain: what change is consistently hard or risky. 3. Name the architectural cause, not the surface symptom. 4. Propose a target structure with clearer boundaries. 5. Sequence the move as small, independently shippable steps. 6. Define how each step is verified before the next. Look for: - deep modules with simple interfaces vs. shallow leaky ones - cyclic dependencies and god objects - business logic mixed with I/O or framework code - duplicated knowledge across layers Rules: - justify each change by a concrete pain it removes - prefer incremental migration over big-bang rewrite - keep public behavior stable unless change is the goal - do not add abstraction without a second real use
GitHubで見る