Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pi-package-creator

БесплатноЗапускает вложенные скриптыНе проверен

Create, extend, repair, validate, test, and package Pi coding-agent packages (pi packages, pi-packages, Pi 패키지) for local, npm, or git distribution. Use…

buYoungот buYoung★ 21 звезда на GitHub

Об этом скилле

Pi Package Creator

Build a directory that Pi can discover, load, and distribute as one package. A Pi package contains any combination of extensions, skills, prompt templates, and themes; it does not need all four.

Each of the five steps below names the reference to read before you act. Every contract, example, starter file, and check you need is in this bundle, and its relative links point to included files. Do not send the user to external documentation, the original analysis, or another skill. An installed Pi and Node.js runtime and the package's declared dependencies are prerequisites for running the package and its checks, not documents to read.

Compatibility

  • This bundle targets Pi v1.7.0, tag commit fb0fe823539f6d04850f6e34748c01f01f212e1f. Development builds with the same version string can differ.
  • Node.js must satisfy Pi's >=22.19.0 requirement.
  • Record the user's actual Pi version and, when available, its commit. A matching version string alone does not prove that every behavior described here is present.
  • Run the bundled checks against the installed Pi. If an API or behavior differs, report the concrete mismatch. Do not invent a newer contract, and do not make reading external documents a completion step.
  • Do not mix legacy @mariozechner/* examples with current @earendil-works/* imports without saying so.

Evidence and compatibility records the supported Pi revision, observed differences, and limits.

1. Decide the package shape

From the request and existing files, determine the package purpose, destination, namespace, intended resources, runtime access, and delivery source (local, npm, or git). Resolve ordinary layout choices yourself. Ask the user only when a missing decision changes the requested behavior, for example whether to replace a built-in tool, contact a remote service, persist shared data, or publish under an account whose identity is unknown.

Choose the smallest set of resources that delivers the feature, and read the matching reference before implementing it:

Need Resource Read before implementing
Executable tools, commands, flags, events, providers, MCP, UI Extension extensions; also advanced extensions for events, state, UI, providers, and MCP
Instructions and supporting files the model loads on demand Skill resources, skills section
A slash command that expands text with arguments Prompt template resources, prompts section
Terminal colors and HTML export colors Theme resources, themes section
Distribution, dependencies, paths, filtering Package manifest packaging, for every package
Post-creation checks, behavioral tests, artifact verification Validation validation, for every package before delivery
Install, update, trust, troubleshooting Delivery operations, for every package before delivery

New package: copy only the requested parts of the starter. Its four resource types show independent options, not a minimum shape. In the parts you keep, rename @example/pi-workspace-kit, the acme prefix, filenames, frontmatter names, tool/command/flag names, and the theme name. Replace the demonstration behavior with the user's feature. Do not add resources only to match the starter or its tests.

Existing package: keep its public resource names and source identity unless the requested change requires a migration.

2. Set discovery and dependency boundaries

Discovery rules and host-provided dependencies decide whether an installed package loads at all. The full manifest and filter matrix in packaging is essential reading for this step.

Manifest

For npm delivery, include package.json with a real name and version. A local package can instead use conventional directories without package.json, and a package.json without a pi field also uses conventional discovery. An explicit manifest makes the resource surface reviewable. This is a complete extensions-only example:

{
  "name": "@example/pi-workspace-kit",
  "version": "0.1.0",
  "type": "module",
  "keywords": ["pi-package"],
  "files": ["extensions", "lib"],
  "pi": {
    "extensions": ["./extensions/index.ts"],
    "skills": [],
    "prompts": [],
    "themes": []
  },
  "peerDependencies": {
    "@earendil-works/pi-coding-agent": "*",
    "typebox": "*"
  }
}
  • "type": "module" is an authoring recommendation, and "pi-package" is a gallery-discovery keyword. Neither is required for local loading.
  • Use [] to mark resource types the package does not provide. Omitting a type is also valid when settings filters cannot expose unintended conventional resources.
  • A manifest [] is n
Полный SKILL.md на GitHub

Установить pi-package-creator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

UPDATING.mdassets/patterns/bounded-output.tsassets/starter/README.mdassets/starter/extensions/index.tsassets/starter/lib/workspace.tsassets/starter/package.jsonassets/starter/prompts/acme-focus.mdassets/starter/skills/acme-orient/SKILL.mdassets/starter/skills/acme-orient/references/output.mdassets/starter/themes/acme-midnight.jsonassets/testing/extensions-only-inventory.jsonassets/testing/starter-cases.jsonassets/testing/starter-inventory.jsonreferences/advanced-extensions.mdreferences/evidence.mdreferences/extensions.mdreferences/integrations.mdreferences/operations.mdreferences/packaging.mdreferences/resources.mdreferences/validation.mdscripts/lib/runtime.mjsscripts/lib/theme.mjsscripts/test-tools.mjsscripts/validate-package.mjs

FAQ

Что делает скилл pi-package-creator?

Create, extend, repair, validate, test, and package Pi coding-agent packages (pi packages, pi-packages, Pi 패키지) for local, npm, or git distribution. Use whenever a request involves a package.json pi manifest, Pi extensions or custom tools, bundled SKILL.md files, prompt templates, themes, resource discovery, host-provided dependencies, package collisions, or install/update/reload behavior. Includes a complete starter, self-contained authoring contracts, package checks, and executable tool tests. Not for Raspberry Pi, Python packages, ordinary npm libraries, Pi monorepo internals, or the experimental server plugin system.

Как установить скилл pi-package-creator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pi-package-creator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить pi-package-creator с