Dark Matter Analyzer
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.
What this skill does
# Dark Matter Analyzer
## Purpose
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.
## When to Use This Skill
- Repository feels misaligned but traditional metrics look fine
- Documentation is extensive but team still feels confused
- Stated goals don't match actual work being done
- Need to understand organizational patterns in codebase structure
- Project velocity is high but coherence feels low
- Planning significantly outpaces execution
- Multiple overlapping documents on same topics
- Need to assess "Repository Coherence Index" (RCI)
- Preparing for major refactor or reorganization
- **When NOT to use:** Simple bug fixes, feature additions, or standard code reviews
## Core Methodology
### Step 1: Sensing — Signal Ingest
**Objective:** Capture ambient signals and metadata from the repository
**Actions:**
1. **Scan code signals:** commit patterns, refactor frequency, lint suppressions, TODO/FIXME markers
2. **Scan documentation signals:** README drift, redundant .md files, doc count vs code ratio
3. **Scan temporal signals:** time lag between decision and execution, feature velocity
4. **Scan environmental signals:** dependency health, build status, test coverage trends
**Key Decisions:**
- Scope: Full repository or specific subsystem?
- Depth: Quick scan (3 levels) or deep analysis (all files)?
- Exclusions: What to skip (node_modules, dist, vendor)?
**Common Pitfalls:**
- ❌ Looking only at code metrics → ✅ Include documentation and temporal patterns
- ❌ Judging patterns as "errors" → ✅ View them as system expressions
- ❌ Analyzing in isolation → ✅ Compare stated intent with observed behavior
**Tools to Use:**
```bash
# 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}'
```
### Step 2: Pattern Detection — Weak Signal Mapping
**Objective:** Identify subtle misalignments before they become major problems
**Actions:**
1. Map patterns to known categories (Strategic Drift, Documentation Inflation, Suppression, etc.)
2. Calculate pattern intensity (frequency, scope, recency)
3. Identify pattern clusters (multiple related signals)
4. Assess emotional subtext (what the pattern reveals about team state)
**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:**
- [ ] At least 3 distinct patterns identified
- [ ] Each pattern has concrete evidence
- [ ] Patterns tell a coherent story
- [ ] Emotional subtext identified
### Step 3: Reflection — Meaning Extraction
**Objective:** Transform patterns into narrative insights with actionable interpretation
**Actions:**
1. Create technical ↔ human translation for each pattern
2. Assess reflective confidence (0.0-1.0) for each insight
3. Calculate uncertainty index for interpretive humility
4. Identify "The Unseen" (what exists but isn't visible)
5. Identify "The Unsaid" (what isn't explicitly stated)
6. Identify "The Unmeasured" (what has no metric)
**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:**
- Never judge, only illuminate
- Patterns are expressions, not errors
- Confidence scores show interpretive humility
- Focus on **why**, not just **what**
**Common Pitfalls:**
- ❌ Presenting only metrics → ✅ Tell the story the patterns reveal
- ❌ Being prescriptive → ✅ Being reflective and interpretive
- ❌ Assuming omniscience → ✅ Include uncertainty scores
### Step 4: Action Routing — Coherence Restoration
**Objective:** Provide graduated recommendations based on urgency and impact
**Actions:**
1. Route findings by intervention strength (OBSERVE, REVIEW, HOLD)
2. Apply Coherence Filter: "Does this make the system more truthful?"
3. Provide specific, actionable next steps
4. Include restoration protocol for critical issues
**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):**
```yaml
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:**
- [ ] Recommendations prioritized by urgency
- [ ] Each has clear next action
- [ ] Restoration protocol included for critical items
- [ ] Emotional support included (not just technical fixes)
### Step 5: Repository Coherence Index (RCI)
**Objective:** Calculate overall repository health score
**Formula:**
```
RCI = (Intent Alignment + Task Reality Sync + Technical Health) / 3
```
**Scoring Components:**
**Intent Alignment (0-100):**
- Stated purpose matches observed work
- README reflects actual codebase state
- Goals align with execution
**Task Reality Sync (0-100):**
- Tests validate actual utility, not just structure
- "Complete" claims match reality
- Implementation matches documentation
**Technical Health (0-100):**
- Build passing
- Tests comprehensive
- Dependencies maintained
- Technical debt managed
**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 |
## Key Principles
1. **Reveal, NotRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.