スキル一覧に戻る
dthompson-jti

audit-refactor-opportunities

by dthompson-jti

0🍴 0📅 2026年1月15日
GitHubで見るManusで実行

SKILL.md


name: audit-refactor-opportunities description: Identify code smells and refactoring opportunities without fixing. Use for tech debt assessment.

Audit Refactor Opportunities

Identify code smells and refactoring opportunities.

When to Use

  • Tech debt assessment
  • Planning refactoring sprints
  • Understanding codebase health

Approach

Step 1: Project Invariants (Required)

Before auditing, check docs/knowledge-base/ for code style constraints:

  • AGENTS.md — established patterns
  • RULES-*.md — code organization rules
  • Flag any violation of documented patterns as higher priority.

Step 2: Focus Areas

  • Code Smells: Duplication, long functions, deep nesting
  • Pattern Violations: Inconsistent patterns across similar code
  • Naming: Unclear or inconsistent naming
  • Complexity: Overly complex logic that could be simplified
  • Dead Code: Unused exports, commented code

Checklist

  • Duplicated logic that could be shared
  • Functions >50 lines that could be split
  • Deeply nested conditionals (>3 levels)
  • Inconsistent patterns for similar operations
  • Unclear variable/function names
  • Dead or commented-out code

Output

Prioritized list of refactoring opportunities with effort estimates (Low/Medium/High).

Constraints

  • Identify only — do NOT fix
  • Fixes go through /refactor or /quick-fix

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

レビュー機能は近日公開予定です