agentleFS
renatorozasrenatorozas/claude-code-config/.claude/skills/test-and-fix/SKILL.md

test-and-fix

Skill1 starsChanged 8 months agoMITView on GitHub

Run tests and fix any failures

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the test suite: npm test (or appropriate test command for the project)

    line 8
  2. Distinctive:

    If all tests pass, report success

    line 9

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
  1. Run the test suite: npm test (or appropriate test command for the project)
  2. If all tests pass, report success
  3. If tests fail:
    • Analyze each failure carefully
    • Identify the root cause (is it the test or the implementation?)
    • Fix the issue
    • Re-run tests to verify the fix
    • Repeat until all tests pass

Be methodical: fix one test at a time and verify before moving to the next.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.