agentleFS
faizkhairifaizkhairi/claude-code-blueprint/skills/test-check/SKILL.md

test-check

Skill73 starsChanged 4 months agoMITView on GitHub

MUST use after implementing new features or bug fixes, when user asks 'run the tests', 'are tests passing?', 'test this', or before any deployment step. Also trigger when tests were previously failing and fixes were applied.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the full test suite and provide analysis:

    line 7
  2. Very specific:

    Check CLAUDE.md or the project manifest (package.json, pyproject.toml, Gemfile, pom.xml, etc.) for the test command

    line 10
  3. Distinctive:

    Default (no context): ask which project

    line 12
  4. Distinctive:

    Run the appropriate test command and capture output

    line 13
  5. Distinctive:

    If failures exist: analyze root cause of each failing test

    line 15
  6. Distinctive:

    Check CLAUDE.md for the documented test baseline count for the active project

    line 17
  7. Distinctive:

    If no baseline is documented: parse the test summary output line for total count.

    line 18
  8. Distinctive:

    If actual count is higher than baseline, the test suite grew.

    line 19
  9. Distinctive:

    Check if recently modified files have corresponding tests

    line 20
  10. Distinctive:

    Check CLAUDE.md for the dev server port and E2E test command

    line 24
  11. Distinctive:

    Check if dev server is running on that port before proceeding

    line 25
  12. Very specific:

    Run E2E test command from CLAUDE.md (e.g., yarn test:e2e or npm run test:e2e, or the project's E2E command)

    line 26
  13. Distinctive:

    If dev server is NOT running, report and skip (do NOT auto-start)

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Run the full test suite and provide analysis:

  1. Detect active project from current working directory or recent context:
    • Check CLAUDE.md or the project manifest (package.json, pyproject.toml, Gemfile, pom.xml, etc.) for the test command
    • Common patterns: yarn test:unit/npm test/npx vitest run (JS), pytest (Python), bundle exec rspec (Ruby), go test ./... (Go), mvn test (Java), cargo test (Rust), dotnet test (.NET)
    • Default (no context): ask which project
  2. Run the appropriate test command and capture output
  3. Report summary: total tests, passed, failed, skipped, duration
  4. If failures exist: analyze root cause of each failing test
  5. Compare against known baselines:
    • Check CLAUDE.md for the documented test baseline count for the active project
    • If no baseline is documented: parse the test summary output line for total count; compare against previous runs if agent memory has a baseline
    • If actual count is higher than baseline, the test suite grew; if lower, investigate missing tests
  6. Check if recently modified files have corresponding tests
  7. Identify test coverage gaps for critical paths
  8. Suggest new tests if coverage is insufficient
  9. E2E tests (run if user says "e2e", "all", or "full"):
    • Check CLAUDE.md for the dev server port and E2E test command
    • Check if dev server is running on that port before proceeding
    • Run E2E test command from CLAUDE.md (e.g., yarn test:e2e or npm run test:e2e, or the project's E2E command)
    • E2E baselines: documented in CLAUDE.md
    • Parse the E2E runner's output (Playwright, Cypress, Selenium, Capybara, etc.): passed/failed/skipped counts
    • On failure: note which spec file and test name failed
    • If dev server is NOT running, report and skip (do NOT auto-start)

Present results in a clear dashboard format.

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.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.