check-coverage

Ensure the handler and tests for $ARGUMENTS provide comprehensive coverage.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "check-coverage" with this command: npx skills add ldayton/dippy/ldayton-dippy-check-coverage

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.

  1. 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

  1. 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

  1. 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), ]

  1. 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

  1. Verify

just check MUST pass before you're done.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

verify-counts

No summary provided by upstream source.

Repository SourceNeeds Review
General

debug

No summary provided by upstream source.

Repository SourceNeeds Review
General

release

No summary provided by upstream source.

Repository SourceNeeds Review
General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated