agentsclimarketplace

Test

Skill bromso/metapowers/plugins/development/skills/test

Write tests for existing code or validate test coverageFrom its SKILL.md

Install
npx -y skills add bromso/metapowers --skill test

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.7 KB, 390 tokens by cl100k_base, as published. Nobody here has run it

Test

Analyze and improve test coverage for "$ARGUMENTS". Write tests for untested code paths, edge cases, and critical functionality.

Prerequisites

None — this is a utility skill that can run anytime.

Process

  1. Analyze existing code:

    • Read the source code related to "$ARGUMENTS"
    • Identify all public functions, methods, and components
    • Map code paths: happy paths, error paths, edge cases
  2. Assess current test coverage:

    • Read existing tests for "$ARGUMENTS"
    • Identify what's tested and what's not
    • Note tests that are shallow (only happy path) or brittle (testing implementation, not behavior)
  3. Write missing tests:

    • Prioritize: critical paths first, then edge cases, then error handling
    • Each test should verify behavior, not implementation
    • Use descriptive test names that explain what's being verified
    • Follow the project's existing test patterns and framework
  4. Run the full test suite:

    • Verify all new tests pass
    • Verify no existing tests broke
    • Note any flaky or slow tests discovered
  5. Write the artifact to .metapowers/development/$ARGUMENTS/03-test.md with sections:

    • Coverage Assessment — what was already tested, what wasn't
    • Tests Added — list of new tests with what they verify
    • Remaining Gaps — what still needs testing (if any)
    • Test Health — any flaky, slow, or problematic tests found

Output

The test report written to .metapowers/development/$ARGUMENTS/03-test.md. Present a summary to the user highlighting:

  • Number of tests added
  • Key coverage gaps filled
  • Any remaining concerns

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,790. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.