From daffy0208-ai-dev-standards
Analyze repositories to reveal unseen patterns, strategic drift, and organizational health. Use when assessing repository coherence, diagnosing project issues, identifying documentation inflation, or understanding why a codebase feels misaligned with its stated goals.
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin daffy0208-ai-dev-standardsThis skill is limited to using the following tools:
Dark Matter Mode reveals what is **unseen, unsaid, and unmeasured** in repositories and codebases. It goes beyond code quality metrics to illuminate the invisible architectures shaping system behavior — identifying strategic drift, documentation inflation, execution gaps, and organizational health patterns that traditional tools miss.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Dark Matter Mode reveals what is unseen, unsaid, and unmeasured in repositories and codebases. It goes beyond code quality metrics to illuminate the invisible architectures shaping system behavior — identifying strategic drift, documentation inflation, execution gaps, and organizational health patterns that traditional tools miss.
"Every repo is a psyche made visible."
This skill helps diagnose why a repository feels off, not just what is wrong technically.
Objective: Capture ambient signals and metadata from the repository
Actions:
Key Decisions:
Common Pitfalls:
Tools to Use:
# Count documentation files
find . -name "*.md" -type f | wc -l
# Find technical debt markers
grep -r "TODO\|FIXME\|HACK" --include="*.ts" --include="*.js"
# Check commit patterns
git log --oneline --since="1 month ago" | head -20
# Find documentation inflation
find DOCS -name "*.md" -exec wc -l {} \; | awk '{sum+=$1} END {print sum}'
Objective: Identify subtle misalignments before they become major problems
Actions:
Pattern Categories:
| Pattern Type | Example Signal | Reflective Interpretation |
|---|---|---|
| Strategic Drift | README ≠ commit activity | Vision disconnection or premature pivoting |
| Documentation Inflation | Many similar .md files | Over-planning; avoidance through writing |
| Suppression Pattern | Many eslint-disable or any | Time pressure or fatigue |
| Frozen Dependencies | No updates for months | Fear of breakage or resistance to change |
| Commit Whiplash | Rapid reversals | External pressure or internal restlessness |
| Task-Reality Desync | Tests pass but features incomplete | Validation of structure, not utility |
| Execution Deficit | Documentation >> Implementation | Hope-driven development |
Validation:
Objective: Transform patterns into narrative insights with actionable interpretation
Actions:
Technical ↔ Human Translation Bridge:
| Technical Symptom | Human Parallel |
|---|---|
| Ignored build errors | Denial of fragility |
| Rapid branching | Loss of trust in direction |
| Over-commenting | Fear of being misunderstood |
| Skipped validation | Avoidance of feedback |
| Over-planning | Anxiety about imperfection |
| Unfinished refactors | Fatigue, low follow-through |
Key Principles:
Common Pitfalls:
Objective: Provide graduated recommendations based on urgency and impact
Actions:
Intervention Modes:
| Mode | Urgency | Action Type | Example |
|---|---|---|---|
| 🟢 OBSERVE | Low | Gentle awareness | "Velocity high, coherence low. Monitor for drift." |
| 🟡 REVIEW | Medium | Structured reflection | "Validate assumptions with peer. Check external feedback." |
| 🔴 HOLD | High | Pause + confirm | "Reality desynced. Reconcile before next build." |
Restoration Protocol (for HOLD items):
restoration:
1. pause: Create reflective checkpoint
2. align: Re-anchor to intent + artifact coherence
3. integrate: Capture insight in feedback loop
4. resume: Rebuild context from re-synced rhythm
Validation:
Objective: Calculate overall repository health score
Formula:
RCI = (Intent Alignment + Task Reality Sync + Technical Health) / 3
Scoring Components:
Intent Alignment (0-100):
Task Reality Sync (0-100):
Technical Health (0-100):
Interpretation:
| RCI Score | Status | Meaning |
|---|---|---|
| 85-100 | ✅ COHERENT | Rhythm aligned, healthy system |
| 70-84 | 🟡 MONITOR | Early drift present, watch closely |
| 50-69 | 🟠 MISALIGNED | Intent and reality diverging |
| <50 | 🔴 INCOHERENT | Rebuild context or reset rhythm |
Reveal, Not Judge Dark Matter Mode illuminates patterns without declaring them "right" or "wrong." Every pattern is an expression of system state. The goal is truthfulness, not perfection.
Interpretive, Not Diagnostic DMM doesn't predict outcomes — it provides reflective insights. Use uncertainty scores to maintain interpretive humility. The mirror knows when it is dreaming.
Coherence Over Speed Ask: "Does this make the system more truthful, not just faster?" Optimize for alignment between intent, artifact, and action.
Emotional Resonance Technical patterns reveal human patterns. Documentation inflation may indicate anxiety. Suppression patterns may show fatigue. Acknowledge the human element.
External Validation Internal consistency ≠ external utility. Tests may pass while users remain confused. Seek external feedback to validate interpretations.
When choosing analysis depth:
When choosing intervention mode:
If RCI < 50: HOLD (pause and reconcile)
If 50 ≤ RCI < 70: REVIEW (structured reflection)
If 70 ≤ RCI < 85: OBSERVE (gentle monitoring)
If RCI ≥ 85: MAINTAIN (celebrate and sustain)
When to recommend external validation:
If user discovered gap before internal analysis: HIGH PRIORITY
If documentation significantly exceeds implementation: RECOMMENDED
If team feels confused despite extensive docs: REQUIRED
Otherwise: NICE TO HAVE
# Dark Matter Mode Analysis
**Date:** [timestamp]
**Repository:** [name]
**RCI Score:** [score]/100 — [STATUS]
## Executive Summary
[3-5 sentence overview of key findings]
## Layer 1: Sensing — What Was Observed
[Code, documentation, temporal, environmental signals]
## Layer 2: Pattern Detection — The Weak Signals
[Identified patterns with evidence and intensity]
## Layer 3: Reflection — The Unseen, Unsaid, Unmeasured
[Narrative insights and interpretations]
## Layer 4: Action — Recommendations by Urgency
### 🔴 HOLD — Stop Before Proceeding
[Critical actions]
### 🟡 REVIEW — Reflection Requested
[Medium priority actions]
### 🟢 OBSERVE — Gentle Nudges
[Low priority awareness items]
## Repository Coherence Index
[Detailed scoring breakdown]
## Closing Reflection
[Supportive conclusion with path forward]
This skill integrates with dark-matter-analyzer-mcp for automated scanning:
// Run repository scan
await mcp.call('scan_repository', {
path: './my-project',
depth: 'deep',
include_patterns: ['*.md', '*.ts', '*.js'],
exclude_patterns: ['node_modules', 'dist']
})
// Calculate RCI
await mcp.call('calculate_rci', {
repository_path: './my-project'
})
// Generate report
await mcp.call('generate_report', {
format: 'markdown',
output_path: './dark_matter_report.md'
})
Signal: 30 documentation files averaging 543 lines each
Pattern: Documentation Inflation (HIGH)
Reflection:
"Planning activity significantly outpaces execution. The repository is drowning in its own self-awareness."
Action (HOLD):
Signal: 36 methodologies, 3 implementation tools (12:1 ratio)
Pattern: Execution Deficit (CRITICAL)
Reflection:
"The repository is a library of wisdom without hands to execute it. 92% of capabilities are aspirational, not actionable."
Action (HOLD):
Signal: All tests passing, but CLI has TODO comments, MCPs are placeholders
Pattern: Task-Reality Desynchronization (MODERATE)
Reflection:
"The repository passes its own tests but may not serve users. Validation ensures internal consistency, not external utility."
Action (REVIEW):
❌ Using Dark Matter Mode as a weapon - This is reflective, not punitive ❌ Over-relying on RCI score - It's orientation, not verdict ❌ Ignoring emotional subtext - Technical patterns reveal human state ❌ Skipping uncertainty scores - Maintain interpretive humility ❌ Making changes without user validation - Internal analysis ≠ external truth
"Dark Matter Mode remains a mirror — it does not predict, it illuminates."