mit einem Klick
check-coverage
// Ensure comprehensive test coverage for a CLI handler. Use when adding a new command or auditing existing handler coverage.
// Ensure comprehensive test coverage for a CLI handler. Use when adding a new command or auditing existing handler coverage.
Verify numerical claims in documentation are still accurate
Create a release PR with version bump and changelog
Add support for a new CLI command. Use when implementing a handler or adding to SIMPLE_SAFE.
Debug incorrect Dippy approval or block behavior
| name | check-coverage |
| description | Ensure comprehensive test coverage for a CLI handler. Use when adding a new command or auditing existing handler coverage. |
| argument-hint | <tool> |
| disable-model-invocation | true |
Ensure the handler and tests for $ARGUMENTS provide comprehensive coverage.
Find documentation for the tool (need at least one source):
tldr:
ls ~/source/tldr/pages/*/$ARGUMENTS*.md
cat ~/source/tldr/pages/*/$ARGUMENTS.md
Local CLI:
$ARGUMENTS --help
man $ARGUMENTS
Stop if neither source exists.
For tools with subcommands, recursively explore:
$ARGUMENTS <subcommand> --help
$ARGUMENTS help <subcommand>
Build a mental model of:
Read tests/cli/test_$ARGUMENTS.py and check for:
Add aspirational test cases for anything missing. Follow existing format:
TESTS = [
# --- Subcommand group ---
("$ARGUMENTS <subcommand> <safe-action>", True),
("$ARGUMENTS <subcommand> <unsafe-action>", False),
]
just test
For each failure, determine if the test expectation is correct:
src/dippy/cli/$ARGUMENTS.pyjust check MUST pass before you're done.