skills/writing-clean-code/SKILL.md
REQUIRED for all code implementations. Automatically load when writing or reviewing any code. Covers SOLID principles, MAPPER principles with 25 code smell categories, practical refactoring, software design laws, the 4 rules of simple design, 66 code smell heuristics, formatting principles, and boundary management patterns. Language-agnostic clean code guide. For language-specific practices, use developing-go, mastering-typescript, or developing-python. For architecture-level clean design, use applying-clean-architecture. For legacy code refactoring, see CHANGEABLE-CODE.md subfile. For refactoring mindset (spikes, feature toggles, structural discovery), see REFACTORING-MINDSET.md reference.
npx skillsauth add sumik5/sumik-claude-plugin writing-clean-codeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
詳細な手順・ガイドラインは INSTRUCTIONS.md を参照してください。
CHANGEABLE-CODE.md — レガシーコードへの対処戦略(5ステップアプローチ)と変更容易性の設計原則(Modularity・Cohesion・Separation of Concerns・Abstraction)。未知のコードベースナビゲーションと汚いコードの実践的対処法を含むreferences/REFACTORING-MINDSET.md — リファクタリングマインドセット。スパイク・心理的安全性・割合の固定・重複コードの戦略的利用・機能トグル・空行による構造発見・汎用性最小化・小さなステップ哲学・ミケランジェロの比喩(Ch.1/Ch.10-12/Ch.14)development
カウントダウンアプリ用アプリアイコン(512×512 PNG)を絵文字・背景パレット選択の対話フローで生成するスキル。テキスト・絵文字・斜めストライプ背景を組み合わせたデザインアイコンを出力し、clean版とプレビュー版(白数字重ね)の2枚を提供する。 Use when creating app icons for countdown apps, generating text-based app icons with emoji, selecting icon designs interactively, or producing 512x512 PNG icons with diagonal striped backgrounds. 絵文字候補4択 → 背景パレット4択の対話フローで、ユーザーの意図に合ったアイコンを段階的に確定する。詳細な手順は INSTRUCTIONS.md を参照。
testing
Guides effective user story creation for software projects covering story templates (As a.../I want.../So that...), common mistakes, technical requirements to story conversion, acceptance criteria writing, and story splitting techniques. Use when writing user stories, converting technical requirements to stories, or improving backlog quality. For product management practices (PRD, roadmap, prioritization), use practicing-product-management instead.
development
LaTeX document creation for Japanese academic reports. MUST load when .tex files are detected. Covers upLaTeX + dvipdfmx setup, minted code highlighting with Japanese font support, equations, figures, tables, and cover pages.
development
EPUB ファイル内の画像(主にスキャン本の JPEG)を再エンコード・リサイズしてファイルサイズを削減するスキル。AskUserQuestion で圧縮レベル選択フローを提供し、実測サンプリングから予測サイズを提示してからユーザーに選ばせる。 Use when: EPUB ファイルが大きく画像圧縮で削減したい時、スキャン本(画像ベース EPUB)の容量を減らしたい時、Kindle などの電子書籍リーダーに転送する前にサイズ最適化したい時。 画像ベース EPUB(スキャン本)と通常 EPUB の両方に対応。書誌情報・xhtml・css は触らず画像のみ再エンコード。