Coding & Development⌨️cursor🌐universal
AI Policies
Centralized AI IDE rules management for Cursor and GitHub Copilot.
Quick Start
Install this Skill
npx skills add mucahitgurbuz/ai-policies# AI Policies Centralized AI IDE rules management for Cursor and GitHub Copilot. ## What is this? AI Policies lets you manage AI assistant rules across your projects with: - **Policy Packages** - Reusable collections of rules (security, React patterns, etc.) - **Composition** - Combine multiple packages with priority layers - **Multi-IDE Support** - Generate `.cursorrules` and `.copilot/instructions.md` ## Quick Start ```bash # Install globally npm install -g ai-policies # Initialize in your project ai-policies init # Generate IDE configurations ai-policies sync ``` ## Configuration Create `.ai-policies.yaml` in your project root: ```yaml extends: '@ai-policies/core': '^1.0.0' '@ai-policies/frontend-react': '^1.0.0' output: cursor: '.cursorrules' copilot: '.copilot/instructions.md' compose: order: [core, domain, stack, team] protectedLayers: [core] ``` ## CLI Commands | Command | Description | | ---------------------- | --------------------------- | | `ai-policies init` | Initialize configuration | | `ai-policies sync` | Generate IDE configurations | | `ai-policies diff` | Show pending changes | | `ai-policies validate` | Validate configuration | | `ai-policies doctor` | Check for issues | ## Built-in Policies The package includes these policy packages in `src/policies/`: - **core** - Security fundamentals and code quality rules - **frontend-react** - React patterns and best practices - **workflows-jira** - Jira integration guidelines ## Creating Custom Policies Create a partial in your project: ```markdown --- id: my-custom-rule layer: team weight: 50 protected: false dependsOn: [] owner: my-team description: My custom rule --- # My Custom Rule - Follow this pattern - Avoid that anti-pattern ``` ## Development ```bash # Install dependencies npm install # Build npm run build # Test npm run test:run # Lint npm run lint ``` ## License MIT
Repository
4stars
0forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
🤖claude🌐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
🌐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
✨gemini🤖claude💬gpt🌐universal
524
34
View
misakanet-failure-memory
Coding & Development📚 A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
🤖claude⌨️cursor🌐universal
424
158
View