Gathering detailed insights and metrics for agent-rules-kit
Gathering detailed insights and metrics for agent-rules-kit
Gathering detailed insights and metrics for agent-rules-kit
Gathering detailed insights and metrics for agent-rules-kit
Bootstrap of Cursor rules (.mdc) and mirror documentation (.md) for AI agent-guided projects.
npm install agent-rules-kit
Typescript
Module System
Node Version
NPM Version
71.9
Supply Chain
96.7
Quality
88.5
Maintenance
50
Vulnerability
99.6
License
JavaScript (99.98%)
Shell (0.02%)
Total Downloads
2,443
Last Day
3
Last Week
34
Last Month
172
Last Year
2,443
ISC License
16 Stars
175 Commits
4 Forks
1 Watchers
4 Branches
2 Contributors
Updated on Jul 24, 2025
Latest Version
2.4.2
Package Id
agent-rules-kit@2.4.2
Unpacked Size
28.39 MB
Size
26.42 MB
File Count
242
NPM Version
10.8.2
Node Version
20.19.2
Published on
Jun 16, 2025
Cumulative downloads
Total Downloads
Last Day
200%
3
Compared to previous day
Last Week
-5.6%
34
Compared to previous week
Last Month
-85.7%
172
Compared to previous month
Last Year
0%
2,443
Compared to previous year
Bootstrap Cursor rules (
.mdc
) for AI agent-guided projects. This tool helps you generate and maintain project-specific rules for multiple frameworks and architectures.
Agent Rules Kit is a CLI tool that facilitates the installation and configuration of rules for Cursor AI, the AI-powered IDE. The rules help AI agents better understand the structure, patterns, and best practices of different technology stacks.
Listen to a brief introduction about Agent Rules Kit:
https://github.com/user-attachments/assets/7d65c696-245d-421d-9ddc-90331a92c9b2
https://github.com/user-attachments/assets/8e91d651-c15f-4892-a250-684ab60d8594
1# Install and run interactively 2npx agent-rules-kit 3 4# The CLI will guide you through: 5# 1. 📁 Project path selection 6# 2. 📚 Stack and architecture choice (optional) 7# 3. 🌐 Global best practices (recommended) 8# 4. 🔧 MCP tools selection (multiple tools supported) 9# 5. ⚡ Automatic rule generation
Your rules will be generated in .cursor/rules/rules-kit/
and automatically detected by Cursor!
If you are using an AI agent, check AGENTS.md for instructions on automated installation. Share this file with your agent so it installs the rules automatically.
We've completely redesigned the internal architecture to provide a more maintainable and extensible system:
New in v2.0: Agent Rules Kit now includes comprehensive support for Model Context Protocol (MCP) tools! This powerful feature allows AI agents to work more effectively with external tools and services.
Model Context Protocol (MCP) tools are standardized interfaces that allow AI assistants to securely connect to external data sources and services. These tools enable AI agents to:
Choose from 5 popular MCP tools during installation:
Tool | Name | Description | Best For |
---|---|---|---|
🔍 PAMPA | Semantic Code Search | AI-powered code search with project memory | Understanding large codebases, finding relevant code patterns |
🐙 GitHub | Repository Management | Secure GitHub API integration for file operations | Repository management, collaborative development |
🧠 Memory | Persistent Knowledge | Long-term memory storage across sessions | Maintaining context, learning from previous interactions |
📁 Filesystem | File Operations | Secure file system access with controls | File management, project organization |
🔀 Git | Version Control | Repository operations and history analysis | Version control, commit management, branch operations |
The new multi-select interface allows you to install rules for multiple MCP tools simultaneously:
1? Select MCP tools to install rules for: (Use space to select, enter to confirm) 2❯◉ PAMPA - Semantic Code Search - AI-powered semantic code search and project memory system 3 ◉ GitHub - Repository Management - Secure access to GitHub repositories for file operations 4 ◯ Memory - Persistent Knowledge - Persistent knowledge storage and retrieval across sessions 5 ◉ Filesystem - File Operations - Secure file operations with configurable access controls 6 ◯ Git - Version Control - Repository operations, commit history analysis, and version control
Each selected MCP tool generates organized rules in your project:
.cursor/rules/rules-kit/mcp-tools/
├── pampa/
│ ├── pampa-mcp-usage.mdc # Core usage patterns
│ └── pampa-best-practices.mdc # Best practices and tips
├── github/
│ ├── github-mcp-usage.mdc # GitHub API integration rules
│ └── github-workflow.mdc # Workflow patterns
└── memory/
├── memory-mcp-usage.mdc # Memory management rules
└── memory-patterns.mdc # Common memory patterns
MCP Tools rules help AI agents:
MCP tools rules work alongside your stack-specific rules:
Stack | Status | Features |
---|---|---|
NEW v2.0: Multi-select MCP tools (PAMPA, GitHub, Memory, Filesystem, Git), usage patterns, security guidelines, workflows | ||
Complete SDK coverage (Python, TypeScript, Java, Kotlin, C#, Swift), server/client patterns, architecture concepts | ||
Multiple architectures, version detection, casting rules | ||
Testing guidelines, architectural patterns, version-specific docs | ||
Best practices, file operations, code standards, extensibility docs | ||
Semantic code search, AI agent integration, MCP support, multi-language indexing | ||
Architecture options, state management, testing guidelines, version-specific guidance (v18 concurrent features) | ||
Base rules (architecture, best practices, styling, naming, navigation, platform code, state, testing, version info) | ||
App & Pages router support, version detection, testing docs, version-specific guidance (v13 API routes, v14 Server Components) | ||
Component organization, runes (v5), lifecycle, state management | ||
Multiple architectures, project structure, error handling patterns | ||
Routing system, layouts, SSR/CSR strategies, form actions | ||
Content collections, static/dynamic content, integration guides | ||
Signals support, base project structure | ||
Standard and Microservices architectures, NestJS 9.x and 10.x features | ||
Base project structure, best practices, naming, testing | ||
Testing guidelines, architecture concepts | ||
Standard, Reactive, Microservices |
Enhanced Extensibility: Detailed documentation has been added on how to extend Agent Rules Kit with new services, making it easier to contribute new stacks and features.
For guidelines on contributing to this project, please see CONTRIBUTING.md.
Please read our Code of Conduct before participating in our project.
This project is licensed under the ISC License. See the LICENSE file for details.
Choose from a wide range of technology stacks:
Stack | SDKs/Versions | Architectures |
---|---|---|
Laravel | 8, 9, 10, 11 | Standard, DDD, Hexagonal |
Next.js | 12, 13, 14, 15 | App Router, Pages Router |
Angular | 12, 13, 14, 15, 16, 17, 18 | Standard, Standalone, Micro-frontends |
React | 16, 17, 18, 19 | Standard, Hooks, Concurrent |
Vue.js | 2, 3 | Options API, Composition API, Nuxt |
Astro | 3, 4 | Static, SSR, Hybrid |
React Native | 0.70, 0.71, 0.72, 0.73, 0.74 | Standard, Expo |
NestJS | 8, 9, 10 | Standard, Microservices, GraphQL |
Go | 1.20, 1.21, 1.22 | Standard, DDD, Hexagonal |
Django | 4, 5 | MVT, API, Full-Stack |
FastAPI | 0.100+ | Standard, Async, Microservices |
Node.js | 18, 20 | Standard |
Express.js | 4 | Standard, REST, GraphQL |
Spring Boot | 2, 3 | Standard, Reactive, Microservices |
🆕 MCP (Model Context Protocol) | Python, TypeScript, Java, Kotlin, C#, Swift | Server, Client, Toolkit |
🆕 Pampa | Latest | Standard |
MCP is an open standard that enables AI applications to securely connect to data sources. Our rules kit includes comprehensive implementation guides for all major SDKs:
Pampa is our own AI-powered semantic code search tool designed specifically for AI agents:
Perfect for AI agents to quickly understand and navigate any codebase!
No vulnerabilities found.