mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-11-03 14:06:00 +08:00
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>
1.7 KiB
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)
- Read
~/.cursor/cli-anything-generator.root/%USERPROFILE%\.cursor\cli-anything-generator.root - Else install dir
PLUGIN_ROOT.txt/ default.../plugins/local/cli-anything - Read
{PLUGIN_ROOT}/references/HARNESS.mdand{PLUGIN_ROOT}/references/commands/validate.mdvia 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.