본문으로 건너뛰기
cccskills
무료GitHub에 공개

cli-exercise

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.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Exercises real command-line programs from explicit cases or a goal, with faithful terminal recordings and observed results. Use when asked to record CLI test cases, demonstrate command behavior, validate an interactive workflow, or explore a command against a goal; not for ordinary unit-test execution or skill authoring.

cli/cli스타 46,748(GitHub 46,748 + cccskills 0)

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Record specified CLI test cases
  • Demonstrate a command’s behavior
  • Validate an interactive terminal workflow
  • Explore a command against a goal

포함된 파일(77)

  • SKILL.md8.2 KB
  • .gitignore67 B
  • internal/cli-exercise-evidence/SKILL.md7.8 KB
  • internal/cli-exercise-exact/SKILL.md3.2 KB
  • internal/cli-exercise-explore/SKILL.md3.3 KB
  • internal/cli-exercise-preflight/SKILL.md3.4 KB
  • internal/cli-exercise-run/SKILL.md4.5 KB
  • references/controllers.md3.9 KB
  • references/examples.md5.7 KB
  • references/maintenance.md6.4 KB
  • references/prerequisites.md9.4 KB
  • references/recording-sessions.md13.6 KB
  • references/run-contract.md9.9 KB
  • references/runtime-interface.md21.8 KB
  • scripts/package-lock.json32.5 KB
  • scripts/package.json205 B
  • scripts/terminal.mjs7.9 KB
  • tests/skill-evaluations.json17.4 KB
  • tool/go.mod275 B
  • tool/go.sum950 B
  • tool/internal/cliutil/environment_test.go1.3 KB
  • tool/internal/cliutil/environment.go1.5 KB
  • tool/internal/cliutil/files.go2.5 KB
  • tool/internal/cliutil/io_test.go1.6 KB
  • tool/internal/cliutil/io.go4.1 KB
  • tool/internal/cliutil/process_other.go922 B
  • tool/internal/cliutil/process_unix.go2.0 KB
  • tool/internal/engine/actions_test.go10.7 KB
  • tool/internal/engine/actions.go22.6 KB
  • tool/internal/engine/assertions_test.go3.4 KB
  • tool/internal/engine/assertions.go2.5 KB
  • tool/internal/engine/contract.go22.3 KB
  • tool/internal/engine/options.go476 B
  • tool/internal/engine/runtime_test.go31.3 KB
  • tool/internal/engine/runtime.go19.3 KB
  • tool/internal/engine/screen.go8.7 KB
  • tool/internal/evidence/evidence_test.go22.4 KB
  • tool/internal/evidence/fonts_test.go10.7 KB
  • tool/internal/evidence/inspection.go2.0 KB
  • tool/internal/evidence/main.go17.1 KB
  • tool/internal/evidence/model.go8.9 KB
  • tool/internal/evidence/overview.go8.9 KB
  • tool/internal/evidence/presentation_test.go19.7 KB
  • tool/internal/evidence/raster.go10.6 KB
  • tool/internal/evidence/render.go19.3 KB
  • tool/internal/evidence/session_inspection_native_test.go9.1 KB
  • tool/internal/evidence/session_inspection_test.go5.5 KB
  • tool/internal/evidence/session_inspection.go4.5 KB
  • tool/internal/evidence/session_media_test.go28.0 KB
  • tool/internal/evidence/session_media.go19.7 KB
  • tool/internal/evidence/session_model.go2.9 KB
  • tool/internal/evidence/session_order_test.go15.1 KB
  • tool/internal/evidence/session_order.go3.1 KB
  • tool/internal/evidence/session_test.go7.6 KB
  • tool/internal/evidence/session.go13.5 KB
  • tool/internal/execution/cli_test.go13.4 KB
  • tool/internal/execution/cli.go14.2 KB
  • tool/internal/execution/fixture_test.go3.1 KB
  • tool/internal/fontutil/font_test.go3.0 KB
  • tool/internal/fontutil/font.go9.9 KB
  • tool/internal/preflight/check.go12.3 KB
  • tool/internal/preflight/main.go4.6 KB
  • tool/internal/preflight/preflight_test.go9.7 KB
  • tool/internal/preflight/probe_test.go3.0 KB
  • tool/internal/preflight/probe.go5.3 KB
  • tool/internal/recording/models_test.go3.0 KB
  • tool/internal/recording/models.go4.8 KB
  • tool/internal/terminal/adapter_test.go9.2 KB
  • tool/internal/terminal/adapter.go11.0 KB
  • tool/internal/terminal/cleanup_other_test.go470 B
  • tool/internal/terminal/cleanup_unix_test.go6.8 KB
  • tool/internal/terminal/fixture_test.go3.3 KB
  • tool/internal/terminal/output_unix_test.go7.1 KB
  • tool/internal/terminal/session.go1.1 KB
  • tool/main_test.go2.4 KB
  • tool/main.go2.3 KB
  • tool/skill_test.go3.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

