Skip to content

Bug: Sub-skill name frontmatter doesn't match directory name (6 validation errors) #266

Description

@dxvidparham

Summary

Running agnix (the skill/agent lint tool) against the installed skill reveals 6 validation errors where the name field in each sub-skill's YAML frontmatter includes a ckm prefix, but the containing directory does not. Tools that resolve skills by directory name will fail to locate these sub-skills correctly.

Errors (verbatim agnix output)

.claude/skills/banner-design/SKILL.md:2:1  error: Skill name 'ckmbanner-design' must match parent directory 'banner-design'
.claude/skills/brand/SKILL.md:2:1          error: Skill name 'ckmbrand' must match parent directory 'brand'
.claude/skills/design/SKILL.md:2:1         error: Skill name 'ckmdesign' must match parent directory 'design'
.claude/skills/design-system/SKILL.md:2:1  error: Skill name 'ckmdesign-system' must match parent directory 'design-system'
.claude/skills/slides/SKILL.md:2:1         error: Skill name 'ckmslides' must match parent directory 'slides'
.claude/skills/ui-styling/SKILL.md:2:1     error: Skill name 'ckmui-styling' must match parent directory 'ui-styling'

Affected files

File Current name Expected name
.claude/skills/banner-design/SKILL.md ckmbanner-design banner-design
.claude/skills/brand/SKILL.md ckmbrand brand
.claude/skills/design/SKILL.md ckmdesign design
.claude/skills/design-system/SKILL.md ckmdesign-system design-system
.claude/skills/slides/SKILL.md ckmslides slides
.claude/skills/ui-styling/SKILL.md ckmui-styling ui-styling

Suggested Fix

In each SKILL.md frontmatter, strip the ckm prefix from name to match the directory:

---
name: banner-design   # was: ckmbanner-design

Alternatively, rename each directory to include the ckm prefix (e.g. ckmbanner-design/) and update all cross-references accordingly — but that's a larger change.

Reproduction

# Install agnix
npm install -g agnix

# Clone and validate
git clone https://github.com/nextlevelbuilder/ui-ux-pro-max-skill
agnix ./ui-ux-pro-max-skill/
# → Found 6 errors

Validated with agnix v0.17.0 on April 18, 2026.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions