<< All versions
Skill v1.0.2
currentAutomated scan100/100bew/dotfiles/opencode-artefact-rules
7 files
──Details
PublishedOctober 22, 2026 at 08:40 PM
Content Hashsha256:71516a35f82834ae...
Git SHA1101f49a135e
Bump Typepatch
──Files
Files (1 file, 2.1 KB)
SKILL.md2.1 KBactive
SKILL.md · 47 lines · 2.1 KB
version: "1.0.2" name: opencode-artefact-rules description: | Quality criteria and review checklist for OpenCode artefacts (skills, skill-standalone, agents, commands, oc-tools, oc-plugins). Invoked by opencode-reviewer agent. Not for direct use. metadata: maintainers: [bew]
Quality Criteria for OpenCode Artefacts
Goal
Provide quality criteria for reviewing OpenCode artefacts. Type-specific criteria loaded on demand.
Universal criteria (all artefact types)
Check these first, regardless of artefact type.
- Description trigger — Is
descriptionspecific enough to trigger correctly — not too broad, not too narrow? - Frontmatter completeness — Is every relevant frontmatter field present and valid?
- Writing & structural rules — Does body conform to the writing-rules and steps/phases/headers rules files already loaded in context?
Check: tone, sentence-per-line, example format, formatting rules, named steps/phases syntax, header anchors.
- Missing rules — Is there anything artefact should always/never do? Any precondition it should verify before acting?
- Edge cases — What happens when required file is missing? When tool returns an error?
- Re-locatability — Check that no paths point outside of
$draftpath(like: /foo or ~/foo or ../foo).
Referencing other artefacts by name is fine.
- Reference integrity — For every
§slugreference in any file under$draftpath:
- Same-file ref (
§slug): a matching<!-- §slug -->anchor must exist in that file. - Cross-file ref (<./path/to/file.md§slug>): target file must exist and contain
<!-- §slug -->.
Flag dangling references (no anchor) and dead anchors with no reference.
Type-specific criteria
Based on artefact type, read the appropriate file for additional criteria:
- skill: read <./refs/skills.md>
- skill-standalone: read <./refs/skill-standalone.md>
- agent: read <./refs/agents.md>
- command: read <./refs/commands.md>
- oc-tool: read <./refs/oc-plugins.md> (same implementation as
oc-plugin) - oc-plugin: read <./refs/oc-plugins.md>