apex-golden-principles
Skill216 starsChanged 2 months agoMITView on GitHub
**ANALYSIS SKILL** — The agent-first operating principles governing how agents work in this repository. WHEN: "golden principles", "agent behavior rules", "operating philosophy", "principle lookup", "governance invariants". USE FOR: agent behavior rules, operating philosophy, principle lookup, governance invariants. DO NOT USE FOR: Azure infrastructure, code generation, troubleshooting, diagram creation.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- apex-agent-authoringSkill
- apex-azure-adrSkill
- apex-azure-artifactsSkill
- apex-azure-bicep-patternsSkill
- apex-azure-cloud-migrateSkill
- apex-azure-complianceSkill
- apex-azure-computeSkill
- apex-azure-cost-optimizationSkill
- apex-azure-defaultsSkill
- apex-azure-deploySkill
- apex-azure-diagnosticsSkill
- apex-azure-governance-discoverySkill
- apex-azure-kubernetesSkill
- apex-azure-kustoSkill
- apex-azure-prepareSkill
- apex-azure-quotasSkill
- apex-azure-rbacSkill
- apex-azure-reliabilitySkill
- apex-azure-resourcesSkill
- apex-azure-storageSkill
- apex-azure-upgradeSkill
- apex-azure-validateSkill
- apex-context-managementSkill
- apex-entra-app-registrationSkill
- apex-github-operationsSkill
- apex-host-debug-log-exportSkill
- apex-host-git-commitSkill
- apex-host-workflow-startSkill
- apex-iac-commonSkill
- apex-mermaidSkill
- apex-microsoft-docsSkill
- apex-python-diagramsSkill
- apex-terraform-patternsSkill
- apex-terraform-search-importSkill
- apex-terraform-testSkill
- apex-unslopSkill
- apex-vendor-promptingSkill
- apex-workflow-engineSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Read the canonical principles: before applying this decision framework
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Golden Principles
These principles govern how every agent operates in this repository. They are adapted from the Harness Engineering philosophy for agent-driven infrastructure development.
Rules
The canonical rules and preservation map live in Principle Details. This index is a summary, not a competing policy source.
- Repository Is the System of Record — all context lives in-repo
- Map, Not Manual — instructions point to deeper sources
- Enforce Invariants, Not Implementations — set boundaries, allow autonomous expression
- Parse at Boundaries — validate inputs and outputs at module edges
- AVM-First, Security Baseline Always — prefer Azure Verified Modules + non-negotiable security baseline
- Golden Path Pattern — prefer shared utilities over hand-rolled helpers
- Human Taste Gets Encoded — turn reviewed feedback into durable guidance
- Context Is Scarce — reuse current context and recover missing required evidence
- Progressive Disclosure — load detail when needed without hiding essential rules
- Mechanical Enforcement Over Documentation — validate deterministic invariants
- Composable Workflows — bounded steps with explicit ownership and prerequisites
- Human Approval at Critical Gates — approvals remain evidence-bound and human-controlled
- Adversarial Review — independent review follows the current graph and role contracts
- Continuous Lessons — capture process observations and feed them back into the system
Steps
Applying the principles to a new agent or skill:
- Read the canonical principles before applying this decision framework
- For each design decision, ask which principles apply (typically 2–3 will dominate)
- Run the per-principle test listed in Principle Details
- Where a principle conflicts with an implementation choice, change the implementation — principles are non-negotiable
- Document proposed deviations in an ADR; an ADR does not authorize relaxing safety or approval gates
Principle Details
Each principle has a non-negotiable rule and a quick test for compliance. The
canonical detail (full text + per-principle tests + the "How to Apply These
Principles" section for agents, contributors, and code review) lives in
references/principles.md. The summary list above
is a one-line index; for any decision-making use, load the reference. The
reference is canonical. Sync this index after an approved reference change;
never silently remove unique rules or treat prose as permission to bypass a gate.
Reference Index
| Reference | When to Load |
references/principles.md | Applying a principle to a specific design or implementation decision; running the per-principle compliance test |
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.

