Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/tomes --skill testing명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | testing |
| description | | Use when this capability is needed. |
Convention: see conventions/quality.md for the test-before-bulk pattern; this skill enforces it across the project's own test suite.
This skill has two related but distinct modes:
Skill conformance validation — gbrain's own conformance bar (the original 1.0 scope). Validates every skill has SKILL.md with frontmatter, every reference exists, manifest + resolver coverage round-trips.
Project test-suite health (v0.25.1 extension) — runs the project's tiered test suite and produces a regression-classified report. Used by daily cron, container-restart bootstrap, and "how are the tests" prompts.
Pick the mode by trigger.
This mode guarantees:
SKILL.md fileSKILL.md has valid YAML frontmatter (name, description)SKILL.md has required sections per
test/skills-conformance.test.tsreferences/manifest.json lists every skill directoryreferences/RESOLVER.md references every skill in the manifestopenclaw.plugin.json skills[] round-trips with bothSKILL.md.manifest.json.bun test test/skills-conformance.test.ts test/resolver.test.ts
The CI-gated check is the package.json test script.
Skill Validation Report
========================
Skills found: N
Conformance: N/N pass
Manifest coverage: N/N
Resolver coverage: N/N
Round-trip: N/N
MECE violations: N
Issues:
- <skill>: <issue>
| Tier | What it runs | Wall time | Gates |
|---|---|---|---|
| Unit | bun test (deterministic, zero external calls) | <2s | Every commit |
| Evals | LLM-judge or quality evals | ~60s | Daily |
| Integration | E2E tests against real Postgres | ~5m | Pre-ship + nightly |
| System health | Disk / memory / CPU / service liveness | <10s | Daily |
When the cron fires (or the user asks), do ALL of this:
bun test 2>&1
Parse: total passed, total failed, total skipped, file-level results.
# Adapt to the project's eval config
bun test --filter eval 2>&1
Parse: same format. Note any flakes (tests that fail due to API timeouts, not code bugs).
gbrain doctor --fast --json# What changed since last test run?
git log --oneline --since="24 hours ago"
For each failing test:
| Classification | Marker | Action |
|---|---|---|
| REGRESSION — code changed, test broke | 🔴 | Flag with the commit that broke it |
| STALE — test expects old behavior; code is correct | 🟡 | Fix the test, not the code |
| FLAKE — API timeout, service down, LLM variance | ⚠️ | Note, don't alarm; retry once |
| NEW — test was just added and isn't passing yet | 🟢 | Check if intentional |
| INFRA — container restart wiped state | 🛠 | Run bootstrap, retest |
🧪 Daily Tests — YYYY-MM-DD
Unit: X/Y passed (Z skipped)
Evals: X/Y passed
System: [health summary]
REGRESSIONS:
🔴 <test-name>: broke by commit <sha> "<commit message>"
STALE TESTS:
🟡 <test-name>: expects X but code now does Y (commit <sha>)
FLAKES:
⚠️ <test-name>: timeout (retry passed)
✅ ALL CLEAR (when applicable)
DO auto-fix:
DO NOT auto-fix:
When uncertain: check the commit message that changed the code, check if there's a related PR or conversation, ask the user if still unclear.
Track results in ~/.gbrain/test-state.json for trend tracking:
{
"lastRun": "2026-04-16T13:37:00Z",
"unit": { "passed": 1262, "failed": 31, "skipped": 8 },
"evals": { "passed": 17, "failed": 0 },
"system": { "doctor": "ok", "gbrain": "0.25.1" },
"failureHistory": [
{ "test": "<name>", "since": "2026-04-14", "classification": "stale"
This enables:
manifest.json without adding to RESOLVER.mdThis skill guarantees:
writes_to: (when applicable).quality.md, brain-first.md, _brain-filing-rules.md) are followed.The full behavior contract is documented in the body sections above; this section exists for the conformance test.
The skill's output shape is documented inline in the body sections above (see "Output", "Brain page format", or equivalent). The literal section header here exists for the conformance test (test/skills-conformance.test.ts).
Source: beyonai/ByClaw — distributed by TomeVault.