prpm
pr-pm · pr-pm/prpm
Một trình quản lý gói phổ quát cho các công cụ lập trình AI, cho phép khám phá và cài đặt prompts, rules, skill và agent trên nhiều nền tảng AI khác nhau.
The universal registry for AI coding tools
Xem trước
Bạn có thể làm gì với nó
- Tìm kiếm và cài đặt các gói prompt phù hợp cho các tác vụ lập trình cụ thể.
- Chia sẻ và tái sử dụng các rule agent tùy chỉnh trên các môi trường lập trình AI khác nhau.
- Nhanh chóng thiết lập toàn bộ môi trường phát triển Next.js chỉ với một lệnh duy nhất.
Kiểm tra an toàn
Dùng được, nhưng nên đọc ghi chú trước.
- ●Đọc file chứa thông tin đăng nhập (SSH key, token cloud hoặc npm).
.claude/skills/aws-beanstalk-expert/SKILL.md
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
PRPM - The Package Manager for AI Prompts
The universal registry for AI coding tools.
Discover and install cross-platform prompts, rules, skills, and agents that work with Cursor, Claude, Continue, Windsurf, GitHub Copilot, OpenAI Codex, Google Gemini, Kiro, and more — all from one file.
npm install -g prpm
prpm install collections/nextjs-pro # Entire Next.js setup in one command
Installs 20 packages: backend-architect, cloud-architect, database-architect, and more
7,500+ cross platform packages
Docs | Search Packages | Search Collections
For AI Agents - Quick reference for LLM agents using PRPM
Agent Quick Start
PRPM = Package manager for AI coding tools. Install prompts, rules, skills, and agents that work across all editors.
Installation
npm install -g prpm
Essential Commands
| Command | Purpose |
|---|---|
prpm search <query> --no-interactive | Find packages by keyword (non-interactive for agents) |
prpm ai-search <query> | Semantic search with natural language (free, no login) |
prpm install | Install a package (auto-detects editor) |
prpm install --as <format> | Install for specific editor format |
prpm info | Get package details, description, install count |
prpm trending | See popular packages |
prpm collections | Browse curated package bundles |
prpm collections info <id> | Get collection details |
Important: Always use --no-interactive with search to avoid interactive pagination prompts.
Format System
Packages convert automatically to any editor format during install:
# Same package → different editors
prpm install @sanjeed5/react --as cursor # → .cursor/rules/
prpm install @sanjeed5/react --as claude # → .claude/skills/
prpm install @sanjeed5/react --as continue # → .continue/rules/
prpm install @sanjeed5/react --as windsurf # → .windsurf/rules/
prpm install @sanjeed5/react --as copilot # → .github/instructions/
prpm install @sanjeed5/react --as kiro # → .kiro/steering/
Available formats: cursor, claude, continue, windsurf, copilot, kiro, gemini, opencode, codex, droid, aider, agents.md, generic
Subtypes (use with --subtype): rule, agent, skill, slash-command, hook, tool, chatmode, prompt
Self-Improvement Pattern
When working on a task, search PRPM for relevant expertise:
# Keyword search (use --no-interactive to avoid prompts)
prpm search react --no-interactive
prpm search "testing best practices" --no-interactive
# AI-powered semantic search (better for natural language queries)
prpm ai-search "how to structure a React project with TypeScript"
prpm ai-search "rules for writing clean API endpoints"
# Filter by format or subtype
prpm search react --format cursor --no-interactive
prpm search typescript --subtype agent --no-interactive
# Install what looks useful
prpm install @username/package-name
Common Workflows
Find and install a package:
prpm search "your topic" --no-interactive
prpm info @scope/package-name # Check details
prpm install @scope/package-name
Install a collection (multiple related packages):
prpm collections search frontend --no-interactive
prpm collections info nextjs-pro
prpm install collections/nextjs-pro
Check what's installed:
prpm list # Show installed packages
prpm list --format json # Machine-readable output
Install Locations Reference
| Format | Default Location |
|---|---|
| cursor | .cursor/rules/ |
| claude | .claude/skills/ (skills), .claude/commands/ (slash-commands), .claude/agents/ |
| continue | .continue/rules/ |
| windsurf | .windsurf/rules/ |
| copilot | .github/instructions/ |
| kiro | .kiro/steering/ |
Publishing Packages
Help users share their prompts, rules, and agents with the community.
Get expert help with prpm.json:
# Install the PRPM manifest skill for detailed guidance
prpm install @prpm/prpm-json-best-practices-skill
This skill has comprehensive knowledge of prpm.json structure, required fields, multi-package setups, and publishing best practices.
Quick publish flow:
# 1. Initialize a package manifest
prpm init
# 2. Validate before publishing
prpm publish --dry-run
# 3. Publish to registry
prpm publish
The prpm.json manifest:
{
"name": "my-package-name",
"version": "1.0.0",
"description": "What this package does and when to use it",
"author": "username",
"format": "cursor",
"subtype": "rule",
"files": [".cursor/rules/my-rule.mdc"],
"tags": ["react", "testing"]
}
Key fields:
name: Package name (lowercase, hyphens allowed)format: Source format (cursor,claude,continue,windsurf,copilot,kiro, etc.)subtype: Package type (rule,agent,skill,slash-command,hook,prompt)files: Array of files to includetags: Keywords for discoverability
Publishing to an organization:
# Add organization to manifest
{
"organization": "my-org",
...
}
# Or specify at publish time
prpm publish --org my-org
Multi-package publishing (one repo, multiple packages):
{
"author": "username",
"packages": [
{ "name": "react-rules", "format": "cursor", "files": [...] },
{ "name": "react-agent", "format": "claude", "subtype": "agent", "files": [...] }
]
}
Tips for Agents
When installing:
- Auto-detection: PRPM detects your editor from project files. Usually just
prpm installworks. - Search broadly: Use general terms first, then narrow down.
- Check info first:
prpm infoshows download counts and descriptions to assess quality. - Collections save time: For new projects, collections install entire setups at on