A comprehensive template repository providing AI instruction files, prompts, and rules for AI-assisted development workflows. This toolkit helps teams establish consistent AI coding practices across projects.
This repository serves as a template source for AI development instructions that can be copied into your projects. It provides:
- Cursor IDE rules (
.cursor/rules/) for AI behavior configuration - Cursor commands (
.cursor/commands/) for custom AI workflows - GitHub Copilot instructions (
.github/copilot-instructions.md) - GitHub prompts (
.github/prompts/) for reusable prompt templates - AGENTS.md files for AI agent context
- Skills recommendations from skills.sh for enhanced AI capabilities
/
├── src/
│ ├── repo/ # Templates for single repositories
│ │ ├── .cursor/ # Cursor IDE configuration
│ │ ├── .github/ # GitHub Copilot instructions
│ │ ├── .agents/ # Pre-installed universal skills
│ │ │ └── skills/ # Bundled skills (TDD, debugging, etc.)
│ │ ├── AGENTS.md # AI agent context template
│ │ └── README.md # Project README template
│ │
│ └── monorepo/ # Templates for monorepos
│ ├── .cursor/ # Root-level Cursor config
│ ├── .github/ # Root-level GitHub config
│ ├── .agents/ # Pre-installed universal skills
│ │ └── skills/ # Bundled skills (TDD, debugging, etc.)
│ ├── apps/ # App-specific templates
│ ├── packages/ # Package-specific templates
│ └── AGENTS.md # Monorepo agent context
│
├── .cursor/ # This toolkit's own Cursor config
├── .github/ # This toolkit's own GitHub config
└── AGENTS.md # This toolkit's agent context
Step 1: Copy the templates
cp -r src/repo/.cursor /path/to/your/project/
cp -r src/repo/.github /path/to/your/project/
cp -r src/repo/.agents /path/to/your/project/
cp src/repo/AGENTS.md /path/to/your/project/The .agents/skills/ folder contains pre-installed universal skills that are ready to use immediately (see Bundled Universal Skills).
Step 2: Run the Bootstrap Command
Open your project in Cursor IDE or VS Code with GitHub Copilot, then run:
- Cursor IDE: Use the
/bootstrapcommand - GitHub Copilot: Use the
bootstrap.prompt.mdprompt (/bootstrap)
The bootstrap process will:
- Analyze your project's structure, dependencies, and configuration files
- Infer template variables (framework, language, package manager, etc.)
- Prompt you for any values it couldn't detect
- Automatically update all
{{PLACEHOLDER}}values in your AI instruction files
Step 3: Review and Customize
After bootstrapping, review the generated files and add any project-specific patterns to AGENTS.md.
Step 1: Copy the templates
cp -r src/monorepo/.cursor /path/to/your/project/
cp -r src/monorepo/.github /path/to/your/project/
cp -r src/monorepo/.agents /path/to/your/project/
cp src/monorepo/AGENTS.md /path/to/your/project/
# Optionally copy app/package templates
cp -r src/monorepo/apps/app-template /path/to/your/project/apps/
cp -r src/monorepo/packages/package-template /path/to/your/project/packages/The .agents/skills/ folder contains pre-installed universal skills that are ready to use immediately (see Bundled Universal Skills).
Step 2: Run the Bootstrap Command
Open your project in Cursor IDE or VS Code with GitHub Copilot, then run:
- Cursor IDE: Use the
/bootstrapcommand - GitHub Copilot: Use the
bootstrap.prompt.mdprompt (/bootstrap)
The bootstrap process will:
- Analyze your monorepo workspace, including all apps and packages
- Detect frameworks, ports, and deployment platforms for each app
- Infer package scopes and descriptions
- Prompt you for any missing information
- Create
AGENTS.mdfiles for each app with framework-specific patterns - Update all
{{PLACEHOLDER}}values throughout the monorepo
Step 3: Review and Customize
After bootstrapping:
- Review root
AGENTS.mdfor overall project context - Check each
apps/*/AGENTS.mdfor app-specific patterns - Add any custom conventions or patterns unique to your project
Templates use {{PLACEHOLDER}} syntax for values you need to customize. The bootstrap command will automatically detect and fill most of these values.
| Placeholder | Description | Example |
|---|---|---|
{{PROJECT_NAME}} |
Your project name | my-awesome-app |
{{PROJECT_DESCRIPTION}} |
Brief project description | A web app for... |
{{LANGUAGE}} |
Primary language | TypeScript, PHP, C#, Python, Ruby, Go, Rust, Java |
{{FRAMEWORK}} |
Primary framework | Next.js, Laravel, Blazor, Django, Rails, Spring Boot |
{{PACKAGE_MANAGER}} |
Package manager | npm, composer, dotnet, pip, bundler, go, cargo, maven |
{{FILE_EXTENSION}} |
File extension | ts, php, cs, py, rb, go, rs, java |
{{DEV_PORT}} |
Development server port | 3000, 8000, 5000 |
{{DEPLOY_PLATFORM}} |
Deployment target | Vercel, AWS, Azure, Heroku |
{{DATABASE}} |
Database/ORM | Prisma, Eloquent, EF Core, SQLAlchemy, ActiveRecord |
{{TEST_FRAMEWORK}} |
Testing framework | Vitest, PHPUnit, xUnit, pytest, RSpec, JUnit |
{{ISSUE_TRACKER}} |
Issue tracking system | Jira, Linear, GitHub Issues |
{{DEFAULT_BRANCH}} |
Default git branch | main, master |
{{RUNTIME_VERSION}} |
Runtime version | Node 20, PHP 8.3, .NET 8, Python 3.12 |
{{REPO_URL}} |
Repository URL | https://github.com/org/repo |
{{SRC_DIR}} |
Source directory | src, app, lib |
{{TEST_DIR}} |
Test directory | tests, test, spec |
{{STYLING}} |
Styling solution | Tailwind, CSS Modules, SCSS |
{{NODE_VERSION}} |
Node.js version | 20, 22 |
{{LICENSE_TYPE}} |
License identifier | MIT, Apache-2.0, ISC |
{{SRC_STRUCTURE}} |
Source folder structure | components/, lib/, utils/ |
| Placeholder | Description | Example |
|---|---|---|
{{INSTALL_COMMAND}} |
Install dependencies | npm install, composer install, dotnet restore |
{{DEV_COMMAND}} |
Run dev server | npm run dev, php artisan serve, dotnet watch |
{{BUILD_COMMAND}} |
Build for production | npm run build, dotnet publish |
{{TEST_COMMAND}} |
Run tests | npm test, ./vendor/bin/phpunit, dotnet test |
{{LINT_COMMAND}} |
Run linting | npm run lint, ./vendor/bin/pint |
| Placeholder | Description | Example |
|---|---|---|
{{APP_NAME_1}} |
First app name | web, frontend |
{{APP_NAME_2}} |
Second app name | api, server |
{{APP_1_DESCRIPTION}} |
First app description | Web frontend |
{{APP_2_DESCRIPTION}} |
Second app description | API server |
{{APP_1_FRAMEWORK}} |
First app framework | Next.js, Vue |
{{APP_2_FRAMEWORK}} |
Second app framework | Express, Hono |
{{APP_1_DEV_PORT}} |
First app dev port | 3000 |
{{APP_2_DEV_PORT}} |
Second app dev port | 8787 |
{{PACKAGE_NAME_1}} |
First package name | ui, shared |
{{PACKAGE_NAME_2}} |
Second package name | utils, types |
{{PACKAGE_1_DESCRIPTION}} |
First package description | Shared UI components |
{{PACKAGE_2_DESCRIPTION}} |
Second package description | Utility functions |
{{BUILD_SYSTEM}} |
Monorepo build tool | Turborepo, Nx, MSBuild, Gradle, Cargo |
{{MONOREPO_CONFIG}} |
Config file name | turbo.json, nx.json, *.sln, settings.gradle.kts |
{{APP_DIR}} |
Apps directory | apps, src, services, Modules |
{{PACKAGES_DIR}} |
Packages directory | packages, libs, internal, pkg |
{{PACKAGE_SCOPE}} |
Package scope/namespace | @my-org, MyCompany, my_package |
{{PROJECT_STRUCTURE}} |
Full project structure | (Generated tree diagram) |
The bootstrap command supports the following language ecosystems:
| Ecosystem | Config Files | Frameworks | Monorepo Build Systems |
|---|---|---|---|
| JavaScript/TypeScript | package.json, tsconfig.json |
Next.js, Nuxt, React, Vue, Angular, Express, Hono, NestJS | Turborepo, Nx, Lerna, Yarn/pnpm |
| PHP | composer.json, artisan |
Laravel, Symfony, CodeIgniter, Slim | Laravel Modules, Symfony Flex |
| .NET (C#/F#) | *.csproj, *.sln |
Blazor, ASP.NET Core, MAUI, WPF | MSBuild, dotnet CLI |
| Python | pyproject.toml, requirements.txt |
Django, Flask, FastAPI, Starlette | uv, Poetry, Hatch, PDM |
| Ruby | Gemfile, *.gemspec |
Rails, Sinatra, Hanami | Packwerk (Shopify) |
| Go | go.mod, go.work |
Gin, Echo, Fiber, Chi | Go Workspaces |
| Rust | Cargo.toml |
Actix, Axum, Rocket, Warp | Cargo Workspaces |
| Java/Kotlin | pom.xml, build.gradle.kts |
Spring Boot, Quarkus, Micronaut | Gradle multi-project, Maven |
The primary context file for AI agents. Contains:
- Project overview and tech stack
- Directory structure
- Coding standards and patterns
- API patterns and examples
- Testing guidelines
Cursor IDE behavior rules:
coding-standards.mdc- Language and framework standardsproject-context.mdc- Project documentation requirementsversion-control.mdc- Git and commit conventionswhat-to-avoid.mdc- Anti-patterns and deprecated practicesapi-server.mdc- API server patternscomposition-api-component-structure.mdc- Vue Composition API patternscore-libraries.mdc- Core library usageenvironment-tooling.mdc- Environment and tooling configurationlogging-comments.mdc- Logging and code comment conventionsprisma-migrations.mdc- Prisma database migrationsserver-client-separation.mdc- Server/client code separationtesting-quality.mdc- Testing standards and qualityui-accessibility.mdc- UI and accessibility guidelines
Custom Cursor commands for workflows:
bootstrap.md- Start here! Analyze project and customize templatesspecify.md- Create feature specificationsplan.md- Generate implementation plansimplement.md- Execute implementation tasksreview.md- Code review workflowcommit-push.md- Git commit and push workflowconstitution.md- Project constitution and principlestasks.md- Task management workflow
Reusable prompts for GitHub Copilot:
bootstrap.prompt.md- Start here! Analyze project and customize templatescommit-push.prompt.md- Conventional commit workflowreview.prompt.md- Code review checklistreview-pr.prompt.md- Pull request reviewimplement-feature.prompt.md- Feature implementationimplement-fixes.prompt.md- Bug fix implementationspecify.prompt.md- Feature specificationplan.prompt.md- Implementation planningtasks.prompt.md- Task managementassign-tasks.prompt.md- Task assignment workflowplaywright-test.prompt.md- Playwright test generation
GitHub Copilot instruction files:
project-context.instructions.md- Architecture overviewpatterns.instructions.md- Coding patternsworkflows.instructions.md- Development workflowsdocumentation.instructions.md- Documentation standards for features and fixes
Documentation folders for tracking features and fixes:
docs/features/- Feature documentation with specs and plansdocs/fixes/- Fix documentation with monthly logs and complex fix foldersdocs/architecture/- Architecture Decision Records (ADRs)docs/api/- API specificationstemplates/- Reusable documentation templates
Monorepo Note: In monorepos, app-specific docs live in apps/{app}/docs/ and root docs/ is only for monorepo-wide concerns. See monorepo documentation.instructions.md for details.
Feature Documentation:
- Create folder:
docs/features/{{ISSUE_ID}}-FEATURE-NAME/ - Include
spec.md(functional specification) andplan.md(implementation plan) - Use
/specand/plancommands for automatic generation
Fix Documentation:
- Simple fixes: Add to monthly log
docs/fixes/{YYYY-MM}.md - Complex fixes: Create folder
docs/fixes/{{ISSUE_ID}}-FIX-NAME/with spec and plan - Use Keep a Changelog format
Decision Tree: Is fix complex (multi-file, architectural)? → Folder. Otherwise → Monthly log.
See documentation.instructions.md for comprehensive guidelines.
Enhance your AI agents with specialized capabilities using the Agent Skills open format. Skills are folders of instructions, scripts, and resources that agents can discover and use to perform tasks more accurately and efficiently.
| Resource | Description |
|---|---|
| agentskills.io | Official specification, documentation, and integration guides for the Agent Skills format |
| skills.sh | Community skills directory with leaderboard and one-command installation |
Skills use progressive disclosure to manage context efficiently:
- Discovery: Agents load only the name and description of each skill
- Activation: When a task matches a skill's description, the agent reads full instructions
- Execution: The agent follows instructions, loading referenced files or code as needed
At its core, a skill is a folder containing a SKILL.md file:
my-skill/
├── SKILL.md # Required: instructions + metadata
├── scripts/ # Optional: executable code
├── references/ # Optional: documentation
└── assets/ # Optional: templates, resources
Install skills from skills.sh using the -a or --agent flag to specify your AI agent:
# For a single agent
npx -y skills add -a cursor <owner/repo>
# For multiple agents (use multiple -a flags)
npx -y skills add -a cursor -a copilot <owner/repo>The skills CLI automatically detects which agents you have installed when you run any command. If you don't specify the -a flag, you'll be prompted to select from your detected agents.
Supported agents include:
- Cursor, GitHub Copilot, Windsurf, Cline, Continue, Aider, Zed, Roo Code, and 35+ more
- See full list of supported agents
# For GitHub Copilot only
npx -y skills add -a copilot <owner/repo>
# For Cursor only
npx -y skills add -a cursor <owner/repo>
# For Windsurf only
npx -y skills add -a windsurf <owner/repo>
# For Cline only
npx -y skills add -a cline <owner/repo>
# For both Cursor and GitHub Copilot
npx -y skills add -a cursor -a copilot <owner/repo>Important: Always specify the agent(s) explicitly using -a <agent-name> to install only for the agents you actively use. You can specify multiple agents using multiple -a flags. This prevents creating unnecessary configurations for unused agents.
Skills are installed to {.cursor|.agents|.github}/skills/ and automatically available to your selected AI agent(s).
This toolkit includes 16 pre-installed universal skills in the .agents/skills/ folder. These skills are copied automatically when you set up your project and require no additional installation.
| Skill | Description |
|---|---|
| test-driven-development | TDD practices with red-green-refactor workflow. Write failing test first, then minimal code to pass. |
| systematic-debugging | Structured debugging methodology. Find root cause before attempting fixes—no guessing. |
| verification-before-completion | Quality checks before claiming work is done. Evidence before assertions, always. |
| writing-plans | Creating clear implementation plans before coding. |
| executing-plans | Following through on implementation plans systematically. |
| requesting-code-review | Best practices for requesting code reviews from teammates. |
| receiving-code-review | Responding constructively to review feedback. |
| brainstorming | Structured ideation and problem-solving sessions. |
| writing-skills | Creating effective SKILL.md files for custom skills. |
| using-superpowers | Meta-skill for leveraging the full skill system. |
| using-git-worktrees | Git worktree workflows for parallel development. |
| dispatching-parallel-agents | Coordinating multiple AI agents on related tasks. |
| subagent-driven-development | Breaking complex tasks into subagent-manageable chunks. |
| finishing-a-development-branch | Completing and merging development branches cleanly. |
| logging | Structured logging standards, log levels, and observability patterns. |
| project-documentation | README files, code comments, ADRs, and changelog best practices. |
These skills are ready to use immediately after copying the templates. No npx -y skills add -a <agent> commands needed.
Beyond the bundled skills, these additional skills complement this toolkit for specific use cases:
Note: All install commands in the tables below should include the -a <agent> flag to specify your AI agent. For example:
npx -y skills add -a copilot obra/superpowers(for GitHub Copilot only)npx -y skills add -a cursor obra/superpowers(for Cursor only)npx -y skills add -a cursor -a copilot obra/superpowers(for both Cursor and GitHub Copilot)
Tip: If you omit the -a flag, the CLI will automatically detect your installed agents and prompt you to choose.
If you want the original obra/superpowers skills (which the bundled skills are derived from), or additional workflow skills:
| Skill | Install Command | Description |
|---|---|---|
| Full Superpowers Suite | npx -y skills add obra/superpowers |
All workflow skills from the original source |
| Skill | Install Command | Description |
|---|---|---|
| Semgrep | npx -y skills add trailofbits/skills |
Static analysis patterns |
| Property-Based Testing | npx -y skills add trailofbits/skills |
Testing with property-based approaches |
| Code Review | npx -y skills add skillcreatorai/Ai-Agent-Skills |
Comprehensive code review guidance |
| Logging Best Practices | npx -y skills add boristane/agent-skills |
Structured logging patterns |
| Skill | Install Command | Description |
|---|---|---|
| Vercel React Best Practices | npx -y skills add vercel-labs/agent-skills |
React patterns and optimization |
| Web Design Guidelines | npx -y skills add vercel-labs/agent-skills |
UI/UX design principles |
| Frontend Design | npx -y skills add anthropics/skills |
General frontend patterns |
| TailwindCSS Setup | npx -y skills add expo/skills |
Tailwind configuration |
| Skill | Install Command | Description |
|---|---|---|
| Vue | npx -y skills add onmax/nuxt-skills |
Vue.js best practices |
| Nuxt | npx -y skills add onmax/nuxt-skills |
Nuxt framework patterns |
| Nuxt UI | npx -y skills add onmax/nuxt-skills |
Nuxt UI component library |
| Better Auth | npx -y skills add better-auth/skills |
Authentication patterns |
| Expo | npx -y skills add expo/skills |
React Native with Expo |
| NestJS | npx -y skills add Kadajett/agent-nestjs-skills |
NestJS backend patterns |
| Elysia.js | npx -y skills add elysiajs/skills |
Elysia.js API patterns |
| Three.js | npx -y skills add CloudAI-X/threejs-skills |
Three.js 3D graphics |
| Remotion | npx -y skills add remotion-dev/skills |
Remotion video creation |
| Convex | npx -y skills add waynesutton/convexskills |
Convex backend patterns |
| TanStack | npx -y skills add jezweb/claude-skills |
TanStack Query patterns |
| SwiftUI | npx -y skills add Dimillian/Skills |
SwiftUI iOS patterns |
| Obsidian | npx -y skills add kepano/obsidian-skills |
Obsidian note-taking |
| shadcn/ui | npx -y skills add giuseppe-trisciuoglio/developer-kit |
shadcn/ui components |
| Stripe | npx -y skills add anthropics/claude-plugins-official |
Stripe integration |
| Language/Framework | Install Command | Included Skills |
|---|---|---|
| PHP | npx -y skills add vapvarun/claude-backup --skill "php" |
PHP best practices |
| Laravel | npx -y skills add vapvarun/claude-backup --skill "laravel" |
Laravel patterns |
| Python | npx -y skills add siviter-xyz/dot-agent --skill "python" |
Python best practices |
| Django | npx -y skills add vintasoftware/django-ai-plugins --skill "django-expert" |
Django patterns |
| Next.js | npx -y skills add sickn33/antigravity-awesome-skills --skill "nextjs-best-practices" |
Next.js best practices |
| React | npx -y skills add vercel-labs/agent-skills --skill "vercel-react-best-practices" |
React + Vercel patterns |
| Vue | npx -y skills add onmax/nuxt-skills --skill "vue" |
Vue.js best practices |
| Nuxt | npx -y skills add onmax/nuxt-skills --skill "nuxt" |
Nuxt patterns |
| Expo | npx -y skills add expo/skills |
Expo/React Native |
| TypeScript | npx -y skills add pproenca/dot-skills |
TypeScript best practices |
| Advanced Types | npx -y skills add wshobson/agents |
TypeScript advanced type patterns |
Note: For frameworks without dedicated skills, use npx -y skills add -a <agent> anthropics/skills which includes skill-creator to help you create custom skills. Remember to replace <agent> with your AI agent name (e.g., copilot, cursor, windsurf, cline).
| Skill | Install Command | Description |
|---|---|---|
| Crafting Effective READMEs | npx -y skills add softaworks/agent-toolkit |
README writing guidance |
| Writing Clearly and Concisely | npx -y skills add softaworks/agent-toolkit |
Clear technical writing |
| Doc Coauthoring | npx -y skills add anthropics/skills |
Collaborative documentation |
After bootstrapping your project with this toolkit:
- Identify your tech stack - Review your framework and tooling
- Install relevant skills - Add skills that match your technologies using
-a <agent>flags - Add custom skills - Create project-specific skills as needed
Example for a Nuxt + Hono monorepo:
# Note: Development workflow skills (TDD, debugging, planning, etc.)
# are already bundled in .agents/skills/ - no installation needed!
# For Cursor only
npx -y skills add -a cursor onmax/nuxt-skills
npx -y skills add -a cursor vercel-labs/agent-skills
npx -y skills add -a cursor better-auth/skills
npx -y skills add -a cursor trailofbits/skills
# Or, for multiple agents (e.g., Cursor + GitHub Copilot)
npx -y skills add -a cursor -a copilot onmax/nuxt-skills
npx -y skills add -a cursor -a copilot vercel-labs/agent-skills
npx -y skills add -a cursor -a copilot better-auth/skills
npx -y skills add -a cursor -a copilot trailofbits/skillsYou can create project-specific skills following:
- Official Specification - Complete format specification for SKILL.md files
- Authoring Best Practices - Guidelines for writing effective skills
- Skill Creator on skills.sh - Community examples and templates
A minimal SKILL.md requires only name and description in YAML frontmatter:
---
name: my-custom-skill
description: When to use this skill and what it does.
---
# My Custom Skill
## When to use this skill
Use this skill when the user needs to...
## Instructions
1. Step one...
2. Step two...Custom skills are useful for:
- Organization-specific coding standards
- Internal library documentation
- Domain-specific patterns
- Team workflow procedures
After copying templates and installing additional skills, your project will have:
.agents/ # Bundled universal skills (from this toolkit)
└── skills/
├── test-driven-development/
│ └── SKILL.md
├── systematic-debugging/
│ └── SKILL.md
├── verification-before-completion/
│ └── SKILL.md
└── ... (14 skills total)
.cursor/ # or .github/ for GitHub Copilot
├── rules/ # IDE behavior rules (from this toolkit)
├── commands/ # Custom commands (from this toolkit)
└── skills/ # Additional skills from skills.sh
├── nuxt-skills/ # From onmax/nuxt-skills
│ └── SKILL.md
├── agent-skills/ # From vercel-labs/agent-skills
│ └── SKILL.md
└── {skill-name}/ # Each installed skill gets its own folder
└── SKILL.md
Skill Locations:
| Location | Contents | Source |
|---|---|---|
.agents/skills/ |
Universal workflow skills (TDD, debugging, planning, etc.) | Bundled with this toolkit |
.cursor/skills/ |
Framework/language-specific skills | Installed via npx -y skills add -a <agent> |
.github/skills/ |
Alternative location for GitHub Copilot | Installed via npx -y skills add -a <agent> |
Note: Skills installed via npx -y skills add -a <agent> use the skill name as the folder name (not org/repo path). For example, npx -y skills add -a cursor obra/superpowers installs to .cursor/skills/superpowers/.
Recommendation: Only install skills for agents you have installed and actively use. Symlinking to all known agents creates unnecessary configuration files and can clutter your project.
Note: Skills complement the templates in this toolkit. The templates provide project structure and conventions, while skills provide procedural knowledge for specific technologies.
- Fork this repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - See LICENSE for details.