three-horizons-accelerator
Copilot instructions2 starsChanged 10 months agoMITView on GitHub
This is the Three Horizons Accelerator v4.0.0 - an enterprise-grade platform accelerator for Azure with AI capabilities. The platform is organized into three horizons: Option A — Agent-guided: Option B — Automated script: Option C — Manual: The platform uses 11 Copilot Chat Agents in .github/agents/ for interactive development assistance, plus 18 skills for specialized CLI operations. There are also 16 Terraform modules, 22 Golden Path templates, and 28 Issue templates.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-foundry-operationsSkill
- argocd-cliSkill
- aro-deploymentSkill
- azure-cliSkill
- azure-infrastructureSkill
- database-managementSkill
- deploy-orchestrationSkill
- github-cliSkill
- helm-cliSkill
- kubectl-cliSkill
- mcp-cliSkill
- observability-stackSkill
- oc-cliSkill
- openshift-operationsSkill
- prerequisitesSkill
- rhdh-portalSkill
- terraform-cliSkill
- validation-scriptsSkill
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
23 rules. About 0 are common, 22 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Always specify provider versions
- Distinctive: line 25
Use modules for reusable components
- Distinctive: line 27
Use Workload Identity (never service principal secrets)
- Distinctive: line 31
Use Kustomize for environment overlays
- Distinctive: line 32
Always set resource limits and requests
- Distinctive: line 33
Run containers as non-root
- Distinctive: line 36
Use standard Kubernetes labels (app.kubernetes.io/*)
- Distinctive: line 40
Use FastAPI for APIs
- Distinctive: line 41
Use Pydantic for validation
- Distinctive: line 42
Use structlog for logging
- Distinctive: line 43
Follow PEP 8 style guidelines
- Distinctive: line 46
Use bash with strict mode (set -euo pipefail)
- Distinctive: line 49
Use meaningful variable names
- Distinctive: line 69
Authentication: Always use Workload Identity or Managed Identity
- Distinctive: line 71
Network: Use private endpoints, configure NSGs
- Distinctive: line 72
Scanning: Run security scans in CI/CD (Trivy, tfsec, gitleaks)
- Distinctive: line 73
RBAC: Follow least privilege principle
- Distinctive: line 132
@test: Test generation, validation, quality assurance
- Distinctive: line 140
When generating code for agents:
- Very specific: line 141
Follow the agent specification format in .github/agents/
- Distinctive: line 149
When creating or modifying Golden Path templates:
- Distinctive: line 150
Follow Backstage template format
- Distinctive: line 153
Test scaffolding locally before registering
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Instructions for Three Horizons Accelerator
Project Overview
This is the Three Horizons Accelerator v4.0.0 - an enterprise-grade platform accelerator for Azure with AI capabilities. The platform is organized into three horizons:
- H1 Foundation: Core infrastructure (AKS/ARO, networking, security, databases)
- H2 Enhancement: Platform services (ArgoCD, RHDH, observability, Golden Paths)
- H3 Innovation: AI capabilities (AI Foundry, agents, MLOps)
Technology Stack
- Infrastructure: Terraform for Azure (AKS, ARO, networking, databases)
- Container Platform: Azure Kubernetes Service (AKS) or Azure Red Hat OpenShift (ARO)
- GitOps: ArgoCD for continuous deployment
- IDP: Red Hat Developer Hub (Backstage-based)
- Observability: Prometheus, Grafana, Alertmanager, Loki
- AI: Azure AI Foundry, OpenAI models
Code Standards
Terraform
- Use Terraform 1.5+
- Always specify provider versions
- Use modules for reusable components
- Tag all resources with: environment, project, owner, cost-center
- Use Workload Identity (never service principal secrets)
- Enable private endpoints for all PaaS services
Kubernetes
- Use Kustomize for environment overlays
- Always set resource limits and requests
- Run containers as non-root
- Configure liveness and readiness probes
- Apply network policies
- Use standard Kubernetes labels (app.kubernetes.io/*)
Python
- Use Python 3.11+
- Use FastAPI for APIs
- Use Pydantic for validation
- Use structlog for logging
- Follow PEP 8 style guidelines
Shell Scripts
- Use bash with strict mode (set -euo pipefail)
- Include usage instructions
- Validate inputs
- Use meaningful variable names
File Locations
| Component | Location |
| Terraform modules | terraform/modules/ |
| Environment configs | terraform/environments/ |
| Kubernetes manifests | deploy/kubernetes/ |
| Helm values | deploy/helm/ |
| Golden Path templates | golden-paths/ |
| Agent specifications | .github/agents/ |
| Agent skills | .github/skills/ |
| Automation scripts | scripts/ |
| Documentation | docs/ |
| Prompt files | .github/prompts/ |
| Instructions | .github/instructions/ |
Security Requirements
- Authentication: Always use Workload Identity or Managed Identity
- Secrets: Store in Azure Key Vault, never in code
- Network: Use private endpoints, configure NSGs
- Scanning: Run security scans in CI/CD (Trivy, tfsec, gitleaks)
- RBAC: Follow least privilege principle
Naming Conventions
- Resources:
{project}-{environment}-{resource}-{region} - Terraform: snake_case for variables, resources
- Kubernetes: kebab-case for names, labels
- Files: kebab-case for filenames
Common Tasks
Creating a new module
./scripts/create-module.sh <module-name>Deploying the platform (3 options)
Option A — Agent-guided:
@deploy Deploy the platform to dev environmentOption B — Automated script:
./scripts/deploy-full.sh --environment dev --dry-run
./scripts/deploy-full.sh --environment devOption C — Manual:
cd terraform
terraform init
terraform plan -var-file=environments/dev.tfvars
terraform apply -var-file=environments/dev.tfvarsRunning validation
./scripts/validate-prerequisites.sh
./scripts/validate-config.sh --environment dev
./scripts/validate-deployment.sh --environment devAgent System
The platform uses 11 Copilot Chat Agents in .github/agents/ for interactive development assistance, plus 18 skills for specialized CLI operations. There are also 16 Terraform modules, 22 Golden Path templates, and 28 Issue templates.
Agent Organization
- @deploy: Deployment orchestration, end-to-end platform deployment
- @architect: System architecture, AI Foundry, multi-agent design
- @devops: CI/CD, GitOps, MLOps, Golden Paths, pipelines
- @docs: Documentation generation and maintenance
- @onboarding: New team member onboarding and guidance
- @platform: RHDH portal, platform services, developer experience
- @reviewer: Code review, PR analysis, quality checks
- @security: Security policies, scanning, compliance
- @sre: Reliability engineering, incident response, monitoring
- @terraform: Infrastructure as Code, Terraform modules
- @test: Test generation, validation, quality assurance
Skills Available
Agents can use skills from .github/skills/ including: terraform-cli, kubectl-cli, azure-cli, argocd-cli, helm-cli, github-cli, oc-cli, validation-scripts, and more.
Agent Handoffs
Agents support handoffs for workflow orchestration. Example: @terraform -> @devops -> @security -> @test
When generating code for agents:
- Follow the agent specification format in
.github/agents/ - Include proper YAML frontmatter with
tools,infer,skills,handoffs - Define three-tier boundaries: ALWAYS / ASK FIRST / NEVER
- Reference skills for CLI operations
- Include clarifying questions before proceeding
Golden Paths
When creating or modifying Golden Path templates:
- Follow Backstage template format
- Include skeleton files
- Add comprehensive documentation
- Test scaffolding locally before registering
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

