Skip to content
cccskills
FreePublished on 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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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.

The English summary is being prepared. Showing the original description.

kaininx/PlainTab95Updated May 27, 2026

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.

The English summary is being prepared. Showing the original description.

kaininx/PlainTab95Updated May 27, 2026

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.

The English summary is being prepared. Showing the original description.

kaininx/PlainTab95Updated May 27, 2026

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.

The English summary is being prepared. Showing the original description.

kaininx/PlainTab95Updated May 27, 2026

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

The English summary is being prepared. Showing the original description.

kaininx/PlainTab95Updated May 27, 2026

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

The English summary is being prepared. Showing the original description.

kaininx/PlainTab95Updated May 27, 2026

See all skills by kaininx

Report a problem with this skill