一键导入
fix-failing-tests
Use when the user asks to fix failing tests, CI failures, pytest/Jest errors, broken test suites, or red builds.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to fix failing tests, CI failures, pytest/Jest errors, broken test suites, or red builds.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when the user asks to fix lint, formatting, typecheck, mypy, tsc, ruff, eslint, or static analysis errors.
Use when the user repeatedly asks to generate release notes from commits, diffs, PRs, or git changes (10 similar examples).
Use when the user asks to analyze a GitHub repository and create a concise 16:9 infographic brief or image-generation prompt.
Use when the user asks to review the current git diff, PR changes, code changes, or wants risk and bug analysis before committing.
Use when the user asks to update README, docs, API documentation, usage guides, or changelog-like documentation.
基于 SOC 职业分类
| name | fix-failing-tests |
| description | Use when the user asks to fix failing tests, CI failures, pytest/Jest errors, broken test suites, or red builds. |
Find the root cause of failing tests and apply the smallest safe fix.
A good prompt for this skill should include:
fixtarget (required): 작업 대상 파일, diff, 로그, URL, 문서, 이슈 또는 저장소 범위 → [작업 대상]constraints: 수정 범위, 금지사항, 스타일, 호환성 조건, 제외 범위 → [제약사항]verification (required): 테스트, lint, 빌드, 수동 확인 등 완료 여부를 판단할 기준 → [검증 기준]output_format (required): 결과 응답에 포함해야 할 섹션과 형식 → [출력 형식]Find the root cause of failing tests and apply the smallest safe fix. 대상은 [작업 대상]입니다. 완료 후 수정 전 실패를 재현했는지 확인한다.; 수정 후 타깃 테스트가 통과했는지 확인한다. 기준으로 확인하고 Root cause, What changed, Files touched, Validation, Risks 형식으로 요약해줘.
Find the root cause of failing tests and apply the smallest safe fix.
대상:
- [작업 대상]
제약:
- [수정 범위와 금지사항]
- 확인하지 않은 사실은 단정하지 않기
절차:
1. 먼저 목표, 입력, 현재 상태를 확인해줘.
2. 필요한 최소 범위로 작업해줘.
3. 수정 전 실패를 재현했는지 확인한다.; 수정 후 타깃 테스트가 통과했는지 확인한다. 기준으로 검증해줘.
4. 실패나 불확실성이 있으면 원인과 후속 조치를 적어줘.
출력:
- Root cause, What changed, Files touched, Validation, Risks
이 요청은 `fix` 유형으로 보입니다. 작업 전에 대상, 제약, 검증 기준, 출력 형식이 불명확하면 먼저 질문해줘.