Files
broodcicada-glitchandCursor 7154ed7fa5 Add Cursor generator plugin with slash commands and installers. (#417)
Ship a first-class Cursor adaptation (commands, skill, rules, marketplace manifest, CI installer tests) and document generator vs Hub consumer install paths in README/README_CN.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 15:25:52 +08:00

1.7 KiB

name, description
name description
cli-anything-validate Validate a CLI-Anything harness against the full HARNESS checklist

cli-anything-validate Command

Validate an existing harness against directory, implementation, test, docs, packaging, and code-quality requirements.

Target software: local path argument (required).

CRITICAL: Resolve PLUGIN_ROOT (absolute paths only)

  1. Read ~/.cursor/cli-anything-generator.root / %USERPROFILE%\.cursor\cli-anything-generator.root
  2. Else install dir PLUGIN_ROOT.txt / default .../plugins/local/cli-anything
  3. Read {PLUGIN_ROOT}/references/HARNESS.md and {PLUGIN_ROOT}/references/commands/validate.md via absolute paths

Cursor Tool Bindings

Cursor tool Role
Glob / Grep / Read Checklist inventory of harness layout and APIs
Shell Optional smoke tests, import checks, pip show / entry-point checks
Write Only to record validation report if the user asks for a file

Phase Gates and Resume (hard gate)

Progress: {software-root}/agent-harness/.cli-anything-progress.json with "mode": "validate".

  • Walk checklist sections; mark each section completed before moving on.
  • Resume incomplete validation; finish with a clear pass/fail summary and concrete gaps.

Validate checklist (summary)

  • Directory layout under agent-harness/cli_anything/<software>/
  • Implementation: Click + REPL + --json + session patterns per HARNESS
  • Tests: unit + E2E + installed CLI
  • Docs: README, SOFTWARE.md, TEST.md, skills
  • Packaging: namespace packages + console_scripts

What This Command Does

Follow {PLUGIN_ROOT}/references/commands/validate.md. Do not silently lower the quality bar.