跳到正文
cccskills
免费在 GitHub 公开中文介绍

cli-exercise-evidence

将命令行练习的预期与记录证据逐项核对,按需渲染并检查媒体,返回各案例结果和本地成果文件路径;默认不发布证据。

原文查看原文说明

Internal evidence, rendering, and cleanup flow for cli-exercise. Verifies expectations and returns local artifacts without publishing by default.

cli/cli星标 46,748(GitHub 46,748 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 核验命令行练习的预期
  • 从录制内容生成视频证据
  • 检查视频或屏幕内容
  • 整理各案例结果和文件

中文介绍

功能

cli-exercise-evidence 会将命令行练习的执行约定、运行结果、输入记录和状态记录逐项与预期核对,并判断所要求的结论是否得到实际证据支持。结果会区分为通过、已观察、受阻和未知;退出代码为零或视频已生成,都不能单独证明成功。它可以从录制的会话渲染指定格式的媒体,并检查文字可读性、字幕、时间安排、隐私和编码后的画面。技能还会记录检查范围与限制,返回各案例的结果以及保存在本地的成果文件路径。

适用场景

需要根据证据核验命令行操作是否符合预期时可以使用。也适合将录制内容整理为可在本地检查和分享的媒体文件,或梳理包含多个案例、准备阶段、执行阶段和验证阶段的记录。

使用示例

  • “请检查这段命令行练习录制是否符合指定预期。”
  • “请把这个会话制成 GIF,并检查画面内容。”
  • “请返回每个案例的结果和本地成果文件路径。”

注意事项

渲染需要 Go 辅助程序的 evidence 命令和现有的兼容字体。只有收到请求时才会创建 HTML 报告。发布证据或修改拉取请求需要另行请求。许可证为 MIT。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好发布和修改拉取请求需另行请求,并说明写入及录制限制。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要 Go 的 `evidence` 命令和兼容字体,但未提供安装步骤。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md7.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Evidence and cleanup

Read the immutable contract, runtime result, input/controller trace, and recorded states. Keep the caller's case outcome separate from capture and rendering status. For the default complete recording, follow recording sessions and assemble all requested cases and phases with evidence --session, even for one case. --run-dir remains useful for a per-invocation clip, not the normal session deliverable.

Verify the requested claim

Check every expectation against actual evidence. Built-in terminal assertions do not prove separate stdout/stderr routing or remote resource state. Complete manual expectations with approved independent observations, or mark them blocked. Never infer success solely from exit zero or a produced video. Record any case-validation commands as session chapters rather than leaving their execution outside the video. Execute them immediately after that case's exercise, before the next case, not as a final batch when assembling evidence. Honor exact supplied steps and explicit narrower coverage; ask about conflicts rather than adding validation commands the caller excluded.

For writes, verify the object actually written rather than an unrelated or pre-existing object. Preserve failures and partial-effect facts. Do not repeat a potentially successful write just because readback failed.

For exact cases, confirm that the supplied steps, values, order, and assertions were preserved. For exploration, distinguish supplied outcomes from inferred checks and record meaningful changes of approach.

Judge pass/fail against expectations, not exit-code positivity. An expected nonzero exit can pass; an exit-zero assertion failure cannot. Keep observed, blocked, and unknown results visibly distinct from passed.

Render without fabricating output

Use the Go helper's evidence command with the skill root, session manifest, and ready receipt. Honor the requested GIF/MP4 formats and size constraints. Condensed presentation is the default when timing is unspecified. Honor explicit real-time requests. Retain source timing and record shortened pauses and reading holds in the rendering metadata. Do not add repeated timing labels to the video. Select an existing compatible primary font, pass it with --font FILE, and let Go rasterize it; FFmpeg encodes the resulting frames. Do not add an interpreter, browser, or font service as an unapproved fallback.

For another output from an existing capture, use --format and/or --timing on the evidence command. Condensed output does not require a separate approval. Each invocation writes a new rendering and records its presentation options separately. Do not rewrite the execution contract or rerun a command merely to change its presentation.

Every rendering requires --font FILE. If it reports a missing glyph, repeat --font-fallback FILE to define the complete ordered fallback chain. These options apply to session chapters and the overview too. Select existing compatible fonts, then rerun only evidence; the new report records the rendering choices and font hashes without changing the capture.

The default deliverable is the requested media, without HTML. Add --html only for an interactive report request. This applies to both standalone and session renders, including per-chapter reports. Raw capture, JSON results, and inspection data remain available regardless of that choice.

For an annotated session, require:

  • An opening summary with the task-specific manifest title, fidelity derived from exercise contracts (Exact run, Exploration, or Mixed run), and brief case-title/result rows. Give every readable page 10 seconds. Paginate long lists; never drop cases or shrink them into unreadable text.
  • Visible phase labels: purple Preparation, blue Running, and Validation in green only for passed checks or red for failed checks. Blocked, observed, and unknown validation results need explicit non-passing labels and styling.
  • A thin progress line spanning the whole final video, including overview pages, reading holds, and case boundaries, without restarting for each clip.
  • The actual recorded invocation at the top of the terminal area, followed by captured output. Present the immutable executable and arguments, not a fabricated keystroke transcript or an extra shell execution to print them.
  • A separate lower panel explaining the behavior or check in plain language, not Command: .... Use run titles and recorded notes; keep product output intact and unobscured.

An explicit unannotated real-time request retains no-overlay behavior: do not add an overview, phase labels, command header, progress line, or explanation panel. Do not add condensed reading holds.

The terminal picture must come from recorded real states. Never cover, replace, paste, or retrospectively redact product output. Do not reorder captures to make historical execution appear sequential. Nonchronological, overlapping, or reused captures must not be presented as a valid sequential session. Legacy captures missing runtime timestamps remain readable only with an explicit execution order unverified warning.

If private input caused unsafe output, stop and fix the input at its source. A new take must respect the original case and any remaining authorization for effects. Do not repeat remote writes without resolving their existing outcome.

Inspect before handoff

Inspect native-resolution first/final frames and relevant transient states. Check readable monospaced text, wrapping, editor/cursor behavior, captions, timing, and privacy. Inspect every overview page, its 10-second duration, case coverage, fidelity label, outcome styling, invocation display, and progress at holds and chapter boundaries. Confirm no overlay appears in an unannotated cut. Inspect every distinct visual state for a privacy or transient-state claim. The helper saves identical pixel images once and retains their frame, timestamp, source-state, and revision mappings in the manifest. Use those mappings to locate repeated appearances rather than expecting a separate PNG for each frame. State actual coverage. Decoding every frame is not the same as visually reviewing every frame. Inspect the encodedSamples from each requested format as well as the composited/source images. The latter alone cannot reveal encoding artifacts.

Record executable identity, contract/controller hashes, dimensions, duration, frame counts when available, and any limitation on what the evidence proves. Use each format's observed media metadata, including GIF's centisecond timing granularity, rather than treating the planned frame rate as exact media timing.

The generated report records visual review as pending at rendering time. After inspection, write a separate visual-review.json beside that report, bound to its contract hash and inspection.manifestSha256. List the actual image paths reviewed, coverage, findings, and the review outcome. Do not rewrite raw capture or relabel sampled coverage as exhaustive. Link this review receipt at handoff.

Close and return

Confirm that owned runtime, recorder, and transport processes are stopped. Do not stop other terminal sessions or globally shut down another user's daemon. Keep contracts, results, traces, and final artifacts in the private workspace. Clean up only known temporary data owned by the run.

Return the requested local media paths and concise case outcome. Include HTML only when requested; it must work without a standing playback server. Publishing evidence or modifying a PR is separate and requires the caller's request and appropriate approval.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

agentic-workflows

免费有简介

此技能识别 GitHub Agentic Workflows 相关请求的类型,并引导代理读取对应提示或技能文件,涵盖设计、创建、配置、更新、调试和升级。

  • 设计或创建新工作流
  • 更新现有工作流
  • 调查工作流错误
cli/cli4.7万2026年10月25日 更新

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.

中文简介正在准备中。当前显示英语简介。

  • Record specified CLI test cases
  • Demonstrate a command’s behavior
  • Validate an interactive terminal workflow
cli/cli4.7万2026年10月25日 更新

cli-exercise-exact

免费有简介

此技能按原样执行指定的命令行测试,保留命令、输入、顺序和预期条件;逐项准备、操作并验证,再依据实际证据标记通过、失败、受阻或仅作观察。

  • 按原样执行命令行测试
  • 保留输入值和案例顺序
  • 对照预期与实际输出
cli/cli4.7万2026年10月25日 更新

cli-exercise-explore

免费有简介

此技能根据目标和已批准的范围选择可观察的命令行检查,逐项完成准备、操作和即时验证,并整理证据、尚未达到的行为及检查结果。

  • 按目标检查命令行操作
  • 明确上传完成的判断条件
  • 逐项准备并验证操作
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 的全部技能

报告此技能的问题