fix: install the published skills from the repo source - #642
Merged
Conversation
The three published skills (analyze-logs, build-audit-logs, review-logging-patterns) lived in apps/docs/skills/, which the skills CLI's git-source discovery never scans, so a bare 'npx skills add hugorcd/evlog' silently skipped them while skills.sh promised all of them. They now live in a root-level skills/ directory, which the installer scans by default. The docs site keeps serving them at /.well-known/skills/ through the docus skills module pointed at the same source of truth, verified with a full docs build. Also quote the write-evlog-content description so its frontmatter parses; the unquoted colon made the installer drop that skill too.
|
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
4 Skipped Deployments
|
Contributor
|
Thank you for following the naming conventions! 🙏 |
commit: |
The contributor skills (create-*, write-evlog-content) are procedures for working in this repository, not things an evlog user should install. Mark them with 'metadata: internal: true' so the skills CLI skips them by default; they stay reachable through an explicit --skill <name> or INSTALL_INTERNAL_SKILLS=1, and agents in the repo keep loading them from .agents/skills/ by path.
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.
Closes #637.
The problem
The three published skills (
analyze-logs,build-audit-logs,review-logging-patterns) lived inapps/docs/skills/. TheskillsCLI's git-source discovery only scans conventional root-level directories, so a barenpx skills add hugorcd/evlogsilently skipped them, while skills.sh advertised all of them. On top of that,write-evlog-content(in.agents/skills/) was also dropped because itsdescription:contains an unquoted colon, which fails YAML parsing.The fix
Two commits, one per half of the problem.
1. The published skills move to a root-level
skills/directory. The skills CLI scans a root-levelskills/directory up to three levels deep by default (verified in the CLI source), so this restores the bare-command behavior while keeping the internal/published split thatAGENTS.mddocuments. Docus's skills module takes adiroption, soapps/docs/nuxt.config.tspoints it at../../skillsand/.well-known/skills/keeps serving the same three skills from the shared source of truth. Path references updated acrossAGENTS.md, thecreate-*skills,write-evlog-contentreferences, the evi agent skills and subagent instructions, and the content-lint surfaces/tests.2. The internal skills are hidden from public installs. The contributor skills (
create-*,write-evlog-content) are procedures for working in this repository, not things an evlog user installs. Each now carriesmetadata: internal: truein its frontmatter, which the skills CLI respects: bare installs list and offer only the published skills, while the internal ones stay reachable through an explicit--skill create-evlog-adapterorINSTALL_INTERNAL_SKILLS=1, and agents in the repo keep loading them from.agents/skills/by path.Also quotes the
write-evlog-contentdescriptionso its frontmatter parses; the unquoted colon made the installer drop that skill too.Verified
npx skills add <local checkout> -llists exactlyanalyze-logs,build-audit-logs,review-logging-patterns. WithINSTALL_INTERNAL_SKILLS=1it lists all 8.--skill create-evlog-adapterinstall from the repo source still works; so does--skill review-logging-patterns, which copies the SKILL.md and everyreferences/file.Found 3 agent skillsand prerenders/.well-known/skills/index.jsonplus all skill files, and the PR's Vercel preview serves the same three names from that endpoint.pnpm run lint,pnpm run typecheck,pnpm run test(22 tasks, includes evi),pnpm run content:lintand the--since origin/mainratchet, and the content-lint unit tests: all green. CI does not build the docs app, which is why the local build matters here.Notes
apps/*config, rootskills/,.agents/skills/, and repo tooling.