本文へ移動
cccskills
無料GitHub で公開

improve-codebase-architecture

Use when reviewing PlainTab architecture, looking for refactoring opportunities, reducing coupling, improving testability, or making modules easier for agents to understand without redesigning stable behavior.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.5 KB
  • agents/openai.yaml259 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Improve PlainTab Architecture

Use this skill for architecture review, not routine feature work. Adapted for PlainTab from Matt Pocock's improve-codebase-architecture skill.

Scope Guard

PlainTab values minimal, stable changes. Do not propose a rewrite. Do not change code during the review unless the user asks for implementation.

Respect:

  • .claude/rules/00-core.md
  • The relevant module rule under .claude/rules/
  • Startup invariants in index.html
  • Storage ownership in js/wallpaper/data.js
  • The no-build-tools/no-frameworks constraint

Vocabulary

  • Module: a file or cohesive runtime area with an interface and implementation.
  • Interface: everything callers must know to use the module, including ordering, config shape, errors, and side effects.
  • Implementation: the code hidden behind that interface.
  • Depth: how much behavior is hidden behind a small interface.
  • Seam: a place behavior can change without editing every caller.
  • Locality: how concentrated the knowledge, bug surface, and change surface are.

Review Process

  1. Pick one area, such as wallpaper sources, settings panel, storage migration, command palette, search, i18n, or startup.
  2. Read the module rule and the current files.
  3. Follow callers enough to understand who depends on the interface.
  4. Look for friction:
    • Understanding one concept requires bouncing through many files.
    • Callers must know too much ordering or storage detail.
    • A module is mostly pass-through and does not buy locality.
    • Two similar flows duplicate subtle behavior.
    • The real behavior is hard to verify through an existing interface.
  5. Apply the deletion test: if deleting the module only moves the same complexity to callers, it is shallow; if deleting it spreads hidden complexity across callers, it is earning its keep.

Output

Present 2 to 5 candidates. For each:

  • Files involved.
  • Current friction.
  • Proposed direction.
  • Benefit in terms of locality, depth, and testability.
  • Risk to startup, storage compatibility, wallpaper visibility, or UI quietness.
  • Recommendation strength: Strong, Worth exploring, or Speculative.

End with the one candidate to tackle first and the smallest safe first step. If the review contradicts an existing project rule, call that out directly instead of burying it.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when preparing a PlainTab release or bumping the PlainTab version, triggered by phrases like "更新版本", "bump version", "upgrade to vX.Y.Z", "发布新版本". Updates manifest.json, runtime UI/version constants, localized changelogs, store listings, release notes, validation notes, and current project docs.

日本語の概要は準備中です。原文の説明を表示しています。

kaininx/PlainTab942026年5月27日 更新

Claude adapter for bumping the PlainTab version. Use when the user asks "更新版本", "bump version", "upgrade to vX.Y.Z", "发布新版本", or asks to prepare a PlainTab release.

日本語の概要は準備中です。原文の説明を表示しています。

kaininx/PlainTab942026年5月27日 更新

Claude adapter for preparing and creating PlainTab git commits with scoped, detailed Conventional Commit messages. Use when the user asks to commit, 提交, stage changes, or use precise Conventional Commit / Google-style commit messages.

日本語の概要は準備中です。原文の説明を表示しています。

kaininx/PlainTab942026年5月27日 更新

Prepare and create PlainTab git commits with scoped Conventional Commit subjects and detailed commit bodies. Use when the user asks to commit, 提交, create a git commit, stage changes, or asks for precise Conventional Commits / Google-style commit messages; especially when the worktree may contain unrelated user changes.

日本語の概要は準備中です。原文の説明を表示しています。

kaininx/PlainTab942026年5月27日 更新

diagnose

無料

Claude adapter for diagnosing PlainTab bugs, broken flows, startup issues, storage or wallpaper regressions, and performance regressions.

日本語の概要は準備中です。原文の説明を表示しています。

kaininx/PlainTab942026年5月27日 更新

diagnose

無料

Use when diagnosing PlainTab bugs, broken UI behavior, failing extension/web-mode flows, storage or wallpaper regressions, startup issues, or performance regressions.

日本語の概要は準備中です。原文の説明を表示しています。

kaininx/PlainTab942026年5月27日 更新

kaininx のスキルをすべて見る

このスキルの問題を報告する