/sdlc-documentation:28-anti-ai-slopfrom sdlc-documentation
Prevents generic, unverified, template-shaped output in SRS, requirements, design, test, ADR, document, or code artefacts. Applies continuously and at pre-ship gate.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
| Artefact | Source or provider | Required? | Missing-input behaviour |
|---|---|---|---|
| Target sources: The concrete target artefact, intended audience, applicable baseline, and project evidence. | Project owner, approved workspace artefacts, or accountable control owner | Yes | Stop dependent claims; list the missing item, owner, and consequence. For review checks, record not assessed. |
| Scope, audience, baseline/version, and accountable decision owner | Requester or project context | Yes | Ask for or record the gap; do not infer authority or scope. |
Default to read-only. Read and search access to the supplied artefacts are required. Editing is limited to an explicitly authorised requested draft or project files. Execute validation only when authorised; publishing, signature, certification, production mutation, destructive action, spending, and risk acceptance require explicit authority.
When files, tools, network, rendering, fonts, execution, or evidence are unavailable, return the narrowest useful qualified draft or finding set. Name every unavailable check and its consequence; an unassessed check is never a pass. Preserve evidence already gathered and provide the exact next verification step.
| Condition | Action | Failure or risk avoided |
|---|---|---|
| A claim, metric, citation, API, or package is unverified | Verify, qualify, or remove it before release | Confident wrongness |
| A section has no project-specific evidence or decision | Rewrite or cut it | Superficial template content |
not assessed and never convert it into a pass.| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Guarded production artefact and ship-gate record | Accountable reviewer, control owner, auditor, or release authority | Every material claim is traceable, reviewable, and bounded by the available evidence. |
| Gap and decision record | Accountable owner and downstream reviewer | Every gap has status, impact, owner, next action, and no unsupported pass or approval. |
| Evidence | Contents | Acceptance condition |
|---|---|---|
| Guarded production artefact and ship-gate record evidence record | Source identifiers, scope/version, decisions, checks, exceptions, and approval state | A reviewer can reproduce each material conclusion from named sources. |
| Validation record | Check, result (pass, fail, or not assessed), evidence location, date, and actor | No required check is omitted or silently treated as passed. |
28-anti-ai-slop during authoring and 29-ai-slop-audit at major checkpoints and release.not assessed, state impact, and block dependent claims.adequate, secure, or user-friendly. Fix: Replace each with an observable criterion, threshold, and evidence source.Example: if a claim, metric, citation, API, or package is unverified, verify, qualify, or remove it before release. Record the evidence and result in the validation record; this avoids confident wrongness.
Apply Digital Research's docs/continuous-improvement/machine-errors-editorial-gate-2026-09-03.md
while authoring. Review every requirement clause, rationale, table, and paragraph for:
| ID | SRS-specific test |
|---|---|
| ME1 | Does this restate a nearby requirement, rationale, or constraint without a new trace, state, or oracle? |
| ME2 | Is parallel requirement structure expressing a real comparison, or only making the specification look balanced? |
| ME3 | Can an implementer or reviewer act from the existing wording without another restatement? |
| ME4 | Does the quality claim exceed its metric, threshold, or evidence? |
| ME5 | Is the example grounded in _context/, or would it fit any product? |
| ME6 | Has the same rhetorical construction become a repeated template tic? |
| ME7 | Does the paragraph add a requirement, constraint, test oracle, decision, or trace? |
Merge or cut units with no delta. Preserve repetition required for deterministic testability, traceability, accessibility, safety, or exact API/schema identifiers, and record that exception.
When an SRS includes a website, UI specification, presentation, rendered document, or design
system, apply AS1-AS7 from the shared gate. For ordinary requirements prose, use AS1, AS3, AS5,
and AS6; mark visual checks not_applicable when no visual artifact is in scope.
| ID | SRS-specific overlay test |
|---|---|
| AS1 | Is the template, terminology, UI pattern, or copy default justified by this product and reader? |
| AS2 | Do labels, badges, metrics, or section numbers add a requirement or merely imply importance? |
| AS3 | Do repeated requirements, cards, or sections represent distinct actors/states, or is the structure cloned? |
| AS4 | Does proposed animation, glow, gradient, or transition serve a state, task, or accessibility need? |
| AS5 | Is each example, icon, asset, endpoint, or screen traceable to product context rather than placeholder material? |
| AS6 | Are buzzwords, em-dash cadence, aphoristic contrasts, or theatrical framing hiding an untestable requirement? |
| AS7 | Does the rendered requirement remain readable, complete, accessible, and structurally valid? |
For visual SRS deliverables, purple gradients, glassmorphism, neon glow, AI-beige defaults, decorative editorial scaffolding, and decorative motion are no-ship choices. Preserve repeated identifiers, acceptance criteria, error states, trace links, and safety wording when they carry implementation or verification function; record the exception.
The guardrail every generated artefact passes before it ships. Detection lives in the companion 29-ai-slop-audit skill; this skill governs production — writing the SRS, spec, design doc, test doc, or code so slop never appears in the first place. It sits on top of this engine's V&V SOP and IEEE/ISO grounding, never below them: a requirement that is verifiable but generic still fails here.
Apply these rules continuously, as you author — to every requirement, section, acceptance criterion, design statement, and line of code at the moment it is written, not only in one pass at the end. The moment you reach for a banned word, a subjective adjective with no IEEE-982.1 metric, a generic placeholder, an unverified figure, a hallucinated API, or a template default, stop and correct it in place. The ship-gate checklist at the end is the final confirmation, not the first time these rules are consulted. If you are mid-draft and notice slop accumulating — an empty "Challenges and Future Prospects" heading, a "shall be reliable" with no threshold, a requirement with no test oracle — fix it then; do not defer to a cleanup pass.
_context/._context/ inputs; this skill checks finished drafts, not raw notes.AI slop is low-quality content produced in quantity by generative AI and pushed at people who did not ask for it (Merriam-Webster 2025 Word of the Year, verified). Its three diagnostic properties (Kommers et al., "Why Slop Matters", arXiv 2601.06060, verified):
The human tell named in every domain studied: absence of intent — the sense that no one meant anything by it. In an SRS this shows up as requirements no engineer could build a test against. Your job is to re-internalise effort (specificity, verification, authored decisions) before the artefact reaches a person.
Two verified data points anchor why this matters for spec-driven code. Spracklen et al. (USENIX Security 2025) measured a 19.7% package-hallucination rate in AI-generated code — invented dependencies that a spec citing a non-existent API will propagate downstream. GitClear found code-duplication share rising from 8.3% (2020) to 12.3% (2024), the kind of copy-paste bulk that asymmetric-effort slop produces.
| # | Marker to prevent | Avoidance rule you MUST follow |
|---|---|---|
| U1 | Genericness / averaging | Every section carries ≥1 concrete, named, domain-specific element (a real _context/ entity, a measured threshold, a named actor, a stimulus-response pair) a generic template could not produce. Forbid tool defaults and stock requirement boilerplate. |
| U2 | Superficial competence | Enforce a substance floor: include a requirement, constraint, test oracle, or decision the artefact could not exist without. A "Challenges and Future Prospects" section with no named challenge is filler — cut or replace it. |
| U3 | Confident wrongness / hallucination | Verify every statistic, citation, standard clause, named entity, API, schema field, and dependency before emit. Cite at the point of claim. Flag uncertainty with [CONTEXT-GAP] rather than inventing. Never specify an API or library that does not exist. |
| U4 | Volume over substance | Prefer one verifiable requirement over three hollow ones. Do not pad to reach a section length. Honour the Minimum-Length Directive. |
| U5 | Absence of authored voice / intent | State the engineering rationale, trade-off, or named decision behind a requirement. Ban relentless positivity and sycophancy. Record real trade-offs in an ADR rather than smoothing them over. |
| U6 | Skipping the hard parts | Specify the error, edge, empty, and failure cases, the counter-arguments, and the design constraints — not just the happy-path requirement. Every edge case in _context/ must trace to a requirement. |
| U7 | Mechanical uniformity | Vary sentence length and structure. Break the template. No rule-of-three reflex, no "it's not X, it's Y" formula, no em-dash flood. |
These words and constructions are statistically over-produced by LLMs (FSU/COLING-2025; PubMed "delve" +400%). Do not use them as default register. A word here is allowed only when it is the genuinely precise term, never as filler.
This list merges with this engine's standing prohibition (CLAUDE.md Principle 7): never use fast, intuitive, reliable, robust, seamless, or any subjective adjective without its defined IEEE-982.1 metric. Replace with a measurable threshold: "response time ≤ 500 ms at P95 under normal load."
[SMART-FAIL] unless paired with a specific IEEE-982.1 / ISO 25010 metric.ANTI-SLOP GUARDRAIL (inherit in every output):
1. SPECIFICITY FLOOR — every section carries >=1 concrete, named, domain-specific
element from _context/. No tool defaults, no placeholder requirement copy.
2. VERIFY-BEFORE-EMIT — no statistic, citation, standard clause, named entity,
API, schema field, or dependency ships unverified; cite at point of claim;
flag uncertainty with [CONTEXT-GAP].
3. AUTHORED VOICE — state the engineering rationale / trade-off; no relentless
positivity, no sycophancy; route real trade-offs into an ADR.
4. COVER THE HARD PARTS — error/edge/empty/failure cases, counter-arguments,
design constraints; every edge case traces to a requirement.
5. BREAK THE TEMPLATE — vary rhythm and structure; forbid default aesthetics,
the banned-vocabulary list, and undefined subjective adjectives.
_context/ has a matching requirement; no hallucinated API, endpoint, schema field, or library — resolve each against a real source; every requirement traces back to a business goal and forward to a test case._context/stakeholders.md, not "as a user"; Given-When-Then with concrete data values, not abstractions; INVEST-checked; negative and boundary criteria present, not only the happy path.NotImplementedError/... in shipped code; parameterised queries (never string-built SQL); no innerHTML = userInput (XSS); no hardcoded secrets; idiomatic and deduplicated (GitClear duplication 8.3%→12.3%); real tests, never assert true; cover the edge cases the spec named. Veracode found 45% of AI-generated code samples introduced an OWASP-relevant flaw (XSS present in 86%, log-injection in 88%) — verify, do not trust._context/ (U1/U2)._context/ edge case traces to a requirement (U6).29-ai-slop-audit skill on the draft.If any box is unticked, the output is not ready to ship.
[CONTEXT-GAP] instead of flagging it.[V&V-FAIL], [SMART-FAIL], [CONTEXT-GAP], [TRACE-GAP]).29-ai-slop-audit — the detection/evaluation/audit companion (analyse any artefact for slop and score it).02-audit-report and the V&V SOP in CLAUDE.md — apply on top of this; IEEE/ISO grounding precedes style.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job