prpm / rules
Cursor rule122 starsChanged 9 months agoMITView on GitHub
Automatically search and install PRPM packages when working on infrastructure, testing, deployment, or framework-specific tasks
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- beanstalk-deployCursor rule
- .cursor/rules/core-principles.mdcCursor rule
- .cursor/rules/creating-agents-md.mdcCursor rule
- .cursor/rules/creating-claude-agents.mdCursor rule
- .cursor/rules/creating-claude-commands.mdCursor rule
- .cursor/rules/creating-claude-hooks.mdCursor rule
- .cursor/rules/creating-continue-packages.mdCursor rule
- .cursor/rules/creating-copilot-packages.mdCursor rule
- .cursor/rules/creating-cursor-commands.mdCursor rule
- .cursor/rules/creating-cursor-rules.mdcCursor rule
- .cursor/rules/creating-kiro-agents.mdcCursor rule
- .cursor/rules/creating-kiro-packages.mdCursor rule
- .cursor/rules/creating-skills.mdcCursor rule
- .cursor/rules/creating-windsurf-packages.mdCursor rule
- .cursor/rules/elastic-beanstalk-deployment.mdCursor rule
- .cursor/rules/format-conversion.mdcCursor rule
- .cursor/rules/github-actions-testing.mdcCursor rule
- .cursor/rules/karen-repo-reviewer.mdcCursor rule
- .cursor/rules/prpm-json-best-practices.mdcCursor rule
- .cursor/rules/testing-patterns.mdcCursor rule
- .cursor/rules/typescript-type-safety.mdcCursor rule
- .cursor/rules/typescript-type-specialist.mdcCursor rule
- creating-agent-skillsSkill
- adding-new-ai-formatSkill
- agent-builderSkill
- aws-beanstalk-expertSkill
- beanstalk-deploySkill
- claude-hook-writerSkill
- creating-agents-mdSkill
- creating-claude-agentsSkill
- creating-claude-commandsSkill
- creating-claude-hooksSkill
- creating-claude-rulesSkill
- creating-continue-packagesSkill
- creating-copilot-packagesSkill
- creating-cursor-commandsSkill
- creating-cursor-rules-skillSkill
- creating-kiro-agentsSkill
- creating-kiro-packagesSkill
- creating-opencode-agentsSkill
- creating-opencode-pluginsSkill
- creating-skillsSkill
- creating-windsurf-packagesSkill
- creating-zed-extensionsSkill
- documentation-standardsSkill
- elastic-beanstalk-deploymentSkill
- github-actions-testingSkill
- human-writingSkill
- integrating-stripe-webhooksSkill
- karen-repo-reviewerSkill
- npm-trusted-publishingSkill
- osgrepSkill
- postgres-migrationsSkill
- prpm-developmentSkill
- prpm-json-best-practicesSkill
- pulumi-troubleshootingSkill
- self-improvingSkill
- slash-command-builderSkill
- The first 60 shown.
The file
We split this self-improve-cursor.mdc into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Use when user request is:
- Distinctive: line 42
Use when request mentions:
- Distinctive: line 90
Keywords: test, playwright, jest, cypress, vitest, e2e
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- alwaysApply: true description: Automatically search and install PRPM packages when working on infrastructure, testing, deployment, or framework-specific tasks --- # Self-Improving with PRPM ## Purpose Automatically search and install PRPM packages to enhance Cursor's capabilities for specific tasks. ## When to Apply **Automatically triggers when detecting:** - Infrastructure: aws, pulumi, terraform, kubernetes, docker - Testing: test, playwright, jest, cypress, vitest, e2e - Deployment: ci/cd, github-actions, gitlab-ci, deploy, workflow - Frameworks: react, vue, next.js, express, fastify, django ## Workflow ### 1. Task Analysis Analyze user request for keywords and extract relevant terms. ### 2. Automatic Search **Choose the right search method:** **AI-Assisted Search** (for vague/broad queries): ```bash prpm ai-search "natural language query" ``` Use when user request is: - Conceptual or vague (e.g., "help with deployments") - Describes a problem, not specific tools - Open-ended exploration **Keyword Search** (for specific tools/frameworks): ```bash prpm search "<detected keywords>" --limit 5 ``` Use when request mentions: - Specific technologies (e.g., "pulumi", "react") - Exact tool names - Known frameworks ### 3. Package Suggestion Present top 3 most relevant packages: ``` I found these PRPM packages that can help: 1. @prpm/pulumi-infrastructure (Official, 5.2K downloads) - Pulumi + AWS best practices 2. @sanjeed5/github-actions (Community, 892 downloads) - GitHub Actions patterns Should I install #1 to enhance my knowledge? ``` ### 4. Installation (with approval) ```bash prpm install <package-name> --as cursor ``` ### 5. Application Load package knowledge and apply to current task. ## Decision Rules ### High Confidence (Auto-suggest) - ✅ Official packages (`@prpm/*`) - ✅ Featured packages - ✅ High downloads (>1,000) - ✅ Verified authors ### Medium Confidence (Present options) - ⚠️ Community packages (<1,000 downloads) - ⚠️ Multiple similar packages ### Low Confidence (Skip) - ❌ Unverified packages - ❌ Zero downloads ## Search Triggers ### Infrastructure **Keywords**: aws, gcp, kubernetes, docker, pulumi, terraform **Search**: `prpm search "infrastructure <cloud> <tool>"` ### Testing **Keywords**: test, playwright, jest, cypress, vitest, e2e **Search**: `prpm search "testing <framework>"` ### CI/CD **Keywords**: ci/cd, github-actions, gitlab-ci, deploy **Search**: `prpm search "deployment <platform>"` ### Frameworks **Keywords**: react, vue, next.js, express, django **Search**: `prpm search "<framework> best-practices"` ## Search Commands ### AI-Assisted Search (Semantic Search) ```bash # Natural language queries prpm ai-search "help me deploy my app to the cloud" # Problem descriptions prpm ai-search "I need to improve my code review process" # Conceptual searches prpm ai-search "best practices for testing infrastructure" ``` **When to use AI search:** - User query is vague or open-ended - Searching by concept rather than specific tool - Exploring what's available for a problem domain - User doesn't know exact package names or tools ### Package Search (Keyword Search) ```bash # Basic search prpm search "keyword1 keyword2" # Subtype filter (rule, agent, skill, slash-command, prompt) prpm search "react" --subtype rule # Limit results prpm search "github actions" --limit 5 # Sort by downloads prpm search "testing" --sort downloads ``` **When to use keyword search:** - Specific technology names known (pulumi, react, etc.) - Filtering by package subtype needed - Need sorting/filtering options - Exact match searches ### Collection Search ```bash # List all collections prpm collection list # Search for collections prpm collection search "frontend" # Get collection details prpm collection info essential-dev-agents # Install a collection (installs all packages in the collection) prpm install essential-dev-agents ``` **Note:** Collections bundle multiple related packages together. Use collections when you need a complete toolkit for a specific domain (e.g., "startup-mvp", "security-review-agents", "essential-dev-agents"). ## Examples ### Specific Technology (Keyword Search) ``` User: "Help me build Pulumi + Beanstalk infrastructure" Analysis: Keywords = Pulumi, Beanstalk, infrastructure (specific tools) Search: prpm search "pulumi beanstalk infrastructure" Found: @prpm/pulumi-infrastructure (Official, 3.2K downloads) Confidence: High → Auto-suggest Response: "I found: @prpm/pulumi-infrastructure (Official, 3.2K downloads) Pulumi + AWS best practices, resource patterns, cost optimization. Should I install this?" User: "Yes" Action: prpm install @prpm/pulumi-infrastructure --as cursor Result: Package loaded, applying Pulumi patterns to task ``` ### Vague Request (AI-Assisted Search) ``` User: "I need help with deployments" Analysis: Query is vague, no specific tools mentioned Search: prpm ai-search "help with deployments" Found: Multiple relevant packages Response: "I found several deployment-related packages: 1. @prpm/elastic-beanstalk-deployment (Official, 2.1K downloads) 2. @prpm/docker-deployment (Featured, 1.5K downloads) 3. @sanjeed5/github-actions (Community, 892 downloads) Which deployment platform are you using?" User: "I'm using AWS" Action: prpm install @prpm/elastic-beanstalk-deployment --as cursor Result: Package loaded, applying AWS deployment patterns ``` Remember: Self-improvement through package discovery makes Cursor more capable for each task domain.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

