테스트 주도 방식 버그 수정 가이드
테스트를 먼저 작성하여 버그를 재현하고 체계적으로 해결하는 과정을 안내합니다.
원제 · Test-First Bug Fixing Approach
- 분야
- 코딩 · 개발
- 추천 툴
- 어느 AI든(공통)
- 형식 기준 추천
- 실행 결과
- 아직 없음
- 빈칸
- 1곳
- 채워 쓰기 가능
- 원문
- 영어 · 약 100단어
- 제목 · 설명 한국어 번역
- 개선안
- 없음
- 이용 조건
- CC0 · 자유 이용
- prompts.chat 공개 모음
- 쓰인 기법
- —
프롬프트 원문
출처에 올라온 그대로
I have a bug: ${bug}. Take a test-first approach: 1) Read the relevant source files and existing tests. 2) Write a failing test that reproduces the exact bug. 3) Run the test suite to confirm it fails. 4) Implement the minimal fix. 5) Re-run the full test suite. 6) If any test fails, analyze the failure, adjust the code, and re-run—repeat until ALL tests pass. 7) Then grep the codebase for related code paths that might have the same issue and add tests for those too. 8) Summarize every change made and why. Do not ask me questions—make reasonable assumptions and document them.출처 · prompts.chat 공개 프롬프트 모음 · 작성 Ilker Ulusoy — CC0(저작권 포기)로 공개된 원문을 그대로 싣습니다. 한국어 제목 · 설명은 AI 번역입니다.
내용이 틀렸거나 권리 문제가 있나요?
빈칸만 채우면 바로 쓰는 프롬프트
칸에 적는 대로 아래 프롬프트에 들어갑니다. 비워 둔 칸은 표시된 그대로 남고, 적은 내용은 어디에도 저장하지 않습니다.
빈칸 1곳 가운데 0곳 채움
I have a bug: [bug]. Take a test-first approach: 1) Read the relevant source files and existing tests. 2) Write a failing test that reproduces the exact bug. 3) Run the test suite to confirm it fails. 4) Implement the minimal fix. 5) Re-run the full test suite. 6) If any test fails, analyze the failure, adjust the code, and re-run—repeat until ALL tests pass. 7) Then grep the codebase for related code paths that might have the same issue and add tests for those too. 8) Summarize every change made and why. Do not ask me questions—make reasonable assumptions and document them.
같은 분야 프롬프트코딩 · 개발
더 보기 ›- 텍스트 결과Claude Code
전체 코드 버그 종합 분석
프로젝트 코드 전체의 보안 취약점과 로직 오류를 체계적으로 분석하고 수정 보고서를 만듭니다.
기법역할 부여단계별 사고출력 형식 지정
- 텍스트 결과Claude Code
레트로 게임 AI 코딩 연출
AI로 웹 게임 개발 시 불필요한 텍스트 연출을 막고 레트로 사운드와 UI를 깔끔하게 구현합니다.
기법네가티브 제약
- 웹 화면(HTML)
공장 AI HMI 시뮬레이터 제작
공장 작업자의 AI 시스템 대응 교육용 단일 HTML 웹 HMI 시뮬레이터를 즉시 구축할 때 활용합니다.
기법역할 부여단계별 지시출력 형식 지정