CLI Exercise

Exercise the caller's selected executable and return local evidence. Accept precise cases, a broad goal, or a mixture. Preserve explicit requirements while letting the agent choose useful investigations where the caller left room.

By default, produce one chaptered session video, even for one case. Each case covers one behavior and has a very short natural-language behavior/outcome title. Actually execute and record that case's preparation, one exercise invocation, then validation before starting the next case. Approved cleanup can follow validation. Never batch all setups or validations or reorder historical clips to imply that execution order. Exact supplied steps and narrower coverage remain authoritative: ask about conflicts rather than silently adding, splitting, or reordering a caller's case.

Deliver media only by default. Infer clear output intent: a video exercising a PR calls for an MP4, while a request for an interactive review report calls for media plus HTML. Ask only when the requested deliverable is ambiguous. Generate HTML with --html only when wanted; do not create or open it for video-only requests. Keep raw captures and JSON results as internal evidence.

The internal SKILL.md files below are bundled instruction modules. Read the needed module from this package and follow it in the current agent context. They do not require new agents, sessions, or separately installed sibling skills.

Load only what is needed

This entry file is the routing overview. Load the selected flow, not every internal module. Execute the Go helper as a tool; read its source only when diagnosing a problem or reviewing the implementation.

Go owns prerequisite checks, execution policy, controllers, capture, verification, and rendering. Node is only a mechanical adapter to Tuistory's PTY API. The skill does not require another scripting-language environment.

NeedResource to read
Check readiness or request installationPreflight flow
Preserve supplied casesExact-case flow
Decide how to pursue a goalExploration flow
Start or drive the terminalRun flow
Verify, render, or clean upEvidence flow
Normalize the caller's casesRun-contract reference
Call the bundled helpersRuntime interface
Coordinate cases and assemble one videoRecording sessions
Author a deterministic controllerController reference
Resolve missing prerequisitesPrerequisite reference
Inspect representative routing behaviorInput examples
Maintain or evaluate the packageMaintenance reference
Run an authoring evaluationAgent-behavior rubrics

These direct links keep resources one hop from the entry point. For an exact request, do not load the exploration flow unless the caller also supplied an exploratory case. Do not load controller details for a live-only run.

1. Preserve the request and choose the fidelity policy

Classify each case, not just the entire request:

  • Exact: the caller supplied cases or required steps. Preserve commands, arguments, input values, order, assertions, and timing/output constraints. Do not add exploratory steps or silently substitute an equivalent-looking operation for a specified key sequence.
  • Explore: the caller supplied a goal or expected outcome. Choose checks and interactions within the agreed context and permitted effects. Separate supplied expectations from your hypotheses.

Input fidelity is independent of execution strategy. Either policy can use a bounded controller, live observation/action calls, or both. Switching strategy never grants permission to change an exact case.

Resolve only missing details that affect correctness or authority:

  • The executable or build to exercise, with its actual path and identity.
  • Cases or goal, supplied context, expected outcomes, and initial state.
  • Permitted files, hosts, accounts, repositories, and other effects.
  • Desired media format and constraints. Honor an explicit format; use GIF for an unspecified terminal animation and MP4 when the caller requests video.

Default to condensed presentation, with static pauses shortened. Honor explicit real-time requests and retain the original capture timestamps. Keep timing adjustments in the recording metadata, not repeated on-screen labels.

A request such as "upload an attachment" is not permission to choose an arbitrary account or publish to the current repository. Ask for the missing target/authorization before performing a write. Prefer synthetic data and isolated configuration.

Command discovery is a separate case property. A case may provide the command and test its use, or explicitly require finding it. Do not silently turn a known-command case into a discoverability test.

Preserve the non-secret original request alongside normalized cases. Never copy credentials into the contract or recording; use approved secret references or report blocked if the requested literal recording would disclose them. Use the run contract; unsupported or ambiguous requirements must be clarified or marked blocked, not discarded.

2. Establish readiness and authorization

Read the preflight module. It checks dependencies. If setup is needed, propose commands using the pinned requirements, obtain caller approval, and recheck afterward.

Installation approval and permission to modify test resources are independent. Record the executable path, version/revision, checksum, accepted case contract, and approved effect scope before starting the subject.

Use a secure private workspace outside the repository. Do not put recordings, credentials, runtime caches, or operator configuration in this skill directory. No secret values belong in the contract or a tool request.

3. Load the appropriate internal flow

Both use the shared run module. It provides real terminal observation, input, controller execution, recording, and bounded process ownership. Read only the internal modules needed. Use a recording session to keep case and phase order, carry approved state between related commands, and assemble their actual recordings with evidence --session, not the per-invocation --run-dir path. Keep validation commands in that recording. The session overview uses the task-specific title, derived fidelity, and case results, with 10 seconds per readable page. Progress spans the entire final video.

4. Verify, render, and clean up

Always finish through the evidence module, including when the case is blocked or the subject fails.

Return the case outcome, meaningful observed behavior, requested media paths, executable identity, inspection coverage, and limitations. Keep case failure, capture failure, and render failure distinct. A video is evidence of an observed flow, not proof of general correctness or a replacement for tests.

Include a report link only when the caller requested the report. Do not leave a host, terminal, recorder, or playback server running. Publishing the evidence is a separate, explicit action.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

agentic-workflows

무료요약 있음

GitHub Agentic Workflows 요청이 설계, 생성, 설정, 수정, 디버깅, 업그레이드 중 무엇인지 구분해 알맞은 프롬프트나 스킬 파일로 안내합니다.

  • 새 워크플로 설계 또는 생성
  • 기존 워크플로 수정
  • 워크플로 오류 조사
cli/cli4.7만2026년 10월 25일 업데이트

cli-exercise-evidence

무료요약 있음

명령줄 연습의 기대 결과를 기록된 증거와 대조하고, 요청된 미디어를 렌더링해 점검한 뒤 사례별 결과와 로컬 산출물 경로를 제공합니다. 기본적으로 증거를 공개하지 않습니다.

  • 명령줄 연습의 기대 결과를 검증할 때
  • 기록에서 동영상 증거를 만들 때
  • 동영상이나 화면 내용을 점검할 때
cli/cli4.7만2026년 10월 25일 업데이트

cli-exercise-exact

무료요약 있음

지정된 CLI 테스트의 명령, 입력, 순서, 기대 조건을 바꾸지 않고 실행하도록 안내합니다. 사례별 준비·실행·검증 후 실제 증거에 따라 통과, 실패, 차단 또는 관찰로 분류합니다.

  • 지정된 그대로 CLI 테스트 실행
  • 입력과 사례 순서 보존
  • 기대 결과를 실제 출력과 대조
cli/cli4.7만2026년 10월 25일 업데이트

cli-exercise-explore

무료요약 있음

승인된 범위 안에서 목표에 맞는 CLI 확인 항목을 정하고, 각 항목의 준비·실행·즉시 검증을 차례로 진행합니다. 증거로 확인된 결과와 도달하지 못한 동작을 구분해 정리합니다.

  • 목표에 맞춰 CLI 작업 확인
  • 업로드 완료 조건 정리
  • 작업마다 준비와 검증 수행
cli/cli4.7만2026년 10월 25일 업데이트

cli-exercise-preflight

무료요약 있음

`cli-exercise` 내부 모듈로 빌드, 터미널, 미디어 도구의 사용 가능 여부를 확인합니다. 의존 항목이 없으면 설치 경로를 제안하고 승인을 받은 뒤 설치하며, 완료 후 준비 상태를 다시 확인합니다. 녹화나 다른 작업 권한을 부여하지는 않습니다.

  • 녹화 전 필요한 도구 확인
  • 동영상 또는 GIF 출력 지원 확인
  • 누락된 의존 항목의 설치 절차 확인
cli/cli4.7만2026년 10월 25일 업데이트

cli-exercise-run

무료요약 있음

공유 Go 런타임과 Tuistory 어댑터로 CLI 실행 사례를 수행하고 기록합니다. 승인된 준비, 실행, 검증, 정리 순서를 따르며 실제 터미널 동작과 실행 증거 및 시간 순서를 보존합니다.

  • CLI 실행 사례와 결과 기록하기
  • 준비, 실행, 검증을 순서대로 진행하기
  • 실패한 실행의 부분 증거 보존하기
cli/cli4.7만2026년 10월 25일 업데이트

cli의 스킬 모두 보기

이 스킬의 문제 신고