claude-code/skills/ai-prompt-files/SKILL.md
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.
npx skillsauth add kubical-ai/aeo-geo-optimization ai-prompt-filesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 operators
Primary: Create CLAUDE.md at project root (works for Claude Code and is human-readable):
{project_root}/CLAUDE.md
Secondary: Create .cursorrules at project root (works for Cursor):
{project_root}/.cursorrules
Both 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.md
For 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 Cursor
If 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:
documentation
Create llms.txt and llms-full.txt files following the llmstxt.org spec. Use when setting up AI discoverability files for a docs site.
tools
Create AI editor context files (.cursorrules, CLAUDE.md, Copilot instructions) for a project. Use when setting up AI coding tool integration.
development
Submit your site to llms.txt directories and build backlinks from AI-indexed sources. Use to improve visibility in AI search results.
testing
Audit and optimize a docs site for AI citation. Scans 29 AEO/GEO signals, plans fixes, and implements them with approval at each step.