Skip to content

docs: move maintainer skills to .agents/skills so any agent can use them - #433

Merged
somanshreddy merged 1 commit into
mainfrom
10-07-agent_agnostic_skills
Oct 8, 2026
Merged

somanshreddy merged 1 commit into
mainfrom
10-07-agent_agnostic_skills

Conversation

@somanshreddy

Copy link
Copy Markdown
Collaborator

Scope

Surfaces: Repo docs and maintainer skills | Module: Developer tooling

Stacked on #432, which edits the same release skill.

Summary

The repo's maintainer skills (release-cli, e2e-cli-test, changelog-cli) lived in .claude/skills/, the one place only Claude Code looks, and two used a Claude-only frontmatter field. They already follow the open Agent Skills format, so this moves them to the standard location, keeps Claude Code working through symlinks, and makes their docs agent-neutral, so Codex and other agents can use them too.

How it works

Each agent looks in its own place, and both follow symlinks:

Agent Looks in What it finds
Codex and other Agent Skills tools .agents/skills/ the skills themselves
Claude Code .claude/skills/ a symlink per skill, pointing into .agents/skills/

There is one copy of each skill, so nothing can drift. You run one by name: /release-cli in Claude Code, $release-cli (or /skills) in Codex. The index at .agents/skills/README.md says this, and that a new skill needs its folder plus a symlink.

Design decisions

One symlink per skill, not one for the whole folder. .claude/skills/ stays a real directory, so personal skills someone keeps there untracked still work.

Standard frontmatter only. argument-hint is a Claude Code extension, and tools that follow the standard strictly reject unknown fields. Its content moved into the description.

Windows. Git symlinks need Developer Mode on Windows, so a Windows maintainer using Claude Code would not see the skills. Nobody maintains this repo on Windows, and CLI users never use these skills.

Testing

Run inside this branch: Claude Code listed all three and quoted description text that exists only in the moved copies, and Codex listed all three from its own skills list with the exact description openings. As a control, Codex in a checkout without .agents/skills/ listed none. Every skill passes the standard's naming, length and field rules, and all changed links resolve.

🤖 Generated with Claude Code

@somanshreddy
somanshreddy force-pushed the 10-07-release_pin_commit branch from ab4bbf3 to 4ba9d20 Compare October 8, 2026 00:57
@somanshreddy
somanshreddy force-pushed the 10-07-agent_agnostic_skills branch from 4be8d14 to eeae9f9 Compare October 8, 2026 00:58

@jrusso1020 jrusso1020 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at eeae9f9. I compared it against the #432 head (4ba9d20) with git diff -M.

The six stop points are byte-identical. release-cli/SKILL.md shows up as a rename (97%), and only three lines differ:

  • frontmatter: argument-hint folded into description;
  • step 5: /e2e-cli-test became "the e2e-cli-test skill";
  • step 7: /changelog-cli <version> became "the changelog-cli skill with the version".

The ## Stop points section and every (stop point N) heading are outside the diff. The other two skills follow the same pattern: frontmatter plus cross-references only, at 99% and 94% similarity.

Symlinks.

  • All three of .claude/skills/{changelog-cli,e2e-cli-test,release-cli} are mode 120000, and each points relatively to ../../.agents/skills/<name>.
  • They are per-skill links, so .claude/skills/ stays a real directory and untracked personal skills there keep working.
  • There's no copy left behind.

No stale paths. git grep for .claude/skills, /release-cli, /changelog-cli and /e2e-cli-test at this head only finds:

  • the new index's own explanation of the symlinks;
  • the CONTRIBUTING tree line.

AGENTS.md, CONTRIBUTING.md, README.md and RELEASE.md all point at .agents/skills/. Nothing under .github/ references skills.

Windows. The PR body states the limitation: git symlinks need Developer Mode, so a Windows maintainer using Claude Code wouldn't see the skills, and no maintainer works on Windows. Fair enough.

Untested. I didn't check that Claude Code actually loads a skill through the symlinked directory; tai2 said it is checking that. The new README rule to keep frontmatter to the standard's fields is a good guard.

— Rames

@somanshreddy
somanshreddy changed the base branch from 10-07-release_pin_commit to main October 8, 2026 01:04

@terencechotai2-commits terencechotai2-commits left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at eeae9f9 against the #432 head (4ba9d20) with git diff -M. Looks good. One Low finding, Windows only.

Release skill (the focus you asked for): only the expected lines changed.

  • git diff -M reports a 97% rename. The changes are the frontmatter (argument-hint dropped, with its meaning folded into description) and the step 5 and 7 references to the other two skills.
  • I extracted the ## Stop points section from both versions and diffed them: identical, still 6 items.

Symlinks: correct.

  • All three .claude/skills/* entries are mode 120000, with relative targets (../../.agents/skills/<name>), and each resolves to a directory containing SKILL.md.
  • Claude Code loads them. In the 2.1.293 bundle, the project-skills loader for .claude/skills accepts entries where isDirectory() || isSymbolicLink(), so a symlinked skill folder is picked up. /release-cli keeps working under the symlink's name.

References: complete.

  • git grep at this head finds no remaining .claude/skills path outside the CONTRIBUTING tree listing.
  • No /release-cli, /changelog-cli or /e2e-cli-test slash invocations remain in any doc or skill.
  • Nothing under .github/ (workflows, scripts, templates), the Makefile or .goreleaser.yaml references the skills, and there is no CODEOWNERS.
  • Every relative markdown link in the moved skills and the 5 edited docs resolves.

Frontmatter: valid under the Agent Skills rules.

  • All three use only name and description.
  • name is lowercase-hyphenated, at most 64 characters, and matches its folder (the symlink names match too).
  • Descriptions are 276, 276 and 448 characters, under the 1024 limit.

Low: on a Windows checkout without symlink support, Claude Code loses all three skills.

  • Git for Windows defaults to core.symlinks=false unless Developer Mode or admin rights are on. In that case each .claude/skills/<name> checks out as a 30-odd-byte text file containing the target path.
  • I reproduced this with a core.symlinks=false clone of this head: .claude/skills/release-cli is a regular file whose content is ../../.agents/skills/release-cli.
  • That entry is neither a directory nor a symlink, so Claude Code skips it. /release-cli is silently missing, and the docs still tell the maintainer to run it.
  • Codex is unaffected, since the real files live in .agents/skills/.
  • #425 already accounts for Windows contributors (eol=lf), so a one-line note is probably enough. For example, in CONTRIBUTING's tree listing or .agents/skills/README.md: on Windows, enable symlinks (git config core.symlinks true with Developer Mode) or use WSL, then re-checkout.

Not verified here: Codex itself isn't installed, so I didn't confirm that Codex reads .agents/skills/ or the $<name> / /skills invocation from its side.

CI: 10/10 checks pass.

— tai2

@somanshreddy
somanshreddy force-pushed the 10-07-agent_agnostic_skills branch from eeae9f9 to 7d4da16 Compare October 8, 2026 01:04

@jrusso1020 jrusso1020 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving at 7d4da16 after the rebase onto main. Nothing to review again:

  • git range-diff shows eeae9f9 = 7d4da16, and the two commit diffs are byte-identical.
  • The tree at 7d4da16 is the same tree as eeae9f9 (79cf1eb).
  • The new base, fb1ac0c (#432 squashed), has the same tree as 4ba9d20, the #432 head I approved. So the release skill still matches the workflow it describes.

My review at eeae9f9 (5450199795) carries over unchanged. tai2's Windows core.symlinks note is still worth a line in the docs, but it isn't a blocker.

— Rames

@somanshreddy
somanshreddy merged commit a5b854f into main Oct 8, 2026
10 checks passed
@somanshreddy
somanshreddy deleted the 10-07-agent_agnostic_skills branch October 8, 2026 01:08
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.

3 participants