Document agent skill packaging, add AGENTS.md and package-skill skill - #870
Open
danbarr wants to merge 2 commits into
Open
Document agent skill packaging, add AGENTS.md and package-skill skill#870danbarr wants to merge 2 commits into
danbarr wants to merge 2 commits into
Conversation
README, CONTRIBUTING, and docs/ covered MCP servers exclusively, with no mention of agent skills despite 150+ of them already vendored under skills/. Add docs/adding-skills.md, cross-link it from README/index/ CONTRIBUTING, and extend docs/security.md with the skill-scanner equivalent of the existing MCP scanning section. Also add a root AGENTS.md (there was none), and a package-skill skill mirroring package-mcp-server, so future skill-packaging work in this repo has the same guided workflow MCP servers already have. It lives under .claude/skills/ but is also reachable agent-agnostically via a .agents/skills symlink, since these skills aren't Claude Code-specific. Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
danbarr
enabled auto-merge (squash)
August 11, 2026 19:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills/. Addsdocs/adding-skills.mdand cross-links it from README,docs/index.md, andCONTRIBUTING.md; extendsdocs/security.mdwith the skill-scanner equivalent of the existing MCP scanning section.AGENTS.md(there was none).package-skillskill under.claude/skills/mirroringpackage-mcp-server, grounded in the actual workflow used to package the 20 HashiCorp skills earlier in this branch's history (naming/collision guidance, spec.yaml authoring, scan/allowlist triage, versioning policy). Also reachable agent-agnostically via a.agents/skillssymlink, since these skills aren't Claude Code-specific.package-skillthroughskill-creatorfor validation and description-triggering optimization. Structure passed validation as-is; the automated description-optimization loop found no description that clearly beat the original on held-out queries (a known limitation of the eval harness for a repo-scoped skill whose triggering depends onskills//spec.yamlcontext it doesn't have), so only a small negative-trigger clause was added to reduce confusion withpackage-mcp-server.Test plan
python3 scripts/quick_validate.py .claude/skills/package-skillpasses.agents/skills -> ../.claude/skillsrecorded correctly in git (mode 120000) and resolves