Thank you for your interest in contributing! This document provides guidelines for contributing to this repository.
- Code of Conduct
- How to Contribute
- Standard Template
- Code Guidelines
- Documentation Standards
- Review Process
This project adheres to a code of conduct. By participating, you agree to uphold:
- Respectful communication
- Constructive feedback
- Focus on technical merit
- Inclusive language
We strive to continuously improve these standards based on your feedback. Found a bug or have a suggestion?
- Check existing issues
- Propose changes via RFC process
- If new, create an issue with:
- Clear title
- Detailed description
- Steps to reproduce (for bugs)
- Expected vs. actual behavior
- Share success stories or challenges in #engineering-playbook
Proposing a new standard?
- Open an issue with
[New Standard]prefix - Include:
- Problem it solves
- Proposed architecture
- Similar existing solutions
- Why this standard is needed
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-standard-name- Make your changes
- Test thoroughly
- Commit with clear messages:
git commit -m "feat: Add Kubernetes autoscaling standard"- Push to your fork
- Create a Pull Request
Every new standard must follow this structure:
standards/your-standard-name/
├── README.md # Main documentation
├── architecture/
│ ├── blueprint.png # Architecture diagram
│ └── decision-tree.md # When to use
├── examples/
│ ├── aws/ # AWS implementation
│ ├── azure/ # Azure implementation
│ └── gcp/ # GCP implementation (optional)
├── docs/
│ ├── for-executives.md # Non-technical guide
│ ├── troubleshooting.md # Common issues
│ └── metrics.md # Success metrics
└── tests/
└── validation-tests.sh # Automated tests
# [Standard Name]
> **North Star**: "[One-sentence goal]"
## Overview
[2-3 paragraph overview]
## 📁 Directory Structure
[Show directory tree]
## 🎯 Key Principles
[3-5 core principles]
## 🏗️ Why these Standards Matter
[Architecture diagram and explanation]
## 🏗️ When to Use These Standards
[Architecture diagram and explanation]
## 🏗️ Architecture
[Architecture diagram and explanation]
## 🚀 Quick Start
[Copy-paste commands to get started]
## 📊 Metrics
[How to measure success]
## 💼 For Executives
[Business-friendly summary]
## 🐛 Troubleshooting
[Common issues table]
## 📚 Additional Resources
[External links]# Use type hints
def process_event(event: Dict[str, Any]) -> bool:
"""
Process incoming event.
Args:
event: Event dictionary containing data
Returns:
True if successful, False otherwise
"""
pass
# Follow PEP 8
# Use meaningful variable names
# Add docstrings to all functions
# Include error handling# Use consistent naming
resource "aws_instance" "web_server" {
ami = var.ami_id
instance_type = var.instance_type
tags = {
Name = "web-server"
Environment = var.environment
ManagedBy = "terraform"
}
}
# Add comments for complex logic
# Use variables for configurable values
# Include outputs# Use 2-space indentation
# Include comments for clarity
name: CI/CD Pipeline
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3- Use mermaid (preferred) or draw.io or Lucidchart
- Export as PNG (1920x1080 recommended)
- Include legend
- Use consistent colors/shapes
- Save source file (
.drawioor.lucidchart)
Format:
# [Standard Name] for Executives
## What It Is
[Plain English explanation]
## Why It Matters
[Business impact]
## Cost & ROI
[Investment and returns]
## Risks
[What happens without this]
## Success Metrics
[How we measure]- Explain why, not what
- Add context for complex logic
- Reference tickets/issues where relevant
- Keep comments up-to-date with code
Before submitting:
- Follows standard template
- Includes architecture diagram
- Has production-ready code examples
- Multi-cloud examples (if applicable)
- Executive guide included
- Tests pass locally
- Documentation complete
- No secrets in code
- CHANGELOG.md updated
Pull requests are reviewed for:
- Technical Accuracy: Does it work as described?
- Completeness: Are all sections filled?
- Code Quality: Follows best practices?
- Documentation: Clear and comprehensive?
- Business Value: Explains "why" for non-technical audiences?
- Initial review: Within 3 business days
- Follow-up: Within 2 business days of changes
- Merge: After 2 approving reviews
- General questions: Open a discussion
- Bug reports: Open an issue
- Security issues: Email security@your-org.com
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing! 🙏