Overview
PRPM supports automatic format conversion - you can install a package designed for one AI tool (like Cursor) and use it in another (like Claude). The registry handles conversion server-side, ensuring packages work across different editors.Supported Formats
PRPM supports conversion between these AI coding tool formats:| Format | Description | Learn More |
|---|---|---|
| Cursor | Rules in .cursor/rules/ with MDC format | Cursor Deep Dive |
| Claude | Skills, agents, and commands in .claude/ | Claude Deep Dive |
| Continue | Prompts in .continue/ config | Continue Deep Dive |
| Windsurf | Rules in .windsurf/ directory | Windsurf Deep Dive |
| Copilot | Instructions in .github/.copilot-instructions.md | Copilot Deep Dive |
| Kiro | Steering files in .kiro/ | Kiro Deep Dive |
| agents.md | OpenAI’s open standard for agents | agents.md Deep Dive |
How Conversion Works
Installing with Format Conversion
Use the--as flag to convert a package to your preferred format:
Server-Side Conversion
When you request a different format:- Package Request: CLI requests the package in your desired format
- Format Detection: Registry checks if package exists in target format
- Automatic Conversion: If not, registry converts on-the-fly using format converters
- Quality Check: Converted output is validated for correctness
- Delivery: Converted package is returned to CLI
- Installation: CLI installs in the appropriate directory for your tool
Conversion Types
1. Rule-to-Rule Conversion
Converting between rule-based formats (Cursor ↔ Windsurf ↔ Kiro):- ✅ Content and guidelines
- ✅ Code examples
- ✅ Frontmatter metadata
- ⚠️ Format-specific features may be adapted
2. Rule-to-Skill Conversion
Converting rules to Claude skills:- ✅ Content becomes skill documentation
- ✅ Examples mapped to skill patterns
- ✅ Frontmatter adapted to skill structure
- ✅ “When to Use” section generated
3. Skill-to-Rule Conversion
Converting Claude skills to rules:- ✅ Skill content becomes rule guidelines
- ✅ Patterns become rule examples
- ✅ “When to Use” becomes rule description
- ✅ MDC frontmatter generated
4. Multi-File to Single-File Conversion
Some formats (Claude skills) support multiple files, others (Cursor rules) are single-file:- ✅ Multiple files consolidated into one
- ✅ Cross-references preserved as sections
- ✅ Examples merged logically
- ⚠️ Some structure flattened
Format Subtypes
Different formats support different subtypes:Claude Subtypes
- skill - Reference documentation (
.claude/skills/) - agent - Task-specific automation (
.claude/agents/) - slash-command - Quick actions (
.claude/commands/)
Cursor Subtypes
- rule - Project guidelines (
.cursor/rules/)
Continue Subtypes
- prompt - Custom prompts (
.continue/config.json)
Conversion Best Practices
1. Choose the Right Source Format
For best conversion results, install from the format closest to your target: Good conversions (high fidelity):- ✅ Cursor ↔ Windsurf ↔ Kiro (all rule-based)
- ✅ Claude skill → Cursor rule (skill docs map well to rules)
- ✅ Cursor rule → Claude skill (rules expand nicely to skills)
- ⚠️ Claude agent → Cursor rule (task automation flattened to guidelines)
- ⚠️ Claude slash-command → Cursor rule (quick actions become examples)
- ⚠️ agents.md → Other formats (complex agent workflows simplified)
2. Specify Subtype When Needed
For formats with multiple subtypes, specify the subtype:3. Review Converted Content
After installation, review the converted file to ensure quality:- Installing from a different source format
- Manually editing the converted file
- Requesting the author publish in your target format
4. Publish in Multiple Formats
If you’re a package author, publish native versions for maximum quality:Conversion Limitations
What’s Preserved
- ✅ Core content and guidelines
- ✅ Code examples
- ✅ Documentation structure
- ✅ Metadata (author, description, tags)
What May Be Lost
- ❌ Format-specific features
- ❌ Complex cross-file references
- ❌ Interactive elements
- ❌ Tool-specific configuration
Format-Specific Features
Some features don’t translate across formats: Cursor-specific:- MDC headers with
ruleTypeandalwaysApply - Cursor-specific markdown extensions
- Multi-file skill structure
- Agent tool specifications
- Slash command arguments/options
- Slash command JSON configuration
- Context provider settings
- Preserves the content in the converted format
- Adapts the feature where possible
- Includes a comment noting the original feature
Technical Details
Conversion Pipeline
- Parse Source: Extract content, metadata, and structure
- Normalize: Convert to intermediate representation
- Map Features: Translate format-specific features
- Generate Target: Create output in target format
- Validate: Ensure output meets format requirements
- Return: Deliver converted package to CLI
Caching
Converted packages are cached to improve performance:- First conversion: Takes ~100-500ms
- Subsequent requests: Retrieved from cache instantly
- Cache invalidation: When package is updated
Troubleshooting
Conversion Failed
If conversion fails:- Check if the source format is supported
- Try a different target format
- Install without
--asflag (original format) - Report the issue on GitHub
Poor Conversion Quality
If converted content is low quality:- Check source quality: Some packages convert better than others
- Try native format: Install without
--asflag - Manual editing: Edit the converted file after installation
- Request native version: Ask author to publish in your format
Missing Features
If features are missing after conversion:- Expected: Format-specific features don’t always translate
- Workaround: Manually add missing features to converted file
- Best practice: Use native format when possible
Examples
Example 1: Cross-Format Team
Your team uses different editors:Example 2: Trying Different Tools
Testing different AI coding tools:Example 3: Format-Agnostic Publishing
As a package author, let users choose their format:- Cursor users get native
.mdcfile - Claude users get auto-converted skill
- Continue users get auto-converted prompt
Related Topics
Deep Dives by Format
Want to understand how each format works? Read our technical deep dives:- Cursor Rules: A Technical Deep Dive - MDC format, frontmatter, and best practices
- Claude Desktop & Claude Code: A Technical Deep Dive - Skills, agents, slash commands, and CSO
- GitHub Copilot Instructions: A Deep Dive -
.copilot-instructions.mdformat - Continue Dev Prompts: A Technical Deep Dive -
.continue/config structure - Windsurf Rules: A Technical Deep Dive - Windsurf’s rule system
- Kiro Steering Files: A Technical Deep Dive - Kiro’s steering file format
- agents.md: A Deep Dive into OpenAI’s Open Standard - The agents.md specification