一键导入
run-tests
Run the project test suite and surface failures. Use when asked to run tests or check test status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the project test suite and surface failures. Use when asked to run tests or check test status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | run-tests |
| description | Run the project test suite and surface failures. Use when asked to run tests or check test status. |
| allowed-tools | Bash |
Run the test suite for this project.
Project manifest (for test command detection): !{cat package.json 2>/dev/null | python3 -c "import sys,json; s=json.load(sys.stdin).get('scripts',{}); print('\n'.join(f'{k}: {v}' for k,v in s.items() if 'test' in k))" 2>/dev/null || grep -E '^test' Makefile 2>/dev/null | head -5 || echo "(no manifest found)"}
Task: $ARGUMENTS
Steps:
npm test or the test script in package.jsonpytest or python -m pytestgo test ./...cargo test.github/workflows/)Do not guess the test command — always read the manifest first.
Generate a changelog or release notes from recent git history. Use when asked to write a changelog, summarize recent commits, or produce release notes.
Scaffold a new custom SKILL.md file interactively. Use when asked to create a new skill or slash command.
Create or switch to a feature branch, typically tied to a GitHub issue. Use when asked to create a branch or start work on an issue.
Create, view, list, or comment on GitHub issues. Use when asked to file, open, or manage GitHub issues.
Create, review, or manage GitHub pull requests. Use when asked to open, check, or merge a PR.
Run the linter, auto-fix what's fixable, and report the rest. Use when asked to lint or fix lint errors.