Skip to content

Conversation

@uhyo
Copy link
Owner

@uhyo uhyo commented Feb 9, 2026

Summary

  • Add skills/funstack-router-knowledge/SKILL.md with router overview, entrypoints, and pointer to bundled docs
  • Add src/bin/skill-installer.ts binary using @funstack/skill-installer for multi-agent skill installation
  • Add scripts/generate-ai-docs.ts that copies TSX doc pages to dist/docs/ and generates an index.md table of contents
  • Update package.json with bin, files, build:docs script, and @funstack/skill-installer dependency
  • Update tsdown.config.ts to build the skill-installer binary
  • Update publish.yml to build AI-friendly docs before publishing
  • Add article documenting the technique at docs/distributing-agent-skills-via-npm.md

After publishing, consumers can run npx funstack-router-skill-installer to install the skill into their project.

Test plan

  • pnpm build succeeds — dist/bin/skill-installer.mjs is generated
  • pnpm --filter @funstack/router build:docs succeeds — dist/docs/index.md generated with links to all 11 TSX pages
  • pnpm typecheck passes for all packages
  • pnpm format passes (all files unchanged)
  • pnpm pack — tarball includes skills/, dist/bin/, dist/docs/

🤖 Generated with Claude Code

Ship a Claude Code (and other AI agent) skill alongside @funstack/router
so consumers get context-aware AI assistance out of the box.

- Add SKILL.md with router overview, entrypoints, and docs pointer
- Add skill-installer binary using @funstack/skill-installer
- Add generate-ai-docs script that bundles TSX doc pages into dist/docs/
- Update publish workflow to build AI-friendly docs before publishing

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@uhyo uhyo merged commit b5fb75d into master Feb 9, 2026
1 check passed
@uhyo uhyo deleted the feat/agent-skill-distribution branch February 9, 2026 14:26
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