testing
Skill validation framework. Validates every skill has SKILL.md with frontmatter, every reference exists, every env var is declared. The testing contract for the skill system itself.
- License 许可
- MIT
- 最近更新
- 2026-07-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- testing
- tools
- [ "search", "list_pages" ]
- version
- 1.0.0
- mutating
- false
- triggers
- [ "validate skills", "test skills", "skill health check", "run conformance tests" ]
- description
- Skill validation framework. Validates every skill has SKILL.md with frontmatter, every reference exists, every env var is declared. The testing contract for the skill system itself.
03 SKILL.md 正文
Testing Skill — Skill Validation Framework
Contract
This skill guarantees:
- Every skill directory has a SKILL.md file
- Every SKILL.md has valid YAML frontmatter (name, description)
- Every SKILL.md has required sections (Contract, Anti-Patterns, Output Format)
- manifest.json lists every skill directory
- RESOLVER.md references every skill in the manifest
- No MECE violations (duplicate triggers across skills)
Phases
- Walk skills directory. List all subdirectories containing SKILL.md.
- Validate frontmatter. Parse YAML, check required fields.
- Validate sections. Check for Contract, Anti-Patterns, Output Format headings.
- Check manifest. Every skill directory must be listed in manifest.json.
- Check resolver. Every manifest skill must have a RESOLVER.md entry.
- Report results.
Automated: bun test test/skills-conformance.test.ts test/resolver.test.ts
Output Format
Skill Validation Report
========================
Skills found: N
Conformance: N/N pass
Manifest coverage: N/N
Resolver coverage: N/N
MECE violations: N
Issues:
- {skill}: {issue}
Anti-Patterns
- Skipping validation after adding a new skill
- Adding skills to manifest without adding to resolver
- Creating skills without the conformance template
04 同仓库更多 Skills
signal-detector
Always-on ambient signal capture for the OpenClaw reference fixture.
query
Look up brain pages in the OpenClaw reference fixture.
context-now
ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.
brain-ops
Core read/write cycle for the OpenClaw reference fixture.
webhook-transforms
Generic framework for converting external events (SMS, meetings, social mentions) into brain-ingestible signals. Define a transform function, register a webhook URL, and incoming events get processed through the brain pipeline.
soul-audit
6-phase interactive interview that generates the agent's identity (SOUL.md), user profile (USER.md), access control (ACCESS_POLICY.md), and operational cadence (HEARTBEAT.md). Re-runnable anytime to update any section.