Skip to content

feat: add skills as namespace-level catalogue entries with external source repos#884

Draft
DevelopmentCats wants to merge 3 commits into
mainfrom
cat/agent-skills-catalogue
Draft

feat: add skills as namespace-level catalogue entries with external source repos#884
DevelopmentCats wants to merge 3 commits into
mainfrom
cat/agent-skills-catalogue

Conversation

@DevelopmentCats
Copy link
Copy Markdown
Collaborator

@DevelopmentCats DevelopmentCats commented May 4, 2026

Summary

Replaces per-skill catalogue entries with a namespace-level model where each namespace declares its skill source repo(s) in a single registry/<namespace>/skills/README.md. The registry becomes a directory of skill repos, not a container for duplicated skill content.

This aligns with the Skills as First-Class Registry Catalogue Items problem document.

Changes

New catalogue format

registry/coder/skills/README.md declares coder/skills as the source repo via a sources field in the frontmatter:

sources:
  - repo: "coder/skills"
    ref: "main"

The registry-server build pipeline will clone source repos at build time, auto-discover all skills inside them, and serve them through the existing API, MCP, and well-known discovery endpoints.

CI/CD path triggers

  • deploy-registry.yaml: Added registry/**/skills/** so catalogue metadata changes on main trigger redeployment.
  • release.yml: Updated tag extraction to detect whether a tag is for a module or skill and set the changelog path accordingly.
  • version-bump.yaml: Added registry/**/skills/** to path triggers.

Removed

  • Per-skill directories (registry/coder/skills/coder-modules/, registry/coder/skills/coder-templates/) with their duplicated SKILL.md + README.md files. Skill content lives in source repos.
  • .agents/skills/ frontmatter additions. These skills will move to coder/skills.
  • version-bump.sh and tag_release.sh skill-specific version extraction. Versioning lives in source repos.

How it works

Namespaces list one or more source repos. The build process clones them, walks skills/*/SKILL.md, and serves each repo's skills as a distinct group:

npx skills add coder/skills@setup            # direct from source
npx skills add https://registry.coder.com     # all skills via discovery

Related

  • registry-server#442: Needs rework to support cloning external source repos instead of reading skills from the registry git tree
  • coder/skills: Source repo for Coder's agent skills
  • Problem Document: Skills as First-Class Registry Catalogue Items

🤖 This PR was updated with the help of Coder Agents.

Add agent skills to the registry catalogue alongside modules and
templates, following the agentskills.io specification with proper
frontmatter metadata (license, version, author, tags).

- Add registry/coder/skills/coder-modules/ and
  registry/coder/skills/coder-templates/ as catalogue entries,
  each with SKILL.md (full spec frontmatter + body) and README.md.
- Update .agents/skills/ frontmatter to match catalogue versions.
- Update CI/CD workflows and scripts to support skills:
  - deploy-registry.yaml: add skills path trigger
  - release.yml: detect skills vs modules for changelog path
  - version-bump.yaml: add skills path trigger
  - version-bump.sh: include skills in change detection
  - tag_release.sh: scan skills directories and extract version
    from SKILL.md frontmatter
…urce references

Skills content now lives in source repos (e.g., coder/skills) instead of
being duplicated in the registry. Each namespace declares its skill source
repo(s) in a single registry/<namespace>/skills/README.md with a sources
field in the frontmatter.

Changes:
- Replace per-skill directories (coder-modules/, coder-templates/) with
  a single registry/coder/skills/README.md that references coder/skills
- Revert .agents/skills/ frontmatter changes (those files will move to
  coder/skills repo)
- Revert version-bump.sh and tag_release.sh skill-specific version
  extraction (versioning lives in source repos now)
- Keep CI/CD path triggers for registry/**/skills/** so catalogue
  metadata changes trigger deployment

The registry-server build pipeline (PR #442) will need to be updated
to clone source repos declared in the README.md frontmatter and
auto-discover skills from them.
@DevelopmentCats DevelopmentCats changed the title cat: add skills as first-class catalogue items feat: add skills as namespace-level catalogue entries with external source repos May 11, 2026
The README validation tool has an allowlist of directories permitted
under registry/<namespace>/. Add 'skills' to that list so the
skills/README.md catalogue entry passes validation.

Skills are added to supportedUserNameSpaceDirectories but not to
supportedResourceTypes, so the skills directory is allowed to exist
without being validated as a module or template.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant