antipattern-detector
Detect common technical and organizational anti-patterns in proposals, architectures, and plans. Use when strategic-cto-mentor needs to identify red flags before they become problems.
What this skill does
# Anti-Pattern Detector
Identifies recurring failure patterns in technical decisions, organizational structures, and project plans.
## When to Use
- Reviewing architecture proposals
- Evaluating project plans and roadmaps
- Assessing team structures and processes
- Validating technology choices
- Checking migration strategies
## Why Anti-Patterns Matter
Anti-patterns are **proven failure modes**. They look reasonable on the surface but lead to predictable problems:
- **Technical debt accumulation**
- **Team burnout and turnover**
- **Missed deadlines and budgets**
- **System instability**
- **Organizational dysfunction**
Detecting them early saves months of pain.
---
## Anti-Pattern Categories
### 1. Architecture Anti-Patterns
Structural problems in system design.
| Pattern | Description | Symptoms |
|---------|-------------|----------|
| **Big Ball of Mud** | No clear architecture, everything coupled | Can't change X without breaking Y |
| **Golden Hammer** | Using one tech for everything | "We'll use Kubernetes for that too" |
| **Premature Microservices** | Splitting before understanding boundaries | 3 devs managing 20 services |
| **Distributed Monolith** | Microservices with tight coupling | Deploy all services together |
| **Resume-Driven Development** | Tech choices for career, not product | "Let's use Rust for the admin panel" |
### 2. Timeline Anti-Patterns
Planning failures that guarantee missed deadlines.
| Pattern | Description | Symptoms |
|---------|-------------|----------|
| **Timeline Fantasy** | Optimistic estimates ignoring reality | "6 weeks if everything goes well" |
| **Scope Creep Blindness** | Not accounting for inevitable additions | Same deadline, 2x features |
| **Parallel Path Delusion** | Assuming unlimited parallelization | "Add more devs to go faster" |
| **MVP Maximalism** | MVP that's actually V3 | 47 features in "minimum" product |
| **Demo-Driven Development** | Building for demos, not production | "It works on my machine" |
### 3. Team Anti-Patterns
Organizational structures that create dysfunction.
| Pattern | Description | Symptoms |
|---------|-------------|----------|
| **Hero Culture** | Reliance on key individuals | "Only Sarah can fix that" |
| **Knowledge Silos** | Critical info in one person's head | Bus factor of 1 |
| **Conway's Law Violation** | Architecture doesn't match team structure | Team boundaries ≠ service boundaries |
| **Understaffed Ambition** | Big plans with tiny teams | 2 devs building "the platform" |
| **Absent Ownership** | No clear owner for components | Bugs fall through cracks |
### 4. Process Anti-Patterns
Workflow failures that slow delivery.
| Pattern | Description | Symptoms |
|---------|-------------|----------|
| **Cargo Cult Agile** | Agile ceremonies without principles | Standups but no shipping |
| **Analysis Paralysis** | Over-planning, under-executing | Month 3 of "finalizing requirements" |
| **Infinite Refactoring** | Never shipping, always "improving" | "One more cleanup before release" |
| **Documentation Theater** | Docs that no one reads or maintains | 200-page spec, outdated day 1 |
| **Meeting Madness** | More meetings than coding time | "Let's schedule a meeting to discuss" |
### 5. Technology Anti-Patterns
Poor technology decisions.
| Pattern | Description | Symptoms |
|---------|-------------|----------|
| **Shiny Object Syndrome** | Chasing latest tech without reason | "We should rewrite in [new thing]" |
| **Not Invented Here** | Building what should be bought | Custom auth, custom logging, custom everything |
| **Vendor Lock-in Denial** | Ignoring exit costs | "We can always migrate later" |
| **Premature Optimization** | Optimizing before measuring | Caching layer with 10 users |
| **Framework Overload** | Too many frameworks/libraries | 47 npm dependencies for a button |
---
## Detection Process
### Step 1: Scan for Signals
Look for these phrases that often indicate anti-patterns:
**Timeline signals**:
- "If everything goes well..."
- "We can do it faster if we're focused..."
- "Just need to hire..."
- "Should only take..."
**Architecture signals**:
- "We'll figure out the boundaries later..."
- "Everything talks to everything..."
- "It's only for now..."
- "We can always refactor..."
**Team signals**:
- "Only [person] knows..."
- "We'll hire for that..."
- "[Person] will handle all of..."
- "The team can absorb..."
**Process signals**:
- "We don't need docs for this..."
- "We'll add tests later..."
- "Let's discuss in the meeting..."
- "Requirements are still evolving..."
### Step 2: Verify Pattern Match
For each suspected anti-pattern:
1. **Identify the pattern**: Which specific anti-pattern?
2. **Gather evidence**: What in the proposal matches?
3. **Assess severity**: How bad is it? (Critical/High/Medium/Low)
4. **Check context**: Could this be a reasonable exception?
### Step 3: Document Findings
```markdown
### Anti-Pattern: [Name]
**Category**: Architecture / Timeline / Team / Process / Technology
**Severity**: Critical / High / Medium / Low
**Evidence**:
- [Quote or observation 1]
- [Quote or observation 2]
**Why This Is a Problem**:
[Explain the typical failure mode]
**Historical Examples**:
[Reference similar failures if known]
**Recommendation**:
[Specific action to address]
```
---
## Severity Framework
### Critical
Will cause project failure if not addressed.
- **Examples**: No clear ownership, timeline fantasy for commitments, hero dependency
- **Action**: Stop and address before proceeding
### High
Will cause significant problems.
- **Examples**: Premature microservices, understaffed plans, shiny object syndrome
- **Action**: Address in planning phase
### Medium
Will cause friction and delays.
- **Examples**: Documentation gaps, process inefficiencies, minor scope creep
- **Action**: Include in risk mitigation
### Low
Worth noting but manageable.
- **Examples**: Style inconsistencies, minor tech debt, preference-based choices
- **Action**: Track and address opportunistically
---
## Output Format
```markdown
# Anti-Pattern Analysis: [Plan/Proposal Name]
## Summary
- **Patterns Detected**: [Count]
- **Critical Issues**: [Count]
- **Overall Risk Level**: Critical / High / Medium / Low
## Critical Issues (Must Address)
### 1. [Pattern Name]
**Category**: [Category]
**Evidence**: [What triggered this detection]
**Risk**: [What will go wrong]
**Fix**: [How to address]
---
## High-Priority Issues (Should Address)
### 2. [Pattern Name]
[Same format]
---
## Medium-Priority Issues (Consider Addressing)
### 3. [Pattern Name]
[Same format]
---
## Patterns NOT Detected
[List patterns that were checked but not found - provides confidence]
## Recommendations
### Before Proceeding
1. [Critical action 1]
2. [Critical action 2]
### During Execution
1. [Mitigation 1]
2. [Mitigation 2]
### Monitoring
- [Warning sign to watch for]
- [Metric to track]
```
---
## Common Pattern Combinations
Certain anti-patterns tend to appear together:
### The Startup Death Spiral
- Timeline Fantasy + Understaffed Ambition + Hero Culture
- Result: Burnout, missed deadlines, key person leaves
### The Enterprise Trap
- Analysis Paralysis + Documentation Theater + Meeting Madness
- Result: Nothing ships, team frustrated, competition wins
### The Tech Debt Avalanche
- "We'll refactor later" + No clear ownership + Premature optimization
- Result: System becomes unmaintainable, rewrite required
### The Microservices Mistake
- Premature Microservices + Distributed Monolith + Not enough DevOps
- Result: Complexity explosion, slower delivery than monolith
---
## Integration with Validation
The antipattern-detector feeds into the broader validation workflow:
```
Proposal/Plan
│
▼
[assumption-challenger] → Assumptions identified
│
▼
[antipattern-detector] → Patterns identified
│
▼
[validation-report-generator] → Combined 8-section report
```
---
## References
- [Anti-Pattern CataloRelated 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.