Glide Coding Standards
Battle-tested patterns for governed AI development. Community-driven. Free to use. Ready to enforce.
Standard Categories
AI Assistant Configuration
CLAUDE.md templates, agent configuration patterns, context management, prompt engineering.
API Design
RESTful patterns, versioning, error responses, rate limiting, documentation.
Cost Optimization
ARM64 migration, pay-per-use defaults, right-sizing, cost analysis gates.
Development Principles
Code organization, naming conventions, error handling, logging patterns.
Testing Principles
Unit testing patterns, integration tests, mocking strategies, coverage requirements.
Agent Memory
Tiered memory systems, context management, hot/warm/cold transitions, vector optimization.
Serverless Patterns
Lambda best practices, API Gateway configuration, SAM templates, connection patterns.
AWS Well-Architected
Six pillars coverage: operational excellence, security, reliability, performance, cost, sustainability.
Sample Standards
A few examples from the library
Never fetch SSM parameters at Lambda runtime Serverless Cost
Use environment variables with SAM template resolution instead. Runtime SSM calls cost $25/month per million invocations and add latency.
Never use connection pools in Lambda Serverless Database
Lambda handles one request at a time. Use a single cached client that reconnects on error. Pools waste memory and connections.
Never use DefaultAuthorizer in API Gateway Security CORS
DefaultAuthorizer applies to ALL methods including OPTIONS preflight. This breaks CORS. Use explicit per-function Auth properties.
Agent permissions must be task-scoped and time-limited Agent Security
Never inherit full user permissions. Each agent task gets a capability token specifying exactly what it can access and for how long.
Contribute Standards
These standards are community-driven. If you've learned a pattern the hard way, share it so others don't have to.
All contributions are reviewed, tested, and refined before inclusion. Your name goes in the commit history. The community benefits forever.
Contribution Guide-
1
Fork the Repository
Create your own copy to work on
-
2
Add Your Standard
Follow the template format in /templates
-
3
Include Evidence
Why does this matter? What happens if ignored?
-
4
Submit PR
We'll review, discuss, and merge
Open Source License
All standards are released under the MIT License. Use them in any project—commercial or open source. No restrictions. No attribution required.