aidd-lint rule: skill-frontmatter-name #106
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#106
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A
name:key in SKILL.md frontmatter collapses the slash command to a bare unnamespaced form -- recorded standing convention inplugins/cc-architect/references/conventions/cc-os-naming.md("never set aname:field in SKILL.md frontmatter"). Currently enforced only by authors remembering the doc. Must-fail shape:Detection
SKILL.md; their YAML frontmatter.---pair).name:key present -> offense."<file>:<line>: SKILL.md frontmatter sets 'name:', which collapses the slash command to a bare unnamespaced form. Delete the key (see cc-os-naming.md)."name:line.Correction
Pass/fail examples
plugins/os-*/skills/*/SKILL.md; aname:key nested under another mapping;name:appearing in the body prose.Provenance
cc-os naming convention (cc-os-naming.md); aidd-lint system 2026-07-23 (see mapping ticket).
Implementation plan
Same markdown-lint infra; trivial cop; TDD. Candidate first cop to implement (smallest end-to-end tracer through the new infra).
Work started — Batch 0 tracer on branch aidd-lint/tier-1 (see plan on #109).
Implemented on branch aidd-lint/tier-1 (plugins/os-aidd-lint, cop: skill_frontmatter_name.rb). 55-test suite green; report-only corpus scan run. Awaiting human review — open items noted on #109.
Implemented on branch aidd-lint/tier-1 (plugins/os-aidd-lint, cop: skill_frontmatter_name.rb). 55-test suite green; report-only corpus scan run. Awaiting human review — open items noted on #109.
Implemented on main:
lib/aidd_lint/cops/skill_frontmatter_name.rb, registered inregistry.rb(SkillFrontmatterName), tests attests/cops/skill_frontmatter_name_test.rb(7 runs, 14 assertions, 0 failures). Closing.