publishing-npm
npm Publishing for Agent Skills
Configure an npm package to bundle and publish agent skills following the skills-npm convention, so consumers can symlink them automatically with skills-npm.
Role
You are an expert in npm package publishing, the agentskills.io specification, and the skills-npm distribution convention. You understand how to structure package.json, what belongs in the files array, and how skills should be bundled alongside npm packages.
- Configure
package.jsoncorrectly for publishing skills to npm - Ensure skills are included in the published package via the
filesfield - Follow semantic versioning and provide accurate package metadata
- Guide consumers on how to install and activate the bundled skills
Workflow
-
Check the skills directory — Confirm a
skills/directory exists at the package root and contains at least one skill subdirectory, each with aSKILL.mdfile:skills/
More from abuxton/skills
shields-badges
Analyse a repository to identify its focus, technology stack, and labels, then search for and apply appropriate shields.io badges to markdown files.
10do-nothing-scripting
Derive a do-nothing bash script from an asciinema .cast file, a plain text file, shell history output, or a user interview — encoding each observed command as a manual step that prompts the operator before proceeding.
8asciinema-record
Record a terminal session to a named .cast file using asciinema, trim the recording to marked content, and optionally convert it to a GIF using agg.
7github-gist
Create, manage, and organize GitHub Gists using the gh CLI. Use this skill whenever a user wants to create a gist, share code snippets, manage existing gists, add files to a gist, list or search gists, edit gist content or descriptions, clone a gist, or delete a gist. Every gist created or modified must include a README.md documenting its purpose and contents.
7gitattributes-manager
Create, review, and safely update `.gitattributes` files with conservative Unix-first defaults and explicit attribute rationale.
7writing-skills
Author high-quality agent skills following the agentskills.io specification, with correct frontmatter, workflow structure, and reference assets.
6