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

cli-exercise-exact

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

原文查看原文说明

Internal exact-case flow for cli-exercise. Preserves supplied commands, inputs, ordering, assertions, and output constraints.

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

实测评分 未实测

查看安装方法

适用场景

  • 按原样执行命令行测试
  • 保留输入值和案例顺序
  • 对照预期与实际输出
  • 记录未执行或未验证的案例

中文介绍

功能

此技能提供执行指定命令行测试的步骤,并保留请求者给出的命令、输入、顺序、案例编号和预期条件。每个案例只涉及一种行为,依次完成准备、操作和验证后,才开始下一个案例。多个命令可以用于准备或验证;但如果需要改变案例结构,代理会先询问,不会自行拆分、调整顺序或添加步骤。操作前会观察实际屏幕;即使出现意外提示,也不会擅自重新解释测试。判断结果时,会将指定预期与实际观察到的状态或输出进行对照。与预期相矛盾的结果标记为失败;无法执行或验证的案例标记为受阻。没有正确性条件的执行记录为观察结果。

适用场景

如果您要忠实复现已经确定的命令行测试案例,并保留结果证据,可以使用此技能。当输入值或执行顺序很重要、预期结果本身是错误,或案例包含写入操作时,也适合参考。它能帮助区分原先指定的条件与实际发生的情况。

使用示例

  • “请按给定顺序和输入执行这些命令行测试案例。”
  • “请将每项预期条件与实际输出对照并分类。”

注意事项

入口技能必须提供保留原样的请求、经过验证的约定、预检记录和获准的影响范围。如果缺少这些信息,代理会返回入口流程,不会自行假设补齐。案例中获准的写入必须按指定内容执行,否则应报告为受阻。此技能会使用共享执行模块,以及用于证据整理和清理的相关技能。

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

文档检查

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

安全性发送数据、删除文件、执行命令等是否有说明
A良好要求在批准范围内操作,并规定获准写入须按要求执行或报告受阻。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足要求入口技能提供已验证约定、预检和范围,但未写安装步骤。

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

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

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

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

包含的文件(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

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

Record exact cases

Require the entry skill's preserved request, validated contracts, ready preflight receipt, and approved effect scope. If any is missing, return to the entry skill instead of filling gaps with assumptions.

Normalize without changing meaning

Keep the caller's original case text. Turn supplied commands and interactions into the canonical actions in the contract. Keep test ordering and case IDs stable.

Each recording case covers one behavior, with at most one exercise invocation. Give it a very short behavior/outcome title, not an inventory of commands or flags. A supplied case may include multiple preparation or validation commands. If its exact steps conflict with this structure, ask before splitting, reordering, omitting, or adding anything. Explicit narrower coverage takes precedence over the default preparation/exercise/validation coverage.

If the caller specifies literal keys, preserve those keys. If they specify an option by name, a mechanical selector can locate it. Ask before inventing values or steps that materially affect the case. Do not add negative tests, extra metadata, new retries, or exploratory branches just because they seem useful.

Keep before/after conditions controlled: equivalent initial state, commands, geometry, data, and timing, with separately identified executables.

Execute faithfully

Use the shared run module. The exact-action gate must remain active for both live AI actions and generated controllers.

Execute each case's preparation, exercise, and validation in that order before starting the next case; approved cleanup can follow its validation. Do not batch phases across cases or later rearrange captured runs to suggest a different execution order. Preserve and clarify conflicting caller-supplied ordering.

Observe the real screen before actions. Condition-based waits can synchronize unspecified timing, but cannot replace or defeat a stated timing requirement. Never match an expected output merely because it appears in the typed command.

An unexpected prompt is not permission to reinterpret the test. Use only mechanical actions consistent with the supplied case. Otherwise pause, preserve evidence, and report what needs clarification.

If an authorized write is part of the case, execute it as specified or report blocked. Do not replace it with Cancel and claim that the case passed. Follow all applicable environment/tool policies.

Judge the specified assertions

Check every expectation against actual observations, with references to the appropriate state, output, file, or approved external readback. Do not rewrite the expectation to match the observed result.

Use failed for contradicted expectations and blocked for requirements that could not be exercised or verified. An execution with no correctness assertion is observed, not passed. A nonzero exit can pass an expected-error case; exit zero cannot excuse a contradicted assertion.

Finish with evidence and cleanup.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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-evidence

免费有简介

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

  • 核验命令行练习的预期
  • 从录制内容生成视频证据
  • 检查视频或屏幕内容
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 的全部技能

报告此技能的问题