跳到正文
cccskills
免费在 GitHub 公开

test

Use EVERY TIME you need to run tests, verify tests pass, or check for regressions. ALWAYS use this instead of running eldev directly.

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el星标 486(GitHub 486 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md1.2 KB
  • run-tests.sh1.8 KB

SKILL.md(原文)

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

/test — Run Tests with Clean Output

Run ./run-tests.sh (in this skill's directory) to execute tests. The script handles all noise filtering and outputs only a clean summary.

How to Run

.claude/skills/test/run-tests.sh [ARGUMENT]

Parse the ARGUMENTS line and pass it through:

ArgumentWhat it does
(none) / allFull suite
test/unit/foo-test.elSingle file
unit / integration / acceptanceCategory

Resolving test names

If the argument contains / but no .el (looks like a test name, e.g. stuck-sa-filter/cancelled-project-task-skipped):

  1. Grep for deftest <name> in test/ to find the file
  2. Pass the file path to run-tests.sh

Output Format

The script returns one of:

Success: PASS: 1195 tests in 18.4s

Failure: Summary line + full failure/error details (test name, expected/actual, file:line)

Unexpected: Last 30 lines of raw output

Report the script output verbatim. Do not add commentary unless the user asks.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

architect

免费

Use when requirements exist and a technical design is needed before implementation begins

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

define

免费

Use when a new feature request, bug report, or work request needs requirements defined before implementation

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

implement

免费

Use when a design exists and it's time to break it into tasks and execute with subagent dispatch and review

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

qa

免费

Use when implementation is complete and you want to verify quality through adversarial testing that writes code and provides evidence

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

refactor

免费

Use when code quality needs improvement after implementation, without changing behavior

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

查看 Trevoke 的全部技能

报告此技能的问题