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

Package Formats

Packages target different AI tools:
  • claude: Claude Code agents and skills
  • cursor: Cursor IDE rules
  • continue: Continue.dev extension
  • windsurf: Windsurf IDE
  • agents.md: Agents.md format
  • generic: Works across multiple tools

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.