スキル simplify
📦

simplify

安全

Refine code for clarity

こちらからも入手できます: brianlovin

Codebases accumulate technical debt over time. This skill simplifies recently modified code to improve readability and consistency without changing functionality.

対応: Claude Codex Code(CC)
🥉 74 ブロンズ
1

スキルZIPをダウンロード

2

Claudeでアップロード

設定 → 機能 → スキル → スキルをアップロードへ移動

3

オンにして利用開始

テストする

「simplify」を使用しています。 Complex nested conditional with ternary operators

期待される結果:

Refactored code using a switch statement or if/else chain that is easier to read and maintain

「simplify」を使用しています。 Code with overly terse variable names

期待される結果:

Code with clear, descriptive names that explain the purpose and intent of each variable

「simplify」を使用しています。 Function with mixed coding styles

期待される結果:

Consistent function declarations following project standards with proper type annotations

セキュリティ監査

安全
v1 • 2/9/2026

All 8 static findings evaluated as false positives. The skill contains only documentation and coding standards references with no actual external commands, network code, or cryptographic algorithms. Safe for publication.

1
スキャンされたファイル
52
解析された行数
1
検出結果
1
総監査数
低リスクの問題 (1)
Hardcoded HTTP URL Reference
Documentation references http://CLAUDE.md without HTTPS. This is a documentation URL reference, not network code execution.
監査者: claude

品質スコア

38
アーキテクチャ
100
保守性
85
コンテンツ
50
コミュニティ
100
セキュリティ
91
仕様準拠

作れるもの

Post-Write Code Refinement

After implementing a new feature, use this skill to clean up the code before committing. It applies consistent coding standards and improves readability.

Technical Debt Reduction

Gradually improve code clarity during regular development by refining modified sections. Each refinement builds toward a more maintainable codebase.

Codebase Standard Enforcement

Ensure all new code follows project conventions. The skill references established standards from CLAUDE.md to maintain consistency.

これらのプロンプトを試す

Basic Simplification
Simplify the code you just wrote. Apply project coding standards and improve readability without changing functionality.
Refine Complex Logic
Review the recent changes and simplify any complex logic. Use switch statements instead of nested ternaries and make the code easier to understand.
Apply Naming Conventions
Improve variable and function names in the recent code. Make them clear and descriptive while following project naming conventions.
Consolidate Redundant Code
Identify and eliminate redundant code in the recent changes. Consolidate repeated logic into shared helpers where appropriate.

ベストプラクティス

  • Use the skill after each significant code change rather than waiting for large cleanup sessions
  • Review the simplified code to ensure it still matches your original intent
  • Combine with other skills like documentation generation for complete code improvement

回避

  • Using the skill on code that has not been recently modified
  • Expecting the skill to add new functionality or change behavior
  • Applying overly aggressive simplification that reduces code clarity
  • Skipping manual review of the simplified output

よくある質問

Does this skill change my code functionality?
No. The skill explicitly preserves all original functionality. It only refactors how the code achieves the same result.
How recent must code be for simplification?
The skill focuses on code modified in the current session. For older code, explicitly request a broader review.
Does this skill modify multiple files at once?
No. The skill operates on recently modified code within the current context, typically within a single file.
What coding standards does this skill follow?
The skill references standards from CLAUDE.md, including ES modules, explicit return types, and React component patterns.
Can I customize the coding standards this skill uses?
Yes. The skill applies standards from your project. Configure CLAUDE.md with your preferred conventions.
What if I disagree with the simplifications suggested?
Review the changes and manually adjust any suggestions. The skill provides a starting point for refinement.

開発者の詳細

作成者

brianlovin

ライセンス

MIT

参照

main

ファイル構成

📄 SKILL.md