Create AI editor context files (.cursorrules, CLAUDE.md, GitHub Copilot instructions) that give AI coding tools deep knowledge of a project's API, conventions, and patterns. Use when someone wants their documentation project to work well with Cursor, Claude Code, GitHub Copilot, or other AI coding assistants. Also use when setting up developer experience for AI tools, creating project context files, or making a codebase more AI-assistant-friendly.
100
100%
Does it follow best practices?
Impact
100%
1.02xAverage score across 3 eval scenarios
Passed
No known issues
Scaffolds AI editor context files that give coding AI assistants deep, accurate knowledge of a project.
Load
assets/prompt-template.mdfor the recommended content structure template.
| Tool | File | Location |
|---|---|---|
| Cursor | .cursorrules | Project root |
| Claude Code | CLAUDE.md | Project root or .claude/ |
| GitHub Copilot | copilot-instructions.md | .github/ |
| Cline/Roo | .clinerules | Project root |
| Windsurf | .windsurfrules | Project root |
Content is identical across files — the filename determines which tool reads it. Always create at least CLAUDE.md + .cursorrules for maximum coverage.
Read the following to gather context:
Use assets/prompt-template.md as the structural template — fill in every section with project-specific content discovered in Step 1.
The goal: an AI assistant that has only read this file should accurately answer any question a new developer would ask on day 1:
Required sections: Project Overview, Tech Stack, Repository Structure, Content Architecture, Coding Conventions, Common Tasks, Important Files, Do Not. Add API / Integration Patterns if the project documents an API.
Concrete example — a good Project Overview section:
## Project Overview
ShipEdge provides warehouse and order management tools for 3PLs and enterprise e-commerce.
This documentation covers the WMS, OMS, and Returns modules.
**Type:** API Reference + Product Docs
**Audience:** Developers and warehouse operatorsPrimary: Create CLAUDE.md at project root (works for Claude Code and is human-readable):
{project_root}/CLAUDE.mdSecondary: Create .cursorrules at project root (works for Cursor):
{project_root}/.cursorrulesBoth files should have the same content. The .cursorrules file may use slightly more terse language since Cursor treats it as a system prompt.
Optional: If the project uses GitHub, also create:
{project_root}/.github/copilot-instructions.mdFor maximum discoverability, add a section to the docs (or README) pointing to these files:
## AI Coding Tools
Context files for AI-assisted development are available:
- [CLAUDE.md](./CLAUDE.md) — for Claude Code
- [.cursorrules](./.cursorrules) — for CursorIf the project has a "Getting Started for Developers" page, add a note there.
Tell the user:
A good AI context file passes this test: An AI assistant that has only read this file should be able to accurately answer questions a new developer would ask on day 1.
Test questions:
658c481
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.