AI coding assistant templates for Cursor IDE. Pre-configured rules and guidelines that help AI assistants write better code. - use at your own risk
npm install agentic-team-templates

Compatible with:
!Cursor
!Claude Code
!GitHub Copilot
AI coding assistant templates for Cursor IDE, Claude Code, and GitHub Copilot. Pre-configured rules and guidelines that help AI assistants write better code in your projects.
Installs (configurable via --ide):
- CLAUDE.md - Development guide for Claude-based assistants (Claude Code, Cursor with Claude)
- .cursor/rules/ - Rule files for Cursor IDE
- .github/copilot-instructions.md - Instructions for GitHub Copilot
> Disclaimer: This project is provided for educational and experimental purposes only. The author takes no responsibility for any actions, outputs, or consequences resulting from an LLM or AI assistant following these rules. Use at your own risk. Always review AI-generated code before deploying to production.
No installation required. Run directly with npx:
``bash`
npx agentic-team-templates [template-name]
Or install globally:
`bash`
npm install -g agentic-team-templates
agentic-team-templates [template-name]
Navigate to your project directory and run:
`bash`
npx agentic-team-templates web-frontend
This installs the template rules in your project directory.
Combine templates for projects that span multiple domains:
`bash`
npx agentic-team-templates web-frontend web-backend
`bash`
npx agentic-team-templates --list
See what files will be created without making changes:
`bash`
npx agentic-team-templates web-frontend --dry-run
Re-run with @latest to get updated templates:
`bash`
npx agentic-team-templates@latest web-frontend
By default, templates install for all supported IDEs (Cursor, Claude, Copilot). Use --ide to target specific tools:
`bashInstall only for Cursor IDE
npx agentic-team-templates web-frontend --ide=cursor
$3
Remove templates you no longer need while keeping shared rules and other templates:
`bash
Remove a single template
npx agentic-team-templates --remove web-frontendRemove multiple templates
npx agentic-team-templates --remove web-frontend web-backendRemove from specific IDE only
npx agentic-team-templates --remove web-frontend --ide=cursorSkip confirmation prompt
npx agentic-team-templates --remove web-frontend --yes
`$3
Remove all installed content (shared rules, templates, generated files):
`bash
Reset all installed content
npx agentic-team-templates --resetReset for specific IDE only
npx agentic-team-templates --reset --ide=cursorSkip confirmation prompt
npx agentic-team-templates --reset --yesForce remove modified files
npx agentic-team-templates --reset --force
`$3
| Option | Description |
|--------|-------------|
|
--ide=[name] | Target IDE: cursor, claude, or codex (can be used multiple times) |
| --list, -l | List all available templates |
| --dry-run | Preview changes without writing files |
| --force, -f | Overwrite/remove even if files were modified |
| --remove | Remove specified templates |
| --reset | Remove ALL installed content |
| --yes, -y | Skip confirmation prompt (for --remove and --reset) |
| --help, -h | Show help message |$3
You can use short names instead of full template names for both install and remove (
--remove ). Run npx agentic-team-templates --list to see aliases next to each template.Languages
| Alias | Template |
|-------|----------|
|
js, ts, javascript, typescript | javascript-expert |
| go, golang | golang-expert |
| py, python | python-expert |
| rs, rust | rust-expert |
| ruby, rb | ruby-expert |
| swift | swift-expert |
| kotlin, kt | kotlin-expert |
| java | java-expert |
| cpp | cpp-expert |
| csharp, cs | csharp-expert |Engineering
| Alias | Template |
|-------|----------|
|
frontend, fe | web-frontend |
| backend, api | web-backend |
| devops, sre | devops-sre |
| cli | cli-tools |
| data, dataeng | data-engineering |
| ml, ai | ml-ai |
| qa | qa-engineering |
| test | testing |
| chain, web3 | blockchain |
| platform, platform-eng | platform-engineering |
| unity | unity-dev-expert |Professional
| Alias | Template |
|-------|----------|
|
docs | documentation |
| grants | grant-writer |
| exec, ea | executive-assistant |
| knowledge | knowledge-synthesis |
| wellness | wellness-orchestrator |
| life, logistics | life-logistics |
| research, researcher | research-assistant |Business
| Alias | Template |
|-------|----------|
|
product | product-manager |
| project | project-manager |
| compliance, regulatory | regulatory-sentinel |
| allocator, resources | resource-allocator |
| market-intel | market-intelligence |
| supplychain | supply-chain |
| harmonizer | supply-chain-harmonizer |
| negotiator | strategic-negotiator |
| predictive | predictive-maintenance |
| marketing | marketing-expert |Creative
| Alias | Template |
|-------|----------|
|
ux, uxd, design, designer | ux-designer |
| brand | brand-guardian |
| social-media | social-media-expert |
| content-creation | content-creation-expert |
| narrative, story | narrative-architect |
| trends | trend-forecaster |Education & agents
| Alias | Template |
|-------|----------|
|
teach, teacher | educator |
| agent, utility | utility-agent |Available Templates (42)
$3
| Template | Description |
|----------|-------------|
|
blockchain | Smart contracts, DeFi protocols, and Web3 applications (Solidity, Foundry, Viem) |
| cli-tools | Command-line applications and developer tools (Cobra, Commander, Click) |
| data-engineering | Data platforms and pipelines (ETL, data modeling, data quality) |
| devops-sre | DevOps and SRE practices (incident management, observability, SLOs, chaos engineering) |
| fullstack | Full-stack web applications (Next.js, Nuxt, SvelteKit, Remix) |
| ml-ai | Machine learning and AI systems (model development, deployment, monitoring) |
| mobile | Mobile applications (React Native, Flutter, native iOS/Android) |
| platform-engineering | Internal developer platforms, infrastructure automation, reliability engineering |
| qa-engineering | Quality assurance programs for confident, rapid software delivery |
| testing | Comprehensive testing practices (TDD, test design, CI/CD integration, performance testing) |
| unity-dev-expert | Unity game development (C#, ECS/DOTS, physics, UI systems, multiplayer, performance) |
| web-backend | Backend APIs and services (REST, GraphQL, microservices) |
| web-frontend | Frontend web applications (SPAs, SSR, static sites, PWAs) |$3
| Template | Description |
|----------|-------------|
|
cpp-expert | Principal-level C++ engineering (modern C++, RAII, concurrency, templates, performance) |
| csharp-expert | Principal-level C# engineering (async, DI, EF Core, ASP.NET Core, testing) |
| golang-expert | Principal-level Go engineering (concurrency, stdlib, production patterns, testing) |
| java-expert | Principal-level Java engineering (JVM, Spring Boot, concurrency, JPA, testing) |
| javascript-expert | Principal-level JavaScript & TypeScript engineering (Node.js, React, type system, testing) |
| kotlin-expert | Principal-level Kotlin engineering (coroutines, multiplatform, Ktor, Spring Boot, testing) |
| python-expert | Principal-level Python engineering (type system, async, testing, FastAPI, Django) |
| ruby-expert | Principal-level Ruby engineering (idioms, concurrency, Rails, performance, testing) |
| rust-expert | Principal-level Rust engineering (ownership, concurrency, unsafe, traits, async) |
| swift-expert | Principal-level Swift engineering (concurrency, SwiftUI, protocols, testing, Apple platforms) |$3
| Template | Description |
|----------|-------------|
|
market-intelligence | Data source aggregation, sentiment analysis, trend detection, and risk signal monitoring |
| marketing-expert | Brand positioning, campaign planning, market analysis, analytics, and growth frameworks |
| predictive-maintenance | Industrial sensor monitoring, failure prediction, maintenance scheduling, and asset lifecycle |
| product-manager | Customer-centric discovery, prioritization, and cross-functional execution |
| regulatory-sentinel | Compliance tracking, impact assessment, monitoring, and risk classification |
| resource-allocator | Demand prediction, scheduling optimization, crisis management, and capacity modeling |
| strategic-negotiator | Game theory, deal structuring, scenario modeling, and contract analysis |
| supply-chain-harmonizer | Disruption response, rerouting, inventory rebalancing, and scenario simulation |$3
| Template | Description |
|----------|-------------|
|
brand-guardian | Brand voice enforcement, visual identity compliance, and content review workflows |
| content-creation-expert | Content strategy, copywriting, SEO content, multimedia production, and editorial ops |
| narrative-architect | World-building, continuity tracking, timeline management, and story bible creation |
| social-media-expert | Platform strategy, content planning, audience growth, community management, and analytics |
| trend-forecaster | Signal detection, cultural analysis, trend lifecycle modeling, and forecasting methods |
| ux-designer | User research, interaction design, design systems, accessibility, and emotional design |$3
| Template | Description |
|----------|-------------|
|
documentation | Technical documentation standards (READMEs, API docs, ADRs, code comments) |
| knowledge-synthesis | Document ingestion, knowledge graphs, search/retrieval, summarization, and research workflows |
| life-logistics | Scheduling optimization, bill negotiation, insurance comparison, and vendor research |
| wellness-orchestrator | Unified wellness planning across fitness, nutrition, sleep, and mental wellness |$3
| Template | Description |
|----------|-------------|
|
educator | Evidence-based teaching, learning retention, gamification, and assessment design |$3
| Template | Description |
|----------|-------------|
|
utility-agent | AI agent utilities with context management and hallucination prevention |What Gets Installed
$3
Every template installation includes these foundational rules:
| File | Description |
|------|-------------|
|
core-principles.mdc | Honesty, simplicity, testing requirements |
| code-quality.mdc | SOLID, DRY, clean code patterns |
| security-fundamentals.mdc | Zero trust, input validation, secrets management |
| git-workflow.mdc | Commits, branches, PRs, safety protocols |
| communication.mdc | Direct, objective, professional communication |$3
Each template adds domain-specific rules. For example,
web-frontend includes:-
accessibility.mdc - WCAG compliance, ARIA patterns
- component-patterns.mdc - React/Vue/Svelte best practices
- performance.mdc - Core Web Vitals, optimization
- state-management.mdc - State patterns, data flow
- styling.mdc - CSS architecture, design systems
- testing.mdc - Unit, integration, E2E testing$3
All rule files use the
.mdc extension (Cursor MDC format). Templates were migrated from .md to .mdc for better IDE integration and consistent behavior.- Front matter — Every
.mdc file has YAML front matter at the top with:
- description: Short summary of the rule (used by the IDE).
- alwaysApply: true for shared rules (always loaded); false for template-specific rules (loaded when relevant).
- Short and focused — Each file covers one topic, with concise sections and clear headings. This keeps rules scannable and gives the AI clear, focused context.File Structure
After running
npx agentic-team-templates web-frontend:`text
your-project/
├── CLAUDE.md # Development guide (Claude Code, Cursor)
├── .cursor/
│ └── rules/ # Rule files (Cursor IDE)
│ ├── core-principles.mdc # Shared
│ ├── code-quality.mdc # Shared
│ ├── security-fundamentals.mdc # Shared
│ ├── git-workflow.mdc # Shared
│ ├── communication.mdc # Shared
│ ├── web-frontend-overview.mdc # Template-specific
│ ├── web-frontend-accessibility.mdc # Template-specific
│ ├── web-frontend-component-patterns.mdc # Template-specific
│ ├── web-frontend-performance.mdc # Template-specific
│ ├── web-frontend-state-management.mdc # Template-specific
│ ├── web-frontend-styling.mdc # Template-specific
│ └── web-frontend-testing.mdc # Template-specific
└── .github/
└── copilot-instructions.md # Instructions (GitHub Copilot)
`Customization
$3
Create new
.mdc files in .cursor/rules/. Include front matter and keep each file focused on one topic:`markdown
---
description: My project API conventions
alwaysApply: false
---My Project Conventions
API Endpoints
All API calls go through
/lib/api.ts...
`$3
Edit any file in
.cursor/rules/ or CLAUDE.md directly. Changes take effect immediately.$3
Templates merge with your existing
.cursor/rules/ directory. Rule files are installed as .mdc with YAML front matter (description, alwaysApply) and short, focused content (one topic per file). Existing files are preserved unless they have the same name.$3
If your project uses the older
.cursorrules/ directory, the installer will detect it and offer to clean it up automatically. Cursor now uses .cursor/rules/ for rule files. Support for .cursorrules/ will be removed in a future version.Examples
$3
`bash
mkdir my-react-app && cd my-react-app
npm create vite@latest . -- --template react-ts
npx agentic-team-templates web-frontend
or use shorthand:
npx agentic-team-templates frontend
`$3
`bash
npx create-next-app@latest my-app
cd my-app
npx agentic-team-templates fullstack
`$3
`bash
cd my-api-service
npx agentic-team-templates web-backend devops-sre
or use shorthands:
npx agentic-team-templates backend devops
`$3
`bash
cd my-ml-project
npx agentic-team-templates ml-ai data-engineering
or use shorthands:
npx agentic-team-templates ml data
`$3
`bash
cd my-unity-game
npx agentic-team-templates unity
`$3
`bash
cd marketing-workspace
npx agentic-team-templates marketing social-media content-creation
`$3
`bash
npx agentic-team-templates docs research
`Requirements
- Node.js: 18.0.0 or higher
- Supported IDEs/Tools:
- Cursor IDE (any version with
.cursor/rules/ support)
- Claude Code (reads CLAUDE.md automatically)
- GitHub Copilot (reads .github/copilot-instructions.md)Troubleshooting
$3
If you're getting errors for options that should exist (like
--reset), you may have a cached old version:`bash
Force latest version (recommended)
npx agentic-team-templates@latest [command]Clear npx cache
npx clear-npx-cacheOr manually clear npm cache
npm cache clean --force
`$3
Check which version you're running:
`bash
npx agentic-team-templates --version
`Output:
`text
agentic-team-templates v0.7.0
Changelog: https://github.com/djm204/agentic-team-templates/releases/tag/agentic-team-templates-v0.7.0
`Or use
--help which also checks for updates:`bash
npx agentic-team-templates@latest --help
`The CLI will notify you if a newer version is available.
$3
If installed globally:
`bash
npm update -g agentic-team-templates
`How to Contribute
We welcome contributions! Here's how to add new templates or improve existing ones.
$3
1. Create the template in the appropriate category directory:
`text
templates//your-template/
└── .cursor/
└── rules/
├── overview.mdc # Scope and core principles (required)
├── topic-one.mdc # Domain-specific rules
├── topic-two.mdc
└── ...
`Categories:
engineering, languages, creative, business, professional, education, agents2. Follow the existing patterns:
- Look at
templates/engineering/web-frontend/ or templates/languages/python-expert/ for reference
- Use .mdc for all rule files, with YAML front matter (description, alwaysApply)
- Keep each file short and focused on a single topic
- Include code examples, not just guidelines
- Add "Common Pitfalls" and "Definition of Done" sections where appropriate3. Required files:
-
.cursor/rules/overview.mdc - Scope, core principles, and project structure (with front matter)
- Add a category field to the template entry in src/index.js$3
CLAUDE.md should include:
- Overview and scope
- Key principles (3-5 bullet points)
- Technology stack table
- Code patterns with examples
- Definition of done checklist
- Common pitfalls with good/bad examples
Rule files (.mdc) should:
- Use the
.mdc extension with YAML front matter: description (short summary) and alwaysApply (true for shared, false for template-specific)
- Focus on one topic (e.g., testing, security, performance)—short and focused
- Be actionable with concrete code examples
- Include both "do" and "don't" examples
- Stay under ~500 lines for readability$3
1. Fork the repository
2. Make your changes
3. Test locally:
`bash
# From repo root, test installation
node bin/cli.js your-template --dry-run
`4. Submit a PR with:
- Clear description of changes
- Rationale for additions/modifications
- Any new dependencies or requirements
$3
The
templates/_shared/ directory contains rules included with every template:-
core-principles.mdc - Universal development principles
- code-quality.mdc - Clean code patterns
- security-fundamentals.mdc - Security basics
- git-workflow.mdc - Git conventions
- communication.mdc - AI communication styleChanges to shared rules affect all templates, so be thoughtful with modifications.
$3
- Use
.mdc` for all rule files (with YAML front matter); use Markdown for README and CLAUDE.mdMIT © David Mendez