test-running
3
总安装量
2
周安装量
#56399
全站排名
安装命令
npx skills add https://github.com/aspiers/ai-config --skill test-running
Agent 安装分布
claude-code
2
mcpjam
1
kilo
1
junie
1
windsurf
1
zencoder
1
Skill 文档
Test Running
Run all appropriate tests according to repository guidelines.
When to Use This Skill
Use this skill:
- After linting passes
- Before staging changes for commit
- After implementing a feature or bug fix
- When verifying existing functionality still works
Test Discovery
Run tests according to repository guidelines. Look for test commands in:
- Repository documentation (
README.md,AGENTS.md,CLAUDE.md, etc.) - Package configuration (
package.json,Makefile,pyproject.toml,Cargo.toml, etc.) - Standard test patterns for the project type
If no test guidelines are found or they are unclear, ask the user for clarification.
Common Test Commands
# JavaScript/TypeScript
npm test
yarn test
pnpm test
# Python
pytest
python -m pytest
make test
# Other
./bin/test-*
*test*
Testing Process
CRITICAL REQUIREMENT: 100% test success is MANDATORY.
For each test command found:
- Run it
- If ANY test failures occur, they MUST be fixed
- If issues can’t be fixed immediately, stop and ask the user what to do next
- Only consider the task complete when ALL tests pass with 100% success rate OR the user explicitly gives permission to ignore certain failures
Important Notes
- “Issues” includes not only test failures, but also noise in test output such as warnings which could mask true failures
- Don’t proceed until all tests pass or user explicitly allows deferral
- Document any failures clearly with file, test name, and error message
Output
Report results organized by:
- Passing tests: Summary of what passed
- Failing tests: Each failure with file, test name, and error
- Recommendations: What needs to be fixed
If all tests pass, simply confirm: “All tests passed.”