AI Application Conventions

•
1
•

Enforces best practices for building AI-powered tools, managing Claude API usage, and securing MCP servers.

This skill provides a comprehensive set of non-negotiable rules and patterns for developing internal applications that integrate with the Claude API or utilize the Model Context Protocol (MCP). It helps developers manage operational costs through token capping and usage tracking, ensures application security by preventing client-side API leaks and prompt injection, and offers a clear model selection guide to optimize performance and budget. By standardizing prompt engineering and error handling, it enables teams to build robust, scalable, and secure AI features while maintaining high code quality and cost-efficiency.

Key Features

01Automated cost management through enforced token limits and usage tracking
02Standardized patterns for organizing prompts in separate, version-controlled files
03Strategic model selection guidance for Haiku, Sonnet, and Opus variants
041 GitHub stars
05Resilient error handling frameworks for stable AI service integration
06Security protocols for API key protection and prompt injection prevention

Use Cases

01Optimizing AI operational costs and monitoring token consumption across projects
02Building secure internal tools that interact with Anthropic's Claude API
03Developing and deploying custom Model Context Protocol (MCP) servers