Skip to main content

Packages

Packages are the core unit of distribution in PRPM. A package contains prompts, rules, skills, agents, or other AI tool configurations.

Package Types

PRPM supports different package subtypes:
SubtypeDescriptionExample
agentAutonomous multi-step agentsComplex workflow automation
skillSpecialized knowledge/capabilitiesDomain expertise, best practices
ruleIDE rules and guidelinesCoding standards, conventions
slash-commandExecutable commandsQuick actions, shortcuts
promptReusable prompt templatesCommon tasks, queries
workflowMulti-step automation workflowsCI/CD pipelines, build processes
toolExecutable utilities and scriptsMCP tools, helper scripts
templateFile and project templatesBoilerplates, scaffolds
collectionCurated package collectionsStack bundles, thematic sets
chatmodeChat interface modesSpecialized AI modes
hookEvent-triggered executable hooksPre/post actions, validations

Package Formats

Packages target different AI tools:
  • claude: Claude Code agents and skills
  • cursor: Cursor IDE rules
  • continue: Continue.dev extension
  • windsurf: Windsurf IDE
  • copilot: GitHub Copilot instructions
  • kiro: Kiro AI agents and steering files
  • gemini: Gemini CLI custom commands
  • opencode: OpenCode AI agents and commands
  • ruler: Ruler coding rules and agents
  • droid: Factory Droid skills and hooks
  • agents.md: Universal agent format (OpenAI, Gemini, etc.)
  • mcp: Model Context Protocol servers
  • generic: Works across multiple tools
See the Formats documentation for complete details on each format.

Package Structure

A basic package in prpm.json:
{
  "name": "@username/typescript-best-practices",
  "version": "1.0.0",
  "description": "TypeScript coding standards and best practices",
  "author": "Your Name",
  "license": "MIT",
  "format": "cursor",
  "subtype": "rule",
  "tags": ["typescript", "best-practices"],
  "files": [".cursor/rules/typescript.mdc"]
}

Installing Packages

Install a package:
prpm install @prpm/@username/typescript-best-practices
Install for a specific format:
prpm install @prpm/@username/typescript-best-practices --as cursor

Publishing Packages

See the Publishing Guide for details on publishing your packages.