jknavigate Enteropen Ctrl+dCtrl+uscroll ggscroll top Gscroll bottom

Organization

Where you store AI-related files affects how well tools can find and use them.

The Problem

Different AI tools look for configuration in different places. Claude Code looks for CLAUDE.md. Cursor has its own config. Copilot expects certain patterns. If you scatter prompts and instructions across tool-specific locations, you end up duplicating content and maintaining multiple copies.

A Vendor-Agnostic Approach

Store reusable prompts and instructions in a vendor-agnostic .ai folder. Then create symlinks for each tool you actually use.

.ai/
  prompts/
    code-review.md
    commit-message.md
  context/
    architecture.md
    conventions.md

.claude/
  CLAUDE.md -> ../.ai/context/conventions.md

The .ai folder holds the source of truth. Tool-specific folders just point to it.

Plans and Context

For project plans and longer-term context, consider where files should live:

Some teams keep a top-level plans/ folder in their projects directory for cross-project planning, with subfolders per project.

Namespacing

When you accumulate many prompts, naming conventions help you find them. Prefix related prompts with a namespace:

When tools list prompts alphabetically—or when you’re browsing a folder—everything in the same namespace groups together. You immediately see all your context-seeding commands or all your skill-related prompts.

This matters especially when running tools that don’t auto-load skills, or when you want to explicitly invoke them. A consistent naming scheme turns a pile of prompts into an organized system.

The Pattern

Centralize AI instructions in a vendor-agnostic location. Use symlinks to expose them to specific tools. Namespace prompts so related commands cluster together. Keep plans where they make sense for your workflow.