Claude-skill-registry claude-code-analyze-config
Analyze repo's .claude/** for overlap with bluera-base and suggest cleanup
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/claude-code-analyze-config" ~/.claude/skills/majiayu000-claude-skill-registry-claude-code-analyze-config && rm -rf "$T"
manifest:
skills/data/claude-code-analyze-config/SKILL.mdsource content
Analyze Claude Config
Scan the repo's
.claude/** for functionality that overlaps with bluera-base, report findings, and optionally clean up.
Context
!
ls -la .claude/ 2>/dev/null | head -20 || echo "No .claude/ directory found"
bluera-base Components
This plugin provides:
Commands (21 total)
- analyze .claude/ for overlap with bluera-base/bluera-base:claude-code-analyze-config
- audit a Claude Code plugin against best practices/bluera-base:claude-code-audit-plugin
- cancel active milhouse loop/bluera-base:cancel-milhouse
- CLAUDE.md maintenance/bluera-base:claude-code-md
- diagnose slow startup and guide cleanup/bluera-base:claude-code-clean
- multi-agent code review/bluera-base:code-review
- atomic commits with documentation awareness/bluera-base:commit
- configuration management/bluera-base:config
- detect duplicate code using jscpd/bluera-base:dry
- explain plugin functionality/bluera-base:explain
- git hooks, linters, formatters setup/bluera-base:harden-repo
- show plugin features and usage/bluera-base:help
- initialize project with conventions/bluera-base:init
- install rule templates/bluera-base:install-rules
- iterative development loop/bluera-base:milhouse-loop
- README.md maintenance/bluera-base:readme
- version bumping and release workflow/bluera-base:release
- configure status line display/bluera-base:claude-code-statusline
- plugin validation test suite/bluera-base:claude-code-test-plugin
- manage project TODO tasks/bluera-base:todo
- manage git worktrees/bluera-base:worktree
Skills (12 total)
- commit grouping and documentation checksatomic-commits
- command pattern learningauto-learn
- diagnose slow Claude Code startupclaude-cleaner
- CLAUDE.md structure and validationclaude-md-maintainer
- code review guidelinescode-review-repo
- language-specific DRY refactoring guidancedry-refactor
- break apart large fileslarge-file-refactor
- iterative loop patternsmilhouse
- README formattingreadme-maintainer
- release workflowrelease
- linter/hook setup per languagerepo-hardening
- terminal status line configurationstatusline
Hooks
- dependency checks, env setupSessionStart
- block manual releases, --no-verifyPreToolUse
- anti-pattern detection, lintingPostToolUse
- milhouse loop continuationStop
- state preservationPreCompact
- desktop alertsNotification
Workflow
Phase 1: Scan Existing Config
Search for potentially overlapping content:
# Commands ls .claude/commands/*.md 2>/dev/null # Skills ls -d .claude/skills/*/ 2>/dev/null # Rules ls .claude/rules/*.md 2>/dev/null # Settings hooks cat .claude/settings.json 2>/dev/null | jq '.hooks' cat .claude/settings.local.json 2>/dev/null | jq '.hooks'
Phase 2: Identify Overlaps
Compare each found item against bluera-base components:
| Category | Overlap Keywords |
|---|---|
| Commit | commit, atomic, conventional |
| Release | release, version, tag, changelog |
| Loop | loop, iterate, milhouse, ralph |
| CLAUDE.md | claude.md, memory, rules |
| Code Review | review, lint, check |
| Hooks | pre-commit, post-edit, session |
For each potential overlap, categorize:
- Duplicate: Same functionality, can be removed
- Overlap: Similar functionality, may need merge
- Complementary: Different but related, keep both
- Unique: Not provided by bluera-base, keep
Phase 3: Report Findings
Generate a report:
## Config Analysis Report ### Duplicates (recommend removal) - `.claude/commands/commit.md` - duplicates /bluera-base:commit - `.claude/rules/commit-style.md` - covered by atomic-commits skill ### Overlaps (review needed) - `.claude/skills/my-review/` - similar to code-review-repo - Unique aspects: [list] - Consider: merge or keep both ### Complementary (keep) - `.claude/commands/deploy.md` - deployment workflow (not in bluera-base) ### Unique (keep) - `.claude/rules/project-specific.md` - project-specific rules
Phase 4: Interview User
For each duplicate/overlap, use AskUserQuestion:
-
Duplicates: "Remove
? (bluera-base provides /bluera-base:commit)".claude/commands/commit.md- Remove
- Keep (disable bluera-base equivalent)
- Keep both
-
Overlaps: "
overlaps with code-review-repo. Action?".claude/skills/my-review/- Remove (use bluera-base)
- Merge unique parts into bluera-base skill
- Keep separate
Phase 5: Apply Cleanup (if --cleanup)
If
--cleanup flag and user approved:
- Move removed files to
(not delete).claude/archived/ - Update
if hooks changed.claude/settings.json - Report changes made
Constraints
- Never delete without confirmation
- Archive removed files (don't permanently delete)
- Preserve project-specific customizations
- Favor bluera-base conventions when merging
Example Output
## Analysis Complete Scanned: 5 commands, 3 skills, 8 rules, 2 hook configs ### Recommendations - 2 duplicates (safe to remove) - 1 overlap (needs review) - 2 complementary (keep) - 5 unique (keep) Run with --cleanup to interactively clean up.