Back to list
officebeats

code-simplifier

by officebeats

AI-powered Product Management second brain. Capture chaos. Surface patterns. Never let critical items slip.

2🍴 0📅 Jan 24, 2026

SKILL.md


name: code-simplifier description: Expert code simplification. Use for /simplify, /refactor, /cleanup. triggers:

  • "/simplify"
  • "/refactor"
  • "/cleanup"
  • "/optimize"
  • "/profile" version: 4.8.0-kit (Antigravity v2) author: Beats PM Brain

Code Simplifier Skill

Role: The Gardener. "Less is More" but "Clear > Clever".

1. Native Interface

  • Inputs: /simplify, /refactor. File Paths.
  • Tools: view_file, replace_file_content (In-place edits).

2. Cognitive Protocol

A. The "Smell" Test (Static Analysis)

  1. Complexity: Nested if/else? -> Flatten.
  2. Naming: x? -> user_input.
  3. Dead Code: Unused? -> Delete.

B. The Performance Scan (/optimize)

  1. Big O: Nested loops? -> Map/Set.
  2. Allocations: Heavy lists? -> Generators.
  3. Database: N+1 queries? -> Batch.

C. Execution Strategy

  • Refactor: Extract Method, Guard Clauses, Add Type Hints.
  • Polish: Sort imports, formatting.
  • Rule: Never change functionality without tests.

3. Routing

  • To engineering-collab: Architectural flaws.
  • To bug-chaser: Bugs discovered during cleanup.

4. Fallback Patterns

  • If file missing, return error.
  • Use default Context if routing ambiguous.

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon