Repository navigation
docs: move maintainer skills to .agents/skills so any agent can use them - #433
Conversation
ab4bbf3 to
4ba9d20
Compare
4be8d14 to
eeae9f9
Compare
jrusso1020
left a comment
There was a problem hiding this comment.
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-hintfolded intodescription; - step 5:
/e2e-cli-testbecame "thee2e-cli-testskill"; - step 7:
/changelog-cli <version>became "thechangelog-cliskill 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 mode120000, 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
terencechotai2-commits
left a comment
There was a problem hiding this comment.
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 -Mreports a 97% rename. The changes are the frontmatter (argument-hintdropped, with its meaning folded intodescription) and the step 5 and 7 references to the other two skills.- I extracted the
## Stop pointssection from both versions and diffed them: identical, still 6 items.
Symlinks: correct.
- All three
.claude/skills/*entries are mode120000, with relative targets (../../.agents/skills/<name>), and each resolves to a directory containingSKILL.md. - Claude Code loads them. In the 2.1.293 bundle, the project-skills loader for
.claude/skillsaccepts entries whereisDirectory() || isSymbolicLink(), so a symlinked skill folder is picked up./release-clikeeps working under the symlink's name.
References: complete.
git grepat this head finds no remaining.claude/skillspath outside the CONTRIBUTING tree listing.- No
/release-cli,/changelog-clior/e2e-cli-testslash invocations remain in any doc or skill. - Nothing under
.github/(workflows, scripts, templates), the Makefile or.goreleaser.yamlreferences 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
nameanddescription. nameis 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=falseunless 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=falseclone of this head:.claude/skills/release-cliis 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-cliis 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 truewith 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
eeae9f9 to
7d4da16
Compare
jrusso1020
left a comment
There was a problem hiding this comment.
Re-approving at 7d4da16 after the rebase onto main. Nothing to review again:
git range-diffshowseeae9f9 = 7d4da16, and the two commit diffs are byte-identical.- The tree at
7d4da16is the same tree aseeae9f9(79cf1eb). - The new base,
fb1ac0c(#432 squashed), has the same tree as4ba9d20, 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
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:
.agents/skills/.claude/skills/.agents/skills/There is one copy of each skill, so nothing can drift. You run one by name:
/release-cliin Claude Code,$release-cli(or/skills) in Codex. The index at.agents/skills/README.mdsays 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-hintis 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