mcpbeat Sign in

Generate Package Skill

Generate or update an Agent Skill for an npm or local package using its public API and current documentation.

711 tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
307
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/skilld-dev/skilld --skill generate-package-skill

What comes with it

479 bytes besides the instruction
assets/harness-request.md

The instruction itself

5 sections, as written by the author

Generate a package Skill

Create a focused Skill that helps an Agent use one package correctly.

Inputs

Ask for a package name, package directory, or prepared package source.

Ask for the destination only when the request does not provide one.

Research

  • Record the exact installed or prepared package version.
  • Read the package manifest and every exported entry point.
  • Read public type entry points and their source definitions.
  • Read current official documentation and runnable examples.
  • Check release notes and migration guides for the exact version.
  • Prefer public exports over internal files.
  • Record advice only when the prepared source or official documentation proves it.

For an npm package, use the installed or prepared package source first.

Use current official documentation when the prepared source lacks required details.

For each version-specific rule, cite the source path or official documentation URL.

Use path:line citations for prepared source when line numbers add value.

Output

Write one directory whose name matches the Skill name.

The directory must contain SKILL.md.

Put detailed or conditional material in references/.

Put reusable commands or code in scripts/ when execution adds value.

The SKILL.md frontmatter must contain only:

---
name: package-name
description: Clear trigger conditions and the result this Skill provides.
---

Use lowercase letters, numbers, and single hyphens in the name.

Keep the name at 64 characters or fewer.

Keep the description at 1024 characters or fewer.

Quality checks

  • Keep instructions specific to the package.
  • Use current APIs and package vocabulary.
  • Include small examples for common tasks.
  • State environment or version limits.
  • Cite public APIs, version limits, and migration advice.
  • Link each reference from SKILL.md.
  • Remove generated filler and repeated prose.
  • Do not copy large documentation sections.
  • Do not include credentials, caches, build output, or dependency directories.

For a direct run, show the generated files for user review.

Replace an existing Skill only after the user approves the files.

Do not claim that the Skill passed Harness checks.

How to use it

Copy the folder

Take skilld-dev/generate-package-skill from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.