generate-package-skill
Generate or update an Agent Skill that teaches consumers one npm or local package the user maintains, including framework modules…
Generate or update an Agent Skill from the observed workflows, boundaries, and conventions of one software project.
Claude Code
$ npx -y skills add skilld-dev/skilld --skill generate-project-skill --agent claude-code
Codex
$ npx skills add skilld-dev/skilld --skill generate-project-skill -a codex -y
Cursor
$ npx skills add skilld-dev/skilld --skill generate-project-skill -a cursor -y
Gemini CLI
$ npx skills add skilld-dev/skilld --skill generate-project-skill -a gemini-cli -y
GitHub Copilot
$ npx skills add skilld-dev/skilld --skill generate-project-skill -a github-copilot -y
OpenCode
$ npx skills add skilld-dev/skilld --skill generate-project-skill -a opencode -y
Windsurf
$ npx skills add skilld-dev/skilld --skill generate-project-skill -a windsurf -y
name: generate-project-skill description: Generate or update an Agent Skill from the observed workflows, boundaries, and conventions of one software project. license: MIT compatibility: "Requires an agent with filesystem and shell access. Network access is needed for remote sources."
Create a compact, searchable Skill from the project itself. This Skill is for maintainers who author a draft Skill they own.
Use the project directory or prepared project source. Ask for the destination only when the request does not provide one.
1. Read project instructions and decision records first. 2. Read manifests, exported entry points, and build configuration. 3. Find the test, lint, typecheck, build, and release commands. 4. Trace the main public workflows through their real entry points. 5. Note generated directories and files an Agent must not edit. 6. Check recent changes when they explain current conventions.
The Skill must let an Agent find any part of the project without a prior index.
1. Name the project from its manifest. Use the directory name when no manifest names it. 2. List the entry points the manifest declares, such as `main`, `module`, `types`, `exports`, and `bin`. 3. List the source and documentation directories an Agent reads most. 4. Use project-relative paths for every file pointer. 5. Never add a generated directory prefix to a project-relative path. 6. Give search commands the Agent can repeat, scoped to those directories. 7. Prefer `rg` for search. Name the directories to skip in the command. 8. Tell the Agent when project changes require a new Skill run.
Write the search commands so their results point at real project files.
Skip these paths while collecting project files:
Skip any file larger than 512 KB. Do not follow symbolic links while collecting project files.
Write one directory whose name matches the Skill name. The directory must contain `SKILL.md`. Use `references/` for architecture details and command guides. Use `scripts/` only for reusable automation.
The `SKILL.md` frontmatter contains `name` and `description`. It may also contain `license`, `compatibility`, `metadata`, and `allowed-tools`. If the project declares a license, copy its identifier into `license`. Never infer a license. Include `compatibility` only for specific tool, runtime, network, or product requirements, at most 500 characters. Omit it for general guidance. Do not repeat the package name, tested version, or implementation details. `metadata` maps string keys to string values. `allowed-tools` is an experimental space-separated string of pre-approved tools. Use lowercase letters, numbers, and single hyphens in the name. Keep the name at 64 characters or fewer.
Keep one source Skill for Claude Code, Codex, Gemini CLI, and other compatible Agents. Their discovery paths differ. Keep installation instructions outside the generated Skill. The [Agent Skills specification](https://agentskills.io/specification) defines the shared format.
Resolve bundled references and scripts from the Skill directory instead.
Never invent evidence or silently skip a required check.
Check one matching task, one unrelated task, and one missing-input task. Use a fresh session for each Agent the user asks to support when those Agents are available. Record the Agent version, model, task, observed output, and any required permission. Separate format validation, discovery, activation, and task completion in the report. If an Agent is unavailable, report that path untested. Valid frontmatter alone does not prove portability.
For a direct run, show the generated files for user review. Do not replace an existing Skill until the user approves it. Do not claim that the Skill passed Harness checks.
Generate or update an Agent Skill that teaches consumers one npm or local package the user maintains, including framework modules…
Review an Agent Skill for valid structure, clear triggers, usable instructions, current evidence, and risky or unclear actions.
Designs and verifies skilld CLI output, terminal pickers, and full-screen flows. Use for terminal colours, loading feedback,…
Operate skilld CLI for Skill discovery, use, installation, inspection, updates, authentication, configuration, restoration, and…
Updates an existing package Skill for a new release of its npm or local package by testing only what changed since the version…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…