anti-pattern-detection

Detects eight specification anti-patterns in capabilities and requirements before finalization.

Updated Jul 13, 2026
One-click install
npx skills add https://github.com/eencinasq/cripto-pos --skill anti-pattern-detection-eencinasq
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: anti-pattern-detection
Source: https://github.com/eencinasq/cripto-pos/tree/main/.kiro/skills/anti-pattern-detection
Command: npx skills add https://github.com/eencinasq/cripto-pos --skill anti-pattern-detection-eencinasq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Specification documents often contain hidden quality issues like vague actors, missing acceptance criteria, or technology solutions disguised as requirements. This Skill acts as an automated quality gate that catches these problems before specifications are finalized, preventing costly rework downstream. ## Core Features & Use Cases - Eight-Pattern Detection Pipeline: Scans capabilities and requirements for critical issues including solution masquerading, missing EARS acceptance criteria, vague actors, undefined subjective terms, missing triggers, non-testable outcomes, mega-capabilities, and passive voice. - Quantified Quality Scoring: Computes an Anti-Pattern Score from violations, blocking capabilities below 0.70, warning between 0.70-0.85, and passing above 0.85, with severity-weighted confidence adjustments. - Actionable Fix Suggestions: Each violation includes the pattern name, severity, original text, issue explanation, suggested fix, and required action. - Use Case: Before finalizing a product requirements document, run the detection pipeline to find that a capability says "the system shall use MongoDB" (solution masquerading) and "support fast queries" (non-testable outcome), then receive concrete rewrites using EARS patterns. ## Quick Start Ask the agent to run anti-pattern detection on your capability and requirements document to identify violations and get suggested fixes.

Frequently Asked Questions about anti-pattern-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect anti-patterns in software requirements?▼

Run the eight-pattern detection pipeline against your capabilities and requirements. It checks for solution masquerading, missing EARS acceptance criteria, vague actors, subjective terms, missing triggers, non-testable outcomes, oversized capabilities, and passive voice, then reports each violation with a suggested fix.

What is the anti-pattern quality score and how is it calculated?▼

The Anti-Pattern Score equals (8 minus violations) divided by 8. Scores below 0.70 block the capability, scores between 0.70 and 0.85 trigger warnings with fixes, and scores above 0.85 pass. Each CRITICAL finding also reduces agent confidence by 0.10 and each HIGH finding by 0.05.

Which specification anti-patterns are considered critical?▼

Three patterns are CRITICAL: solution masquerading as a requirement (technology terms in a capability), missing acceptance criteria (no EARS patterns found), and mega-capabilities (more than 10 functional requirements, 8 criteria, or 7 entities). Vague actors, subjective terms, and non-testable outcomes are HIGH severity.

What happens when a capability fails the quality gate?▼

Capabilities scoring below 0.70 are blocked from finalization. The output lists each violation with its pattern name, severity, original text, issue explanation, suggested fix, and required action, plus a summary of violations by severity and the overall quality score.

When should I run anti-pattern detection in my workflow?▼

Run it as a quality gate before finalizing any capability or requirements specification. It works best after drafting requirements but before decomposition or implementation planning, since mega-capability findings can trigger a separate decomposition step.