Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cli-exercise

БесплатноЗапускает вложенные скриптыНе проверен

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…

cliот cli★ 47 389 звёзд на GitHub

Об этом скилле

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.

Need Resource to read
Check readiness or request installation Preflight flow
Preserve supplied cases Exact-case flow
Decide how to pursue a goal Exploration flow
Start or drive the terminal Run flow
Verify, render, or clean up Evidence flow
Normalize the caller's cases Run-contract reference
Call the bundled helpers Runtime interface
Coordinate cases and assemble one video Recording sessions
Author a deterministic controller Controller reference
Resolve missing prerequisites Prerequisite reference
Inspect representative routing behavior Input examples
Maintain or evaluate the package Maintenance reference
Run an authoring evaluation Agent-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

Полный SKILL.md на GitHub

Установить cli-exercise в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignoreinternal/cli-exercise-evidence/SKILL.mdinternal/cli-exercise-exact/SKILL.mdinternal/cli-exercise-explore/SKILL.mdinternal/cli-exercise-preflight/SKILL.mdinternal/cli-exercise-run/SKILL.mdreferences/controllers.mdreferences/examples.mdreferences/maintenance.mdreferences/prerequisites.mdreferences/recording-sessions.mdreferences/run-contract.mdreferences/runtime-interface.mdscripts/package-lock.jsonscripts/package.jsonscripts/terminal.mjstool/go.modtool/go.sumtool/internal/cliutil/environment.gotool/internal/cliutil/environment_test.gotool/internal/cliutil/files.gotool/internal/cliutil/io.gotool/internal/cliutil/io_test.gotool/internal/cliutil/process_other.gotool/internal/cliutil/process_unix.gotool/internal/engine/actions.gotool/internal/engine/actions_test.gotool/internal/engine/assertions.gotool/internal/engine/assertions_test.gotool/internal/engine/contract.gotool/internal/engine/options.gotool/internal/engine/runtime.gotool/internal/engine/runtime_test.gotool/internal/engine/screen.gotool/internal/evidence/evidence_test.gotool/internal/evidence/fonts_test.gotool/internal/evidence/inspection.gotool/internal/evidence/main.gotool/internal/evidence/model.gotool/internal/evidence/overview.go

FAQ

Что делает скилл cli-exercise?

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-exercise?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cli-exercise запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить cli-exercise с