managing-experiment-lifecycle
하는 일
이 스킬은 실험의 각 상태 변경(시작, 일시 중지, 동결, 종료 등)을 설명합니다. 변경하기 전에 그 결과가 무엇인지 알아야 하는 A/B 테스트 운영자를 위한 것입니다.
사용하는 경우
- ✓초안 실험을 시작할 준비가 되었고 다음에 무슨 일이 일어나는지 알고 싶을 때.
- ✓실행 중인 실험을 일시 중지, 재개, 종료하고 싶을 때.
- ✓새 사용자가 테스트에 들어오지 못하게 하면서 지표는 계속 수집하고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/experiments/skills/managing-experiment-lifecycle/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지금은 실행 중인 실험을 일시 중지해 주세요. 이미 참여 중인 사용자에게 무슨 일이 생기는지도 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
각 작업의 요구 사항과 효과를 설명합니다. 예를 들어 누가 어떤 변형을 보는지, 분석에 어떤 영향이 있는지입니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Managing experiment lifecycle
This skill covers experiment state transitions — what each action does, when to use it, and how it affects variant assignment and analysis.
State diagram
draft ──launch──▶ running ──end──▶ stopped ──archive──▶ archived
│ │ ▲ │
│ pause resume ship_variant
│ │ │ (also ends if running)
│ ▼ │
│ paused (flag inactive, still "running" status)
│
├─freeze_exposure──▶ exposure_frozen ──unfreeze_exposure──▶ running
│ (enrollment closed, metrics keep flowing)
Any non-draft state ──reset──▶ draft
Actions and their implications
For each action, the two key questions:
- Who sees what variant? (user perspective)
- Who is in my analysis? (statistical perspective)
Launch (experiment-launch)
Transitions draft → running. Activates the feature flag and sets start_date.
- Preconditions: must be in draft, flag needs 2-20 multivariate variants (no specific key required; the baseline defaults to "control" when present, else the first variant)
- Pre-launch checklist: has at least one metric? Variants correct? Flag implemented in code?
- Variants: users start being bucketed into variants based on the configured split
- Analysis: data collection begins from
start_date
No request body needed.
One optional item worth a single mention at launch, when the change is user-facing and substantial: a
short survey, shown when users finish the experimented flow (e.g. triggered by the form's submit event),
collects qualitative feedback (a rating, an optional comment) alongside the metrics, from day one. Offer it once as setup advice, drop it if declined, and
never let it delay the launch. Do not raise it at end or ship-variant time — there it reads as a gate
on rolling out. → See references/qualitative-feedback.md in [[diagnosing-experiment-health]]
Pause (experiment-pause)
Deactivates the feature flag. Users fall back to the default experience (typically control).
- Preconditions: must be running and not already paused
- Variants: flag is not returned by
/decide— no new exposure events recorded - Analysis: no new data while paused, but existing data is preserved. Experiment stays "running".
No request body. Use experiment-resume to reactivate.
Resume (experiment-resume)
Reactivates the feature flag after a pause. Users are re-bucketed deterministically into the same variants.
- Preconditions: must be paused
- Variants: same assignment as before pause — deterministic bucketing
- Analysis: exposure tracking resumes
No request body.
Freeze exposure (experiment-freeze-exposure)
Stops enrolling new users while everything else keeps going: already-enrolled users keep their variant, metrics keep flowing, and end_date stays null.
Snapshots the already-exposed users into a static cohort and narrows every release condition on the feature flag to that cohort.
Status becomes exposure_frozen.
Use for long-horizon metrics (revenue, LTV, retention, renewals) when the sample is big enough and you want to stop adding users without stopping measurement.
Neither end nor pause fits that job: end stops measurement at end_date, and pause deactivates the flag for everyone.
- Preconditions: must be running (not draft, stopped, paused, or already frozen), flag linked and not deleted, at least one release condition
- Variants: enrolled users keep their variant (deterministic bucketing); new users no longer match the flag
- Analysis: exposures stop growing (a flat exposure curve is expected), but metric data keeps accumulating for enrolled users
Timing: the exposure scan and cohort snapshot run synchronously inside the API call, and duration scales with the number of exposed persons — an experiment with tens of thousands of exposed users can take on the order of tens of seconds. Set expectations with the user, wait for the response, and don't treat a slow call as a failure or retry it.
Not applicable (400) for:
- Group-aggregated experiments — the flag targets groups, not persons, and a person cohort can't freeze group-based matching
- Experiments in a holdout — holdout assignment is evaluated before release conditions, so n
자주 묻는 질문
실험을 동결하면 무엇이 되나요?
새 사용자의 참여를 막지만, 이미 테스트에 있는 사용자로부터 지표는 계속 들어옵니다.
시작한 뒤에 초안으로 되돌릴 수 있나요?
네. 초안이 아닌 실험을 초기화하면 초안으로 돌아가며, 스킬이 먼저 그 효과를 설명합니다.
변형을 출시하면 무엇을 하나요?
변형을 출시하면 실행 중인 실험도 끝날 수 있으며, 그것이 플래그에 무엇을 의미하는지 스킬이 설명합니다.
상세 정보
작성자의 원본 설명
Guides experiment state transitions: launching, pausing, resuming, freezing/unfreezing exposure, ending, shipping variants, archiving, resetting, duplicating, copying to another project, and migrating a legacy experiment to the new experiments engine. Covers preconditions, implications for variant assignment and analysis, and the decision framework for when to use each action. TRIGGER when: user asks to launch, pause, resume, end, ship, archive, reset, duplicate, or copy an experiment to another project, to freeze/unfreeze exposure (stop enrolling new users while metrics keep flowing, or reope
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6881
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.