Final guide to create an AI-Optimized Editor Setup
A comprehensive guide on setting up and using prompts effectively in various AI-assisted coding editors.
AGENTS.md
- Create
AGENTS.mdin root of your project. - Symlink
AGENTS.mdtoCLAUDE.mdfor claude code support
ln -s AGENTS.md CLAUDE.md
This will now support most of the editors and Claude Code also.
Slash Commands & Custom Agents
- Create slash commands or custom agents under
.ai/agents/<name>.md. This will be your slash command or custom agent for VS Code. - Use symlink to add support for all editors & Claude Code.
mkdir -p .github && ln -s ../.ai/commands .github/agents
mkdir -p .cursor && ln -s ../.ai/commands .cursor/commands
mkdir -p .claude && ln -s ../.ai/commands .claude/commands
Rules
- Store rules under
.ai/rules/<name>.instructions.md - Cursor support via symlink
ln -s ../.ai/rules .cursor/rules
- Copilot support by adding this setting in
.vscode/settings.json
{
"chat.instructionsFilesLocations": {
".ai/rules": true
},
}
Copilot calls it instructions and requires files to have
.instructions.md suffixClaude Code doesn't support rules
The Ultimate Guide To Naming Conventions For Pydantic Schemas In FastAPI
A comprehensive guide to establishing clear and scalable naming conventions for Pydantic schemas in FastAPI applications.
Underscore Use Cases in Python
A comprehensive guide on the various use cases of underscores in Python, including conventions for private variables, throwaway variables, and more.