| version | v0.1.1 | |
|---|---|---|
| last_updated | 2026-05-29 | |
| title | Architecture Guide | |
| owners |
|
|
| file_type | documentation | |
| description | System architecture and design overview of the .github community health repository |
The .github repository serves as the organization-wide control plane for governance, automation, and standards across all LightSpeedWP projects.
.github/
├── workflows/ # GitHub Actions workflows
├── ISSUE_TEMPLATE/ # Issue templates
├── PULL_REQUEST_TEMPLATE/
├── SAVED_REPLIES/ # Canned responses
├── instructions/ # Repository-local instructions
└── projects/ # Active and archived projects
agents/ # Portable agent specifications
cookbook/ # Recipes and playbooks
hooks/ # Portable hooks and guardrails
instructions/ # Organization-wide instructions
plugins/ # Installable plugin bundles
skills/ # Self-contained skills
workflows/ # Portable agentic workflows
docs/ # Documentation
- GitHub Native (
.github/): Issues, PRs, workflows, templates - Portable Assets (top-level folders): Reusable across organization
- Documentation (
docs/): User-facing guides and references
GitHub Event (issue, PR, push)
→ GitHub Actions Workflow
→ Agent Processing (validation, labeling, etc.)
→ Policy Enforcement
→ Automated Actions (labels, comments, status)
Issue Created
→ Auto-labeled by labeler workflow
→ Checked against templates
→ Routed to appropriate team
→ Status tracked and monitored
→ Closed with documentation
Feature Complete
→ PR Created
→ Automated Checks (tests, linting, security)
→ Code Review
→ Merge to Main
→ Release Workflow Triggered
→ Release Created
→ Announced
- Labeling Workflow: Applies labels based on content analysis
- Release Workflow: Manages versioning and releases
- Validation Workflow: Checks code quality and standards
- Metrics Workflow: Gathers organization-wide metrics
- Coding Standards: Language and framework-specific standards
- Accessibility (A11y): WCAG 2.2 AA compliance
- Community Standards: Code of conduct and contribution guidelines
- Documentation Formats: Markdown, YAML, Mermaid standards
- Pull Requests: PR creation and review standards
- Issues: Issue creation and triage standards
- Issue Templates: Bug reports, features, documentation, support
- PR Templates: Standard PR structure and checklist
- Discussion Templates: For GitHub Discussions
- Saved Replies: Pre-written responses for common scenarios
- Labeling Agent: Applies organization labels
- Release Agent: Manages releases and versioning
- Metrics Agent: Gathers and reports metrics
- Review Agent: Automated code review
- Planning Agent: Task breakdown and estimation
- GitHub API for issue/PR manipulation
- Workflow data for metrics
- Git history for analysis
- External APIs for integrations
- Issue created → labeling workflow
- PR opened → checks workflow
- Push to main → release candidate evaluation
- Daily: Metrics collection
- Weekly: Governance sync
- Monthly: Dependency updates
- Release workflows (triggered by PR or tag)
- Manual project sync
- Metrics reports
- No secrets stored in repository
- All credentials in GitHub organization secrets
- Encrypted data at rest
- Audit logging for all automation
- Code review required for workflow changes
- Workflows use job matrices for parallel execution
- Caching for dependency management
- Batch processing for large datasets
- Incremental metrics collection
- Multi-repository webhook coordination
- Cross-organization issue linking
- Advanced analytics and reporting
- ML-based issue classification
- Automated dependency management
Built by 🧱 LightSpeedWP with ☕, 🚀, and open-source spirit!