Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nwave-ai/nw-collapse-detection
Documentation collapse anti-patterns - detection rules, bad examples, and remediation strategies for type-mixing violations
Passed 21 of 22 test cases with the skill, and 12 of 22 without it.
and 4 more in the full report
9 fixed12 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
A single markdown file in our SDK repository contains: 1) A beginner walkthrough, 2) A task-based troubleshooting checklist, 3) An architectural deep dive, and 4) A complete CLI flag specification table. What specific anti-pattern term applies to this document?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies the anti-pattern as Hybrid Horror. | Missed | Passed |
The instructions your model reads when the skill loads.
Documentation collapse = types merge inappropriately, serving no audience well.
Description: Tutorial explains "why" extensively | Detection: explanation >20% | Fix: extract to separate doc, link back
Description: How-to teaches basics first | Detection: teaching fundamentals before steps | Fix: link to tutorial, assume baseline
Description: Reference includes conversational prose | Detection: prose paragraphs in entries | Fix: move to explanation doc, keep factual
Description: Explanation ends with "do this" steps | Detection: step-by-step in explanation | Fix: move steps to how-to, link
Description: Single doc tries all four types | Detection: 3+ quadrants in one doc | Fix: split with clear boundaries
Flag collapse when:
20% content from adjacent quadrant | Two user needs served simultaneously | Ambiguous user journey stage
# Getting Started
If you need to deploy to production, follow these steps...
Problem: Assumes user knows what "deploy to production" means. A tutorial should assume nothing.
# How to Configure Authentication
First, let's understand what authentication is. Authentication is...
test cases passed, vs 12 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.