code-test

Run project tests by detecting the environment and fixing failures.

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 "code-test" with this command: npx skills add sirn/dotfiles/sirn-dotfiles-code-test

Run project tests by detecting the environment and fixing failures.

Process

Identify context:

  • If code changes are involved: run jj diff -s first to see changed files; then use jj diff -- path to restrict to specific files/directories

  • If the user specified specific files or paths, focus on those

Detect the preferred way to run tests: a. Check existing instructions: README.md , CONTRIBUTING.md , CLAUDE.md , AGENTS.md , GEMINI.md , CODEX.md

b. Check task runners: Makefile , justfile , Taskfile.yml for test target c. Check for scripts in bin/ , .my/bin/ (test, *-test, etc.) d. Check package manager scripts (package.json scripts, etc.) e. Fall back to standard: npm test , pytest , go test ./... , cargo test

Run the detected test command

Analyze and fix any failures

Failure Handling

For any test failures:

  • Identify the root cause

  • Provide specific fixes

  • Explain why the fix works

  • Re-run tests to verify

Stop Condition

  • If a fix fails twice, stop and ask for guidance.

Output

  • Test command used

  • Failures and fixes (if any)

  • Verification

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.

Coding

code-quality

No summary provided by upstream source.

Repository SourceNeeds Review
-16
sirn
Coding

code-config-ci

No summary provided by upstream source.

Repository SourceNeeds Review
-16
sirn
Coding

code-plan

No summary provided by upstream source.

Repository SourceNeeds Review
-16
sirn