repowiseanthropics/claude-plugins-official

anthropics / claude-plugins-official

pythontypescriptmainea10b2141.9K linessynced on Oct 17, 2026

Code health

6.8out of 10Fair

Hotspots average 5.5, the place fixes pay off most.

Explore this codebase

Do next · 4

4 things worth doing in the week to Oct 16, the last indexed commit.

Worth planning

  • Start breaking up readSnapshot (CCN 124, 382 lines): first lift lines 554-566

    plugins/code-modernization/hooks/reader/progress.ts:554

    readSnapshot nests deeply; easier to read and change once split, which also removes a duplicate; its file is imported by 10 files, changed 4 times in 90 days.

    gain
    up to +0.5 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 124, 382 lines, nests 4 deep
    severity
    medium
    worth a check
  • Break up register (CCN 151, 902 lines)

    plugins/code-modernization/hooks/register.ts:1216

    register nests deeply; easier to read and change once split, which also removes a duplicate; function changed in 5 commits; changed 6 times in 90 days.

    gain
    up to +0.4 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 151, 902 lines, nests 4 deep
    severity
    medium
    worth a check
  • Tidy the code shape this week's commits left: 8 findings in 3 files

    5 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with plugins/security-guidance/hooks/llm.py (6 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    8
    files
    3
    commits
    5
  • Start breaking up handle_commit_review_posttooluse (CCN 100, 319 lines)

    plugins/security-guidance/hooks/security_reminder_hook.py:1221

    handle_commit_review_posttooluse nests deeply; easier to read and change once split, which also removes a duplicate; its file is imported by 1 file, changed 21 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Nested complexity
    size
    CCN 100, 319 lines, nests 4 deep
    severity
    medium
    worth a check

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report

Everything we found

5 areas