GitHub Agentic Workflows 요청이 설계, 생성, 설정, 수정, 디버깅, 업그레이드 중 무엇인지 구분해 알맞은 프롬프트나 스킬 파일로 안내합니다.
- 새 워크플로 설계 또는 생성
- 기존 워크플로 수정
- 워크플로 오류 조사
GitHub CLI의 실제 리소스를 사용하는 인수 테스트를 추가하거나 수정할 때 저장소 픽스처, 리소스 정리, API 요청량, 비동기 대기 방식을 정하도록 돕습니다. 변경한 테스트를 먼저 좁은 범위로 검증합니다.
Use when adding or changing GitHub CLI acceptance tests, txtar scripts, testdata groups, repository fixtures, or acceptance harness behavior.
실행 점수 미검증
설치 방법 보기이 기술은 실제 GitHub 리소스를 대상으로 GitHub CLI(gh)를 실행하는 인수 테스트를 추가하거나 수정하도록 돕습니다. 각 테스트마다 사용자 권한이 필요한지 판단하고, 공유, 격리 또는 저장소 없음 중 픽스처 방식을 정합니다. 공유 저장소에서 다른 테스트와 충돌하지 않도록 이름과 상태를 관리하고, 생성한 리소스를 기록해 정리하는 방법과 API 요청량을 줄이는 방법도 다룹니다. 비동기적으로 등록되는 워크플로 같은 리소스는 고정 시간 동안 기다리는 대신 조건을 확인하며 기다립니다. 변경한 테스트는 먼저 대상 범위를 좁혀 검증합니다.
GitHub CLI 기능이나 인수 테스트 스크립트를 수정할 때 사용할 수 있습니다. 여러 테스트가 저장소나 API 제한을 공유하는 환경에서 충돌이나 불필요한 리소스 생성을 줄이며 동작을 확인하는 데 도움이 됩니다.
실시간 테스트는 GitHub의 리소스를 조작합니다. 실행하려면 인수 테스트용 인증 정보가 필요합니다. 검증 방법과 인증 변수는 acceptance/README.md에서 확인합니다.
이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.
AI가 SKILL.md의 내용에서 주의가 필요한 작업과 도입 전제를 확인했습니다. 점수는 실제로 실행한 결과(실행 검증)만으로 매깁니다.
점수에는 넣지 않았습니다. 2026년 10월 26일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.
설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Acceptance tests exercise gh against live GitHub resources. Minimize repository
creation and cloning without allowing concurrent scripts to interfere.
Read acceptance/README.md and nearby scripts before editing.
Every .txtar script must start with exactly one capability declaration:
# requires-user-capability: false
Set the declaration to true only when the script requires a user principal,
such as account SSH/GPG keys, personal-account forks, or user membership APIs.
Repository and organization operations supported by an installation token
should use false.
Every script must contain exactly one declaration:
| Mode | Use when |
|---|---|
fixture-repo shared REPO | One initialized private repository is enough and every operation can coexist with concurrent and accumulated state. |
fixture-repo isolated REPO | One initialized private repository is enough, but the test needs clean state, changes repository-global state, or performs multiple coordinated Git ref updates. |
fixture-repo none | No repository is needed, or the test needs multiple repositories, public visibility, special creation options, or repository lifecycle coverage. |
Managed fixtures are initialized, have discussions enabled, and are deleted by
the harness. Scripts using shared or isolated must not run gh repo create.
With none, create every required repository explicitly and immediately
register deferred cleanup. Use defer gh repo delete --yes $ORG/$REPO when the
repository should still exist under that name. Use defer cleanup-repo $REPO
when testing deletion or renaming; it is scoped to $ORG and treats an already
absent repository as success.
Repositories created with an initial commit can remain busy after gh repo create returns. Before renaming one, use wait-for-repository-ready $ORG/$REPO to wait for its default-branch commit. GitHub can retain the
repository creation lock after that commit becomes readable, so keep the
gh repo rename command inline and allow a 10-second stabilization delay
between this readiness check and that command.
Scripts within a group run concurrently. A shared script must remain correct when the repository already contains unrelated resources.
$RANDOM_STRING, adding
$SCRIPT_NAME only when useful. Width-constrained commands such as
gh pr status truncate long titles.$RANDOM_STRING in the commit
contents or message when scripts could otherwise create the same tree from the
same parent.isolated script. Unique refs do not prevent concurrent
Git pushes and merges in a shared repository from contending.env2upper for Actions variables and
secrets whose generated names are asserted later.--repo $ORG/$REPO or GH_REPO=$ORG/$REPO. Clone only
when local Git behavior is part of the test.If any operation violates this contract, use isolated; do not weaken
assertions to make sharing appear safe.
Scripts share token-wide API rate limits. Count requests across the whole test process and combine compatible live assertions. Keep coverage for a narrowly limited endpoint in one script so concurrent scripts cannot burst the limit. For Code Search's 10 requests/minute bucket, use at most five HTTP requests in the entire acceptance process, even when they run sequentially. This reserves half the bucket for pagination, retries, and other token activity. Count the requests made by each command, keep representative live coverage, and move remaining variants to unit tests.
Use bounded condition-based waits for asynchronously registered resources.
Fixed sleeps are both slower when registration is fast and unreliable when it
is slow. Use wait-for-workflow after pushing a new workflow definition, then
use wait-for-run before watching or inspecting a triggered workflow run.
After gh workflow run, wait-for-run captures the returned run URL when the
server provides one and falls back to polling for older servers.
On timeout, wait-for-run captures the pushed commit and remote ref, workflow
files, recent unfiltered runs, commit check suites, and an Actions API request
ID. Use that evidence to distinguish event ingestion, run indexing, filtering,
and push/setup failures before changing fixture isolation or timeout budgets.
Cancellation tests must use a self-contained workflow with a deliberately long
step so the run cannot finish before the cancellation request, plus a short job
timeout so a failed cancellation cannot run for the full step. After
registration, use wait-for-run-status RUN_ID in_progress before cancellation
because the cancellation endpoint can reject a run that is still starting. Do
not wait for GitHub to finish cancellation after the command confirms that the
request was submitted; that tests Actions' eventual behavior rather than the
CLI contract. Do not lengthen registration sleeps to compensate for a short or
externally dependent job.
Every live mutation must resolve through $ORG/$REPO, a resource ID or URL
captured from something created under $ORG, or fixture cleanup scoped to
GH_ACCEPTANCE_ORG. Do not rely on ambient Git remotes or repository context.
env2upper VAR_NAME=TESTSCRIPTS_${RANDOM_STRING}
fixture-repo shared REPO
env GH_REPO=$ORG/$REPO
exec gh variable set $VAR_NAME --body value
exec gh variable get $VAR_NAME
stdout '^value$'
Run metadata checks without live credentials:
go test -tags=acceptance \
-run '^(TestSelectAcceptanceTestGroups|TestFilterAcceptanceScripts|TestTokenHasUserCapability|TestAcceptanceScriptsDeclareUserCapabilityRequirement|TestAcceptanceScriptsDeclareFixtureRepository|TestRequiresUserCapabilityForScript|TestValidateFixtureRepositoryDeclaration|TestFixtureRepositoryManager)$' \
./acceptance
Run a changed live script with GH_ACCEPTANCE_GROUP and
GH_ACCEPTANCE_SCRIPT; see acceptance/README.md for the credential variables.
Use -count=1 to bypass the Go test cache. Start with one script. If concurrency
is required to reproduce the behavior, pass only the contending scripts as a
comma-separated filter and repeat that focused set before widening the run.
아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
GitHub Agentic Workflows 요청이 설계, 생성, 설정, 수정, 디버깅, 업그레이드 중 무엇인지 구분해 알맞은 프롬프트나 스킬 파일로 안내합니다.
Exercise a real command-line program with specified cases or a stated goal, then capture and verify the observed behavior. It produces local media evidence such as a session video, helping reviewers see what the command did without treating the recording as proof of general correctness.
한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.
명령줄 연습의 기대 결과를 기록된 증거와 대조하고, 요청된 미디어를 렌더링해 점검한 뒤 사례별 결과와 로컬 산출물 경로를 제공합니다. 기본적으로 증거를 공개하지 않습니다.
지정된 CLI 테스트의 명령, 입력, 순서, 기대 조건을 바꾸지 않고 실행하도록 안내합니다. 사례별 준비·실행·검증 후 실제 증거에 따라 통과, 실패, 차단 또는 관찰로 분류합니다.
승인된 범위 안에서 목표에 맞는 CLI 확인 항목을 정하고, 각 항목의 준비·실행·즉시 검증을 차례로 진행합니다. 증거로 확인된 결과와 도달하지 못한 동작을 구분해 정리합니다.
`cli-exercise` 내부 모듈로 빌드, 터미널, 미디어 도구의 사용 가능 여부를 확인합니다. 의존 항목이 없으면 설치 경로를 제안하고 승인을 받은 뒤 설치하며, 완료 후 준비 상태를 다시 확인합니다. 녹화나 다른 작업 권한을 부여하지는 않습니다.