Help us improve
Share bugs, ideas, or general feedback.
From cli-anything
Refines existing CLI harness for software at <software-path> by analyzing gaps in coverage and adding new commands/tests, optionally focusing on specific features.
npx claudepluginhub hkuds/cli-anything --plugin cli-anythingHow this command is triggered — by the user, by Claude, or both
Slash command
/cli-anything:refineThe summary Claude sees in its command listing — used to decide when to auto-load this command
# cli-anything:refine Command Refine an existing CLI harness to improve coverage of the software's functions and usage patterns. ## CRITICAL: Read HARNESS.md First **Before refining, read `./HARNESS.md`.** All new commands and tests must follow the same standards as the original build. HARNESS.md is the single source of truth for architecture, patterns, and quality requirements. ## Usage ## Arguments - `<software-path>` - **Required.** Local path to the software source code (e.g., `/home/user/gimp`, `./blender`). Must be the same source tree used during the original build. **Note...
/refineRefines existing cli-anything-web CLI: performs gap analysis, records new traffic, implements missing endpoints, updates tests and REPL help.
/writing-testAdds unit and integration tests for a new feature by reviewing docs/templates, aiming for 100% coverage, updating testing docs, and storing reusable patterns.
/test-coverageAnalyzes test coverage using tools for JavaScript, Python, Java, C#, Ruby; generates reports, identifies gaps, and recommends new tests.
/create-commandCreates a new slash command by analyzing existing ones in .claude/commands/ for patterns, structure, categories, and documentation, then proposes for review.
/coverGenerates and runs unit, integration (docker-compose/testcontainers), and Playwright E2E test suites for existing code. Analyzes coverage gaps, spawns parallel agents per tier, executes tests, and heals failures up to 3 times.
/refineRuns recursive refinement on current git branch and PR using specialist team (Principal Engineer, reviewers), against user-specified outcomes. Performs git/gh pre-flight checks.
Share bugs, ideas, or general feedback.
Refine an existing CLI harness to improve coverage of the software's functions and usage patterns.
Before refining, read ./HARNESS.md. All new commands and tests must follow the same standards as the original build. HARNESS.md is the single source of truth for architecture, patterns, and quality requirements.
/cli-anything:refine <software-path> [focus]
<software-path> - Required. Local path to the software source code (e.g., /home/user/gimp, ./blender). Must be the same source tree used during the original build.
Note: Only local paths are accepted. If you need to work from a GitHub repo, clone it first with /cli-anything, then refine.
[focus] - Optional. A natural-language description of the functionality area to focus on. When provided, the agent skips broad gap analysis and instead targets the specified capability area.
Examples:
/cli-anything:refine /home/user/shotcut "vid-in-vid and picture-in-picture features"/cli-anything:refine /home/user/gimp "all batch processing and scripting filters"/cli-anything:refine /home/user/blender "particle systems and physics simulation"/cli-anything:refine /home/user/inkscape "path boolean operations and clipping"When [focus] is provided:
This command is used after a CLI harness has already been built with /cli-anything. It analyzes gaps between the software's full capabilities and what the current CLI covers, then iteratively expands coverage. If a [focus] is given, the agent narrows its analysis and implementation to that specific functionality area.
<software>_cli.py) and all core modules{ function_name: covered | not_covered }<software-path>--json output supporthandle_errorcore/ or utils/test_core.pytest_full_e2e.pyREADME.md with new commands and usage examplesTEST.md with new test results<SOFTWARE>.md) with new coverage notes# Broad refinement — agent finds gaps across all capabilities
/cli-anything:refine /home/user/gimp
# Focused refinement — agent targets a specific functionality area
/cli-anything:refine /home/user/shotcut "vid-in-vid and picture-in-picture compositing"
/cli-anything:refine /home/user/gimp "batch processing and Script-Fu filters"
/cli-anything:refine /home/user/blender "particle systems and physics simulation"
/cli-anything:refine /home/user/inkscape "path boolean operations and clipping masks"