cli-exercise
A skill kept in the GitHub CLI repository for running real command-line programs from exact test cases, a broad goal or both, recording the terminal and reporting what happened.
スキルの内容
A skill kept in the GitHub CLI repository for running real command-line programs from exact test cases, a broad goal or both, recording the terminal and reporting what happened. Exact cases keep the caller's commands, inputs and checks as written, while explore cases let the agent choose checks within an agreed scope. It first checks dependencies, asking before any install, records the program's path, version and checksum, and gets approval for what the run may change. Cases run one by one through a bundled Go helper and a Node adapter for a pseudo-terminal, and results become one chaptered video, MP4 or GIF, with an HTML report on request. It needs Go, Node, ffmpeg and a monospaced font.
できること
- Run exact or exploratory CLI test cases
- Check dependencies and ask before installing
- Record terminal sessions as chaptered video
- Report case, capture and render failures separately
概要
- 公開元
- GitHub CLI
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- .gitignore
- references/controllers.md
- references/examples.md
- references/maintenance.md
- references/prerequisites.md
- references/recording-sessions.md
- references/run-contract.md
- references/runtime-interface.md
- scripts/package-lock.json
- scripts/package.json
- scripts/terminal.mjs
- tests/skill-evaluations.json
- tool/go.mod
- tool/go.sum
- tool/internal/cliutil/environment.go
- tool/internal/cliutil/environment_test.go
- tool/internal/cliutil/files.go
- tool/internal/cliutil/io.go
- tool/internal/cliutil/io_test.go
- tool/internal/cliutil/process_other.go
- tool/internal/cliutil/process_unix.go
- tool/internal/engine/actions.go
- tool/internal/engine/actions_test.go
- tool/internal/engine/assertions.go
- tool/internal/engine/assertions_test.go
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
詳細
出典
- スキルファイル(SKILL.md)github.com/cli/cli2026年11月10日
- GitHubリポジトリgithub.com/cli/cli · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- GitHub APIのレコードgithub.com/cli/cli · 根拠となる項目:スクリプトを含む2026年11月16日
- リポジトリ内のフォルダ(cli-exercise)github.com/cli/cli · 根拠となる項目:スクリプトを含む2026年11月10日