From dm-work
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes. Requires root cause investigation before any fix attempts. Random fixes waste time and create new bugs.
npx claudepluginhub rbergman/dark-matter-marketplace --plugin dm-workThis skill uses the workspace's default tool permissions.
Random fixes waste time and create new bugs. Quick patches mask underlying issues.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Random fixes waste time and create new bugs. Quick patches mask underlying issues.
Core principle: Find root cause before attempting fixes. Symptom fixes are failure.
Investigate root cause before attempting any fix. If you haven't completed Phase 1, you cannot propose fixes.
Any technical issue:
Especially when:
Complete each phase before proceeding to the next.
Before attempting any fix:
Read Error Messages Carefully
Reproduce Consistently
Check Recent Changes
Gather Evidence in Multi-Component Systems
For EACH component boundary:
- Log what data enters
- Log what data exits
- Verify environment/config propagation
Run once to gather evidence showing WHERE it breaks
THEN investigate that specific component
Trace Data Flow
Find Working Examples
Compare Against References
Identify Differences
Form Single Hypothesis
Test Minimally
Verify Before Continuing
Create Failing Test Case
Implement Single Fix
Verify Fix
Circuit Breaker — 2+ Approaches Failed
If you have attempted 2 or more distinct approaches to the same problem:
Stop and regroup — a third attempt without new information is unlikely to succeed.
Instead:
Cycling through 3-4 failed approaches wastes entire sessions and erodes confidence in each subsequent fix.
If you catch yourself thinking:
| Phase | Key Activities | Success Criteria |
|---|---|---|
| 1. Root Cause | Read errors, reproduce, check changes, gather evidence | Understand WHAT and WHY |
| 2. Pattern | Find working examples, compare | Identify differences |
| 3. Hypothesis | Form theory, test minimally | Confirmed or new hypothesis |
| 4. Implementation | Create test, fix, verify | Bug resolved, tests pass |
| Approach | Time to Fix | First-Time Fix Rate | New Bugs |
|---|---|---|---|
| Systematic | 15-30 min | 95% | Near zero |
| Random fixes | 2-3 hours | 40% | Common |