Skip to main content
← Back to list
01Issue
BugClosedSwamp CLI
AssigneesNone

Relationships

#934 spell-grammar false positives on CLI flag/placeholder patterns

Opened by mellens · 7/3/2026

Description

The spell-grammar criterion in skill-analyser flags consecutive identical words on a line as a typo. This produces false positives on CLI argument documentation where a flag and its placeholder share the same word — e.g. --arguments <arguments>, --adr <adr>, --md <md>.

In a review of 90 skills, 43 out of 90 skills failed this criterion, and every single failure was this pattern. No real typos were found.

Steps to reproduce

  1. Create a SKILL.md with a usage table or argument list containing --flag <flag> or --name name
  2. Run skill-analyser analyse against it
  3. The skill fails spell-grammar despite having no grammatical errors

Expected behaviour

Lines matching --<word>\s+[<]?<word>[>]? (a CLI flag followed by its value placeholder) should be excluded from the consecutive-duplicate-word check.

Actual behaviour

Every skill with CLI argument documentation tables fails spell-grammar.

Proposed fix

In checkSpellGrammar, after stripping code blocks, also skip lines that match /^\s*--\S+/ or strip angle-bracket-wrapped tokens before the duplicate-word check.

Environment

  • Crave skill-analyser extension: current main
  • Target: EE skills library (90 skills, plugin layout)
02Bog Flow
OPENTRIAGEDIN PROGRESSCLOSED

Closed

7/3/2026, 10:22:24 AM

No activity in this phase yet.

03Sludge Pulse
Editable. Press Enter to edit.

mellens commented 7/3/2026, 10:22:24 AM

Closing — re-raising as a GitHub issue on the Crave repo (mesgme/crave) where this belongs.

Sign in to post a ripple.