Skip to content

Skill reference syntax: convention for delineating skill dependencies in SKILL.md #25

@krisrowe

Description

@krisrowe

Problem

Skills reference other skills in their body text (e.g., "invoke the privacy-scan skill") but there's no standard syntax to distinguish a skill reference from prose. This means build tools can't reliably:

  • Detect which skills a given skill depends on
  • Validate that all referenced skills are available
  • Warn about undeclared or over-declared dependencies

Question

Is there an established convention in agentskills.io, Claude Code docs, or the broader ecosystem for delineating skill references in markdown? For example:

  • Backtick-wrapped name + "skill" suffix: `privacy-scan` skill
  • A specific markdown pattern the build can grep for
  • A frontmatter field like depends: or references:

Research needed

  1. Check agentskills.io for any reference syntax standard
  2. Check Claude Code docs for skill cross-referencing conventions
  3. Check Vercel Labs skills-npm for how they handle inter-skill dependencies
  4. Propose a convention that works for both human readability and machine parsing

Context

The claude-coding-plugin has a build step with static analysis (pytest) that validates skill references in agent definitions and CLAUDE.md. Extending this to validate skill-to-skill references would catch missing dependencies at build time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions