기능 배포 준비도 감사
새로 구현한 기능의 품질, 엣지 케이스, 시스템 영향을 다각도로 검증하고 점수를 매깁니다.
- 추천 툴
- 공통AI 분류
- 쓰인 기법
- 역할 부여 · 구조화된 분석 · 점수 평가
프롬프트 원문
You are a senior principal engineer doing a focused readiness audit.
Target feature/function: ${featureName}
Provided implementation:
${codeOrDescription}
Analyze sequentially and systematically:
1. Implementation quality & structure
2. Role and dependencies in the broader codebase
3. Expected behavior vs actual impact
4. Edge cases, risks, bottlenecks, and tech debt
5. Cross-cutting concerns (performance, security, scalability, maintainability)
6. Readiness score (1-10) with justification
Compare and contrast how this feature actually behaves versus what it should deliver across the whole system.
Output ONLY a clean, professional "Feature Readiness Audit" document. Use markdown. Keep total response under 2000 characters. Be direct, honest, and actionable. End with clear next-step recommendations.한국어 풀이 보기(참고용)
당신은 집중 준비도 감사를 진행하는 수석 프린시플 엔지니어입니다. 대상 기능: [기능명] 제공된 구현 내용: [코드또는설명] 다음 순서에 따라 체계적으로 분석하세요: 1. 구현 품질 및 구조 2. 전체 코드베이스에서의 역할 및 의존성 3. 예상 동작 대 실제 영향 4. 엣지 케이스, 리스크, 병목 구간 및 기술 부채 5. 전반적 고려사항 (성능, 보안, 확장성, 유지보수성) 6. 정당한 사유가 포함된 준비도 점수 (1-10점) 이 기능이 전체 시스템에서 실제로 어떻게 동작하는지 기대치와 비교 분석하세요. 마크다운 형식의 명확하고 실행 가능한 감사 보고서만 작성하고 최종 추천 조치 사항으로 마무리하세요.
- 활용[기능명]과 [코드또는설명]에 검증할 신규 개발 코드를 넣고 실행하세요.
- 활용배포 직전 리팩토링이나 엣지 케이스 누락 여부를 신속하게 파악할 수 있습니다.
출처 · prompts.chat · App Feature - Focused Readiness Audit — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.
텍스트 결과
Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).
실행 입력값 보기
You are a senior principal engineer doing a focused readiness audit. Target feature/function: 실시간 간편결제 포인트 적립 및 차감 모듈 Provided implementation: Spring Boot 기반 포인트 처리 서비스. 결제 완료 이벤트를 수신하면 단일 DB 트랜잭션(@Transactional) 내에서 사용자 포인트 잔액을 조회, 차감 후 결제액의 1%를 적립함. 현재 분산 락(Distributed Lock)은 적용되어 있지 않으며, DB Row Lock에 의존함. Analyze sequentially and systematically: 1. Implementation quality & structure 2. Role and dependencies in the broader codebase 3. Expected behavior vs actual impact 4. Edge cases, risks, bottlenecks, and tech debt 5. Cross-cutting concerns (performance, security, scalability, maintainability) 6. Readiness score (1-10) with justification Compare and contrast how this feature actually behaves versus what it should deliver across the whole system. Output ONLY a clean, professional "Feature Readiness Audit" document. Use markdown. Keep total response under 2000 characters. Be direct, honest, and actionable. End with clear next-step recommendations.
Feature Readiness Audit: 실시간 간편결제 포인트 적립 및 차감 모듈
1. 구현 품질 및 구조 (Quality & Structure)
- 단일 트랜잭션 내 잔액 조회·차감·적립이 묶여 있어 가독성은 높으나 모듈 간 결합도가 높음.
- 비동기 처리 분리가 안 되어 있어 외부 오류가 전체 결제 흐름에 영향을 줌.
2. 역할 및 의존성 (Role & Dependencies)
- 결제 서비스(Payment Service) 및 RDB에 직접적인 강연합 상태.
3. 기대 동작 vs 실제 영향 (Expected vs Actual)
- 기대: 100ms 이내의 빠른 포인트 차감/적립 및 정확한 잔액 유지.
- 실제: 트래픽 폭주 시 DB Row Lock 대기로 인해 결제 지연(최대 3초) 발생 및 전체 시스템 타임아웃 유발.
4. 엣지 케이스, 위험 요인 및 기술 부채 (Risks & Tech Debt)
- 동시성 위협: 동일 계정 중복 요청 시 Race Condition으로 인한 포인트 이중 차감/음수 잔액 위험.
- 보상 트랜잭션 부재: 적립 실패 시 전체 결제 취소 처리(Saga Pattern 등) 미흡.
5. 횡단 관심사 (Cross-cutting Concerns)
- 성능/확장성: DB 대기로 인한 TPS 저하. 비동기 큐 미도입으로 확장성 한계.
- 보안/정확성: 멱등성(Idempotency) Key 검증 로직 부재로 재시도 시 중복 적립 위험.
6. 준비도 점수 (Readiness Score): 4 / 10
- 사유: 기본 기능은 동작하나, 동시성 제어 및 멱등성이 미비하여 프로덕션 오픈 시 데이터 불일치 및 장후 장애 발생 가능성이 매우 높음.
권장 개선 조치 (Next-Step Recommendations)
- 분산 락 도입: Redis(Redisson) 기반 분산 락을 적용하여 동일 사용자 잔액 접근 직렬화.
- 비동기 처리 전환: 포인트 적립 로직을 Kafka/RabbitMQ 기반 이벤트를 통해 비동기로 이관.
- 멱등성 보장: API 요청별 Idempotency Key 검증 테이블/캐시 레이어 추가.
hotpick 개선안
원문을 더 잘 동작하게 고쳐 쓴 프롬프트
원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.
AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님
원문의 문제 → 개선안에서 고친 점
입력 칸레슨 05 배우기 ›
원문 · 2개바꿔 넣을 자리가 일부만 표시돼 있어 쓸 때마다 원문을 고쳐야 했습니다.
개선 · 4개[insert feature/function name] · [Feature Name]
고친 이유 (개선안을 만든 AI 의 설명)
- 1명확한 마크다운 서식 구조를 지정하여 출력 결과의 일관성 향상.
- 2시스템 환경 플레이스홀더를 추가하여 맥락에 맞는 분석 유도.
- 3각 분석 단계별 세부 평가 요소를 구체화하여 명확성 강화.
이 개선안에 쓰인 기법 — 프롬프트 클래스에서 배우기
02맥락 · 목적 알려 주기03결과 모양 정하기04지킬 조건 걸기05입력 칸으로 템플릿 만들기09구역을 나눠 쓰기
원문
You are a senior principal engineer doing a focused readiness audit.
Target feature/function: ${featureName}
Provided implementation:
${codeOrDescription}
Analyze sequentially and systematically:
1. Implementation quality & structure
2. Role and dependencies in the broader codebase
3. Expected behavior vs actual impact
4. Edge cases, risks, bottlenecks, and tech debt
5. Cross-cutting concerns (performance, security, scalability, maintainability)
6. Readiness score (1-10) with justification
Compare and contrast how this feature actually behaves versus what it should deliver across the whole system.
Output ONLY a clean, professional "Feature Readiness Audit" document. Use markdown. Keep total response under 2000 characters. Be direct, honest, and actionable. End with clear next-step recommendations.개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요
You are a Senior Principal Software Engineer performing a focused Feature Readiness Audit. Target Feature: [insert feature/function name] Provided Implementation / Context: [insert code, PR description, or architecture context] System Environment: [e.g., Microservices/Monolith, Cloud provider, critical constraints] Analyze the feature systematically: 1. Implementation Quality & Structure: Code readability and design patterns. 2. Architecture & Dependencies: Integration points and systemic coupling. 3. Expected vs. Actual Impact: Behavioral gaps and systemic side effects. 4. Edge Cases, Risks & Tech Debt: Failure modes, bottlenecks, and missing tests. 5. Cross-Cutting Concerns: Security, performance, scalability, maintainability. 6. Readiness Score (1-10): Score with objective rationale. Output Format Requirement: Output ONLY a clean Markdown document using this layout: # Feature Readiness Audit: [Feature Name] ## Executive Summary & Score ([X]/10) ## Key Analysis & Technical Debt ## Prioritized Actionable Next Steps Be direct, honest, and concise. Keep total response strictly under 2000 characters.
같은 분야 프롬프트 코딩 · 개발
더 보기 ›- 텍스트 결과
코딩 · 개발 · Claude Code
전체 코드 버그 종합 분석
프로젝트 코드 전체의 보안 취약점과 로직 오류를 체계적으로 분석하고 수정 보고서를 만듭니다.
기법 · 역할 부여 · 단계별 사고 · 출력 형식 지정
- 텍스트 결과
코딩 · 개발 · Claude Code
레트로 게임 AI 코딩 연출
AI로 웹 게임 개발 시 불필요한 텍스트 연출을 막고 레트로 사운드와 UI를 깔끔하게 구현합니다.
기법 · 네가티브 제약
- 웹 화면(HTML)텍스트 결과
코딩 · 개발 · 공통
공장 AI HMI 시뮬레이터 제작
공장 작업자의 AI 시스템 대응 교육용 단일 HTML 웹 HMI 시뮬레이터를 즉시 구축할 때 활용합니다.
기법 · 역할 부여 · 단계별 지시 · 출력 형식 지정