code-service-defrag
CommunityMaintain codebase integrity and visibility with automated defragmentation.
Software Engineering#code analysis#deployment readiness#codebase maintenance#defragmentation#platform support
Authorjacob-dietle
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps maintain the integrity and visibility of a multi-app/multi-service codebase by detecting and addressing fragmentation issues.
Core Features & Use Cases
- Automated Defragmentation: Detects code and context fragmentation, including duplicate targets, colliding bindings, stale forks, and scattered packages.
- Detect-Only: Produces severity-ranked reports for human review and action.
- Use Case: Ideal for monthly maintenance, before deployments, after migrations, or when source ambiguity is suspected. It prevents silent overwrites and ensures that all agents onboard from the correct context.
Quick Start
Run the defragmentation scan on your codebase with the following command:
./scripts/defrag_scan.sh
Review the generated report to identify and address fragmentation issues.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-service-defrag Download link: https://github.com/jacob-dietle/context-os/archive/main.zip#code-service-defrag Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.