Skip to content
Back to skills

Test

ASecurity

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

  • 292 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 27, 2026
data-aigoshellbashnodeapidatabase

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add egregore-labs/egregore --skill test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/egregore-labs-test/badge)](https://www.skillsdirectory.com/skills/egregore-labs-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: test
description: "Run Egregore's fast static, Runtime-contract, and targeted automated test gate before save. Optional relationship index validation requires an explicit request."
---

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
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.

3. Run the architectural ratchet once (source instances only — installed
   instances do not ship the distribution engine and skip this step):

```bash
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.

4. 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.
5. 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
bash bin/telemetry.sh emit "command" '{"command":"test"}' 2>/dev/null &
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data-ai →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.