跳到正文
cccskills
免费在 GitHub 公开

test

Run Egregore's fast static, Runtime-contract, and targeted automated test gate before save. Optional relationship index validation requires an explicit request.

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

egregore-labs/egregore星标 293(GitHub 293 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

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

Run the fast automated gate for the current change.

When to invoke

Use for $test, “test my changes”, or a quick pre-save validation. Use qa for broader behavioral proof and adversarial fixtures.

Arguments: $ARGUMENTS — optional paths, --all, or explicit --graph.

Default gate

  1. Run bash bin/base-branch.sh to print the configured integration branch. Scope to supplied paths, --all, or changed files against that branch.
  2. Run static analysis once:
bash bin/test-changes.sh <scope>

--all scans source skills plus Runtime-neutral shell adapters. Do not treat a missing historical .claude/commands directory as test coverage.

  1. Run the architectural ratchet once (source instances only — installed instances do not ship the distribution engine and skip this step):
if [ -f bin/capability-distribution.mjs ] && [ -f capability-distribution.json ]; then
  bash bin/node-run.sh bin/capability-distribution.mjs runtime-skill-audit \
    --root . --strict-contract
fi

This checks the complete skill denominator, QMD/graph/control-plane/write coupling ceilings, and migrated-skill contracts.

  1. Select the smallest relevant existing test suites from the changed paths and skill-references.json. Run independent suites in parallel where the harness supports it. Do not rerun the same suite through multiple rituals.
  2. For changes to cross-harness Runtime sources or skills, run Codex/Pi/Prime bundle parity checks.

Optional graph validation

Only when the user explicitly passed --graph or changed the graph projection adapter itself:

  • require Connected graph capability;
  • extract bounded read-only Cypher fixtures from the named graph files only;
  • reject CREATE, MERGE, SET, DELETE, REMOVE, or DROP;
  • validate through the optional graph projection adapter;
  • report graph unavailable as an optional-check gap, not a Local test failure.

Never scan every skill for Cypher and execute it against a live database.

Result

Render one compact pass/fail report with:

  • static checks;
  • Runtime architecture audit;
  • targeted suites and counts;
  • bundle parity when applicable;
  • optional graph check only when requested;
  • exact failures and the safe next action.

Warnings do not block unless they represent a privacy, authorization, canonical-order, or destructive-action risk.

Rules

  • No default Neo4j, API, or network dependency.
  • Tests must not modify production/live QMD, graph, control-plane, or canonical memory state.
  • Use isolated fixtures for writes and destructive/failure behavior.
  • Never call graph functionality the correct default Runtime boundary.
  • Do not claim “safe to save” when required suites were skipped.

Emit content-free telemetry after the gate:

bash bin/telemetry.sh emit "command" '{"command":"test"}' 2>/dev/null &

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

activity

免费

Explicit Activity card only. Use when the user names /activity or directly asks to show, open, or render the Activity dashboard/card. Never use it to answer or synthesize what the team is focused on, busy with, prioritizing, or doing; analytical organizational questions use Search/Runtime QMD.

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

egregore-labs/egregore2932026年10月17日 更新

announce

免费

Draft, preview, and explicitly send an Egregore group announcement. Use for /announce, telling the team something, or notifying everyone—not a direct message or structured handoff.

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

egregore-labs/egregore2932026年10月17日 更新

archive

免费

Capture an effective prompting or steering technique as a reusable canonical pattern. Use when a prompt chain worked especially well; use /reflect for insight about the work and /note for a private thought.

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

egregore-labs/egregore2932026年10月17日 更新

branch

免费

Create a working branch from what you are about to work on. Use for /branch, or any request to start a new branch before making changes.

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

egregore-labs/egregore2932026年10月17日 更新

checkup

免费

Run diagnostics on an Egregore environment and render a health report, repairing safe local Runtime problems when possible. Use for /checkup, a health check, or when something is broken and the root cause is unclear.

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

egregore-labs/egregore2932026年10月17日 更新

commit

免费

Stage changes and create a commit with a properly formatted message. Use for /commit, or saving work locally — not sharing it (/push) or opening a pull request (/pr).

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

egregore-labs/egregore2932026年10月17日 更新

查看 egregore-labs 的全部技能

报告此技能的问题