Skip to content

refactor: move skill payload into skills/vault-onboarding/ - #5

Merged
aliasunder merged 1 commit into
mainfrom
worktree-restructure-skill-dir
Aug 6, 2026
Merged

refactor: move skill payload into skills/vault-onboarding/#5
aliasunder merged 1 commit into
mainfrom
worktree-restructure-skill-dir

Conversation

@aliasunder

Copy link
Copy Markdown
Owner

Summary

Adopts the agent-skills monorepo layout: SKILL.md, references/, and assets/ now live under skills/vault-onboarding/, isolating the installable skill payload from repo tooling.

Why

The skills CLI checks the repo root for a SKILL.md first and, when it finds one, treats the entire repo as the skill — the currently installed copy includes .github/, scripts/, package.json, bun.lock, CHANGELOG, and every OSS file. With the payload in skills/vault-onboarding/ (a directory on the CLI's priority search path, and the same layout as aliasunder/agent-skills and vercel-labs/skills itself), only the skill's own files install. It also makes future release zips trivial: archive the skill directory's contents (the CLI expects SKILL.md at archive root).

Changes

  • git mv of SKILL.md, references/ (7 files), assets/ (19 files) → skills/vault-onboarding/ — 100% renames, no content changes
  • scripts/validate-structure.ts: new SKILL_DIR constant; all payload checks rebased onto it
  • AGENTS.md: structure diagram + prose updated for the new layout

Not changed

  • npx skills add aliasunder/vault-onboarding — discovery finds skills/vault-onboarding/ natively, install command and installed name (from frontmatter name) are identical
  • SKILL.md's internal references/… and assets/… pointers — relative within the skill dir

Verification

  • bun run validate — all 56 structural checks pass against the new layout

🤖 Generated with Claude Code

Adopt the agent-skills monorepo layout: SKILL.md, references/, and
assets/ now live under skills/vault-onboarding/, isolating the
installable payload from repo tooling. Previously the skills CLI
treated the repo root as the skill and installed everything —
.github/, scripts/, package files included. skills/ is on the CLI's
priority search path, so npx skills add aliasunder/vault-onboarding
is unchanged, and release zips become the skill directory's contents.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@aliasunder
aliasunder merged commit 3d4929d into main Aug 6, 2026
4 checks passed
@aliasunder
aliasunder deleted the worktree-restructure-skill-dir branch August 6, 2026 14:03
aliasunder added a commit that referenced this pull request Aug 14, 2026
The release workflows still zipped SKILL.md, references/, and assets/
from the repo root, but PR #5 moved the skill payload into
skills/vault-onboarding/. zip exits 0 when some input paths are
unmatched, so v0.1.1 silently shipped a zip containing only README.md
and LICENSE. Build from the payload directory and add an unzip guard
that fails the step if SKILL.md is missing from the archive.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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