원클릭으로
test
Run tests, analyze failures, and fix until green
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run tests, analyze failures, and fix until green
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guided git commit workflow — review changes, draft message, stage, commit
Manage context pressure during large codebase work without losing critical state.
Create a pull request with structured summary and test plan
Interactive debugging — reproduce, isolate, trace, fix
Explore a codebase or directory to understand its structure and purpose
Implement a requested code change end-to-end with scoped edits and verification.
| name | test |
| description | Run tests, analyze failures, and fix until green |
| when_to_use | After writing or modifying code that has tests, or when asked to test |
| required_tools | ["bash"] |
| tags | ["testing","verification"] |
| activation | {"input_patterns":["(?i)(run test|test.*fail|fix.*test|测试|跑.*测试)"]} |
${ARGS}
Identify the test framework and run command: Cargo.toml → cargo test, package.json → npm test / jest / vitest, pytest.ini / pyproject.toml → pytest, Makefile / justfile → look for test targets.
Execute the full suite (or scoped to the relevant module if the change is isolated). Capture stdout and stderr completely.
For each failure: read the failing test to understand what it expects, read the implementation it tests. Determine — is the test wrong or is the code wrong? If the code changed recently (git diff), the code is likely at fault.
Apply the minimal fix. One failure at a time. Re-run after each fix to verify no regressions.
State: how many tests, how many passed, what was fixed. If anything remains broken, explain why and what is needed.