From Contract to Promise: Turning a Platform Contract Into a Skill
Table of Contents
- Introduction
- The Problem: A PDF Is Not an Interface
- The Architecture: From Contract to Skill
- Part One: What the App Must Be
- Example 1: A Health-Check Clause Becomes Four Endpoints
- Example 2: “No Root” Becomes a securityContext Block
- Example 3: “No Persistent Data in a Container” Becomes Three Manifests
- Example 4: A Four-Layer Image Hierarchy Becomes a Dockerfile and a Tag Strategy
- Part Two: What the App Must Say
- Example 5: “Logs MUST Be JSON on stdout” Becomes a Logger and a Field Contract
- Example 6: A Three-Tier Metrics Rule Becomes an Annotation and a NetworkPolicy
- Example 7: “MUST Send Traces to a Collector” Becomes an SDK Init and an Egress Policy
- Example 8: “Alert on Trends, Not Numbers” Becomes a Recording Rule and an HPA
- Part Three: Where the App Lives
- Example 9: A Naming Convention Becomes a Derivation Rule
- Example 10: “Never Commit a Plain Secret” Becomes Vault or AWS Secrets Manager
- Example 11: “The Management Port MUST NOT Be Public” Becomes Three Absences
- Part Four: How the App Ships
- Example 12: “No Human Tampering With the Artifact” Becomes a CI Workflow With Teeth
- Example 13: Terraform Guardrails Become a Module Call You Cannot Widen
- Example 14: “MUST Be in the Service Catalog First” Becomes Labels and a Generated Entry
- The Real Speedup: Building Something the Contract Never Anticipated
- How to Make Skills Actually Respected: The Gate
- From a Working App to a Platform Citizen
- Does the AI Actually Comply?
- Security Considerations
- Download the Skills
- Conclusion
- Reflections
Well. Every platform team eventually writes the same document: a PDF (or a Confluence page pretending to be one) that says what an application must do before it’s allowed to run on the shared cluster. Containerized. Non-root. Health endpoints on a specific port. No plain secrets in Git. It’s correct, it’s thorough, and almost nobody who needs to follow it has actually read it end to end.









