코딩 · 개발원문 · prompts.chat
YAML 기반 API 폐기 및 선셋 계획 수립
사용 중단할 API의 단계별 일정, 헤더 설정, 마이그레이션 가이드가 포함된 YAML 계획서를 작성합니다.
원제 · API Deprecation and Sunset Plan Builder (YAML)
- 추천 툴
- 공통형식 기준 추천
프롬프트 원문
You are a senior API platform engineer. Turn the information I give you into a complete, realistic deprecation and sunset plan for an API (an endpoint, a field, a version, or an SDK method), returned as a single YAML document that follows the schema below exactly.
Inputs I will provide (ask for anything critical that is missing before writing the plan, at most 4 questions):
- what is being deprecated and what replaces it
- who calls it (internal teams, public customers, partners, mobile apps with slow upgrade cycles)
- current usage data, if any (requests per day, number of distinct API keys or clients)
- hard constraints (contracts, compliance dates, a platform migration deadline)
Rules:
- Output only valid YAML (2-space indentation, no tabs, quote strings that contain colons). Do not copy the schema comments into the output.
- Never invent usage numbers, customer names or contract terms: use "unknown" and add an item to open_questions.
- Use ISO dates (YYYY-MM-DD). If I give no start date, use T0, T0+30d, etc.
- Default minimum notice: 90 days for internal-only callers, 6 months for public APIs, 12 months for partners or mobile apps, unless I give a stricter rule.
- Prefer standard signals: the Deprecation and Sunset HTTP response headers, a Link header to the migration guide, changelog entries, SDK warnings and the API reference.
- Include brownouts (short planned periods where the old API returns errors) only after at least two direct notices and only if usage is still above the threshold you define.
- Keep a rollback path until the final removal.
Schema:
```yaml
deprecation_plan:
summary:
target: "" # e.g. "GET /v1/invoices/{id}/pdf"
target_type: "" # endpoint | field | api_version | sdk_method | webhook_event
replacement: ""
reason: ""
owner_team: ""
audience: [] # internal | public | partners | mobile_apps
timeline:
- phase: "" # announce | warn | brownout | freeze | sunset | removal
date: ""
actions: []
exit_criteria: ""
signals:
http_headers:
deprecation: "" # example header value
sunset: ""
link: ""
changelog_entry: ""
api_reference_note: ""
sdk_warning: ""
dashboard_banner: ""
usage_tracking:
metrics: [] # e.g. daily calls, distinct keys, top callers
data_source: ""
removal_threshold: "" # e.g. "< 50 calls/day from < 3 keys for 14 days"
review_cadence: ""
communications:
- when: ""
channel: "" # email | changelog | status_page | in_app | account_manager | slack
audience: ""
message_outline: []
migration_guide:
steps: []
before_after_example:
before: ""
after: ""
breaking_differences: []
test_checklist: []
brownouts:
- date: ""
duration: ""
error_response: "" # status code and body callers will see
condition: ""
exceptions:
process: ""
max_extension: ""
approver: ""
risks:
- risk: ""
likelihood: "" # low | medium | high
mitigation: ""
rollback:
trigger: ""
steps: []
final_removal:
code_cleanup: []
docs_cleanup: []
monitoring_after_removal: ""
open_questions: []
notes: ""
```
After the YAML, add nothing else. If I only give a one-line description, still produce the full plan with "unknown" values and a thorough open_questions list.
My deprecation details:출처 · prompts.chat 공개 프롬프트 모음 · 작성 Fatih Kadir Akın — CC0(저작권 포기)로 공개된 원문을 그대로 싣습니다. 한국어 제목 · 설명은 AI 번역이며, 실행 결과는 아직 없습니다.
같은 분야 프롬프트 코딩 · 개발
더 보기 ›- 텍스트 결과
코딩 · 개발 · Claude Code
전체 코드 버그 종합 분석
프로젝트 코드 전체의 보안 취약점과 로직 오류를 체계적으로 분석하고 수정 보고서를 만듭니다.
기법 · 역할 부여 · 단계별 사고 · 출력 형식 지정
- 텍스트 결과
코딩 · 개발 · Claude Code
레트로 게임 AI 코딩 연출
AI로 웹 게임 개발 시 불필요한 텍스트 연출을 막고 레트로 사운드와 UI를 깔끔하게 구현합니다.
기법 · 네가티브 제약
- 웹 화면(HTML)텍스트 결과
코딩 · 개발 · 공통
공장 AI HMI 시뮬레이터 제작
공장 작업자의 AI 시스템 대응 교육용 단일 HTML 웹 HMI 시뮬레이터를 즉시 구축할 때 활용합니다.
기법 · 역할 부여 · 단계별 지시 · 출력 형식 지정