ワンクリックで
code-quality
Use this skill when analyzing or refactoring code for readability, simplicity, and maintainability.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use this skill when analyzing or refactoring code for readability, simplicity, and maintainability.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use this skill when adding, changing, or reviewing UI for keyboard, screen reader, semantic, motion, and contrast accessibility.
Use this skill for every implementation task to keep changes small, safe, and scoped.
Use this skill when editing Astro pages, layouts, components, and static output.
Use this skill when editing styles, spacing, typography, layout, or component appearance.
Use this skill when implementing or modifying static site search with Pagefind.
Use this skill when adding dependencies, scripts, images, embeds, search, analytics, or interactive UI.
| name | code-quality |
| title | Code Quality Refactor |
| description | Use this skill when analyzing or refactoring code for readability, simplicity, and maintainability. |
| category | engineering |
| applies_to | ["TypeScript","JavaScript","CSS","Astro","refactoring"] |
| triggers | ["refactor","simplify","cleanup","readability","maintainability","dead code"] |
| priority | medium |
| version | 1 |
Use this skill when analyzing or refactoring existing code for simplicity, readability, maintainability, and helpful documentation.
Improve code quality without changing user-facing behavior, visual appearance, routes, content, accessibility, or performance characteristics.
This skill is conservative. Prefer small, obvious improvements over broad rewrites.
Look for:
Comments should be succinct and useful.
Add comments when:
Do not add comments that merely repeat what the code says.
Avoid comments like:
// Set count to 0
const count = 0;
Prefer comments like:
// Keep this inline so the theme is applied before the page paints.
Do not change:
Stop and report instead of guessing when:
Run the most relevant available checks.
Prefer:
pnpm lint
pnpm build
If the project has a focused analysis script such as pnpm fallow, use it as an advisory signal, not as an automatic rewrite instruction.
If pnpm fallow reports issues:
After changes, report: