Help us improve
Share bugs, ideas, or general feedback.
Deep repository analysis to realign project plans with code reality - detects drift, gaps, and creates prioritized reconstruction plans
npx claudepluginhub agent-sh/drift-detectDeep repository analysis to realign project plans with actual code reality - discovers drift, gaps, and produces prioritized reconstruction plans
No description available.
Production-ready workflow orchestration with 84 marketplace plugins, 192 local specialized agents, and 156 local skills - optimized for granular installation and minimal token usage
No description available.
Share bugs, ideas, or general feedback.
Deep repository analysis to realign project plans with actual code reality.
The drift-detect plugin performs comprehensive analysis of your codebase to identify drift between documented plans and actual implementation. It uses pure JavaScript for data collection (no LLM overhead) and a single Opus call for deep semantic analysis.
/drift-detect
│
├─→ collectors.js (pure JavaScript)
│ ├─ scanGitHubState() → issues, PRs, milestones
│ ├─ analyzeDocumentation() → docs, plans, checkboxes
│ ├─ scanCodebase() → structure, frameworks, health
│ └─ getRepoIntelSignals() → doc-drift, area health (optional)
│
└─→ plan-synthesizer (Opus)
└─ Deep semantic analysis with full context
Data collection: No LLM calls - pure JavaScript Semantic analysis: Single Opus call with complete context Token efficiency: ~77% reduction vs. previous multi-agent architecture
/drift-detectRun a comprehensive reality check scan.
/drift-detect # Full scan (default)
/drift-detect --sources github,docs # Specific sources
/drift-detect --depth quick # Quick scan
/drift-detect --output file --file report.md # Custom output
| Flag | Values | Default | Description |
|---|---|---|---|
--sources | github,docs,code | all three | Which sources to scan |
--depth | quick, thorough | thorough | How deep to analyze |
--output | file, display, both | both | Where to output results |
--file | path | drift-detect-report.md | Output file path |
| Agent | Purpose | Model |
|---|---|---|
plan-synthesizer | Deep semantic analysis, drift detection, prioritization | opus |
/drift-detect
│
├─→ Parse command flags
│
├─→ JavaScript Data Collection (parallel, no LLM)
│ ├─ scanGitHubState()
│ ├─ analyzeDocumentation()
│ └─ scanCodebase()
│
└─→ Single Opus Analysis Call
├─ Cross-reference docs vs code
├─ Identify drift patterns
├─ Find gaps
└─ Generate prioritized plan
│
▼
Reality Check Report
--sources github)Requires: gh CLI installed and authenticated
--sources docs)--sources code)Requires: agent-analyzer binary and a cached repo-intel.json map. If no map exists, the scan prompts to generate one (~5 seconds).
The scan produces:
# Reality Check Report
## Executive Summary
Project has moderate drift: 8 stale priority issues and 20% plan completion.
Strong code health (tests + CI) but documentation lags implementation.
## Drift Analysis
### Priority Neglect
**Severity**: high
8 high-priority issues inactive for 60+ days.
**Recommendation**: Triage stale issues - close, reassign, or deprioritize.
## Gap Analysis
### No Automated Tests
**Severity**: critical
**Impact**: High risk of regressions, difficult to refactor safely.
**Recommendation**: Add test framework and critical path coverage.
## Prioritized Plan