Skip to content
Hooks
Skill

/check-coverage

Ensure comprehensive test coverage for a CLI handler. Use when adding a new command or auditing existing handler coverage.

From plugin
dippy
2445 skills

Claude Code

$ npx -y skills add ldayton/Dippy --skill check-coverage --agent claude-code

SKILL.md

check-coverage.SKILL.md
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.

1. Gather Documentation

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.

2. Explore Subcommands

For tools with subcommands, recursively explore:

$ARGUMENTS <subcommand> --help
$ARGUMENTS help <subcommand>

Build a mental model of:

  • All subcommands and their actions
  • Which operations are read-only (safe) vs mutate state (unsafe)
  • Global flags that affect parsing
  • Edge cases

3. Review Existing Tests

Read `tests/cli/test_$ARGUMENTS.py` and check for:

  • Coverage of all subcommands
  • Both safe and unsafe variants of each action
  • Global flag handling
  • Edge cases from the docs

4. Add Missing Tests

Add aspirational test cases for anything missing. Follow existing format:

TESTS = [
    # --- Subcommand group ---
    ("$ARGUMENTS <subcommand> <safe-action>", True),
    ("$ARGUMENTS <subcommand> <unsafe-action>", False),
]

5. Iterate Until Tests Pass

just test

For each failure, determine if the test expectation is correct:

  • If yes, update `src/dippy/cli/$ARGUMENTS.py`
  • If no, fix the test

6. Verify

`just check` MUST pass before you're done.

Read more
@ldayton
Ships withdippy

🐀 Less permission fatigue, more momentum. Dippy knows what’s safe to run and keeps Claude on track when plans change.

Stars on GitHub

Momentum

stars in total
244
Star history of ldayton/Dippy on GitHub, a chart by star-history.com

Other skills on dippy.

add-command

add-command

Add support for a new CLI command. Use when implementing a handler or adding to SIMPLE_SAFE.

@ldayton@ldaytonInstall Skill

More skills from other plugins.

peon-ping-config

peon-ping-config

Update peon-ping configuration β€” volume, pack rotation, categories, active pack, and other settings. Use when user wants to…

peon-ping2w5.1k
@peonping@peonpingInstall Skill
stop-that-shit

stop-that-shit

Complete requested work while preventing speculative defenses and scope creep. Use when considering extra hardening, reviewing…

@lennney@lennneyInstall Skill
prompt-improver

prompt-improver

This skill enriches vague prompts with targeted research and clarification before execution. Should be used when a prompt is…

@severity1@severity1Install Skill
contexere

contexere

Use when installing, verifying or configuring Contexere, when command output carries an `[OMNI: ...]` or `[CONTEXERE: ...]`…

@fajarhide@fajarhideInstall Skill

Questions about check-coverage.

Which coding agents can use check-coverage?
check-coverage installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.