Platform & Infrastructure
Scope
Covers
- Platform engineering / “paved roads”: shared capabilities that multiple product teams reuse
- Infrastructure quality attributes: reliability, performance, privacy/safety, operability, cost
- Scalability planning: capacity limits, leading indicators, “doomsday clock” triggers, sequencing
- Instrumentation strategy: server-side event tracking, data quality, observability gaps
- Discoverability architecture for web platforms (optional): sitemap + internal linking
When to use
- “Create a platform infrastructure plan to increase feature velocity without repeating work.”
- “Turn reliability/performance/privacy goals into concrete SLOs and an execution roadmap.”
- “We’re approaching scaling limits—define triggers and the next infra projects.”
- “Our analytics is messy—design a server-side tracking plan and event contract.”
- “For a large web property, define sitemap + internal-linking requirements for crawlability.”
When NOT to use
- You are handling an active incident or outage (use incident response/runbooks first).
- You only need a single localized perf fix or refactor (just do the work).
- You need product strategy/positioning for a platform-as-product (use
platform-strategy).
- You need a full feature spec or UX flows (use
writing-specs-designs / writing-prds).
- SEO/content strategy is the primary workstream (use
content-marketing).
- You need to sequence a broader technical roadmap across multiple teams (use
technical-roadmaps).
- You want to pay down tech debt without building new shared capabilities (use
managing-tech-debt).
- You want to improve engineering practices, rituals, or team culture (use
engineering-culture).
Inputs
Minimum required
- System boundary (services/apps) + primary users/customers
- Current pains (pick 1–3): reliability, performance, cost, privacy/security/compliance, developer velocity, data quality/analytics, SEO/discoverability
- Current architecture constraints (data stores, runtime, deployment model, key dependencies)
- Scale + trajectory (rough): current usage + expected growth + known upcoming spikes
- Constraints: deadlines, staffing/capacity, risk tolerance, compliance/privacy requirements
Missing-info strategy
- Ask up to 5 questions from references/INTAKE.md (3–5 at a time).
- If details remain missing, proceed with explicit assumptions and provide 2–3 options.
- If asked to change production systems or run commands, require explicit confirmation and include rollback guidance.
Outputs (deliverables)
Produce a Platform & Infrastructure Improvement Pack in Markdown (in-chat; or as files if requested), in this order:
- Context snapshot (scope, constraints, assumptions, stakeholders, success definition)
- Shared capabilities inventory + platformization plan (what to standardize, why, and how)
- Quality attributes spec (reliability/perf/privacy/safety targets; proposed SLOs/SLIs)
- Scaling “doomsday clock” + capacity plan (limits, triggers, lead time, projects)
- Instrumentation plan (observability gaps + server-side analytics event contract)
- Discoverability plan (optional) for web platforms (sitemap + internal linking requirements)
- Execution roadmap (sequencing, milestones, owners, dependencies, comms)
- Risks / Open questions / Next steps (always included)
Templates: references/TEMPLATES.md
Workflow (8 steps)
1) Intake + define “what decision will this enable?”
- Inputs: Context; references/INTAKE.md.
- Actions: Confirm scope boundaries, top pains, and time horizon. Write a 1–2 sentence decision statement (e.g., “We will standardize X and commit to SLO Y by date Z.”).
- Outputs: Context snapshot (draft).
- Checks: A stakeholder can answer: “What will we do differently after reading this?”
2) Find repeatable product capabilities worth platformizing
- Inputs: Recent roadmap/initiatives; architecture overview; pain points.
- Actions: Inventory repeated “feature components” (e.g., export, filtering, permissions, audit logs, notifications). Identify 3–7 candidates for shared infrastructure. Define what becomes the platform contract vs what remains product-specific.
- Outputs: Shared capabilities inventory + platformization plan (draft).
- Checks: Each candidate has: (a) at least 2 consumers, (b) a clear API/contract idea, (c) a migration/rollout approach.
3) Define quality attributes and targets (make “invisible work” explicit)
- Inputs: Reliability/perf/privacy needs; customer expectations; compliance constraints.
- Actions: Write the quality attributes spec. Propose SLOs/SLIs for reliability and performance; document privacy/safety requirements (data residency, encryption, access controls, retention).
- Outputs: Quality attributes spec (draft).
- Checks: Targets are measurable and owned (even if initial numbers are estimates + confidence).
4) Build the scaling “doomsday clock”
- Inputs: Current bottlenecks/limits; growth expectations; lead times for major changes.
- Actions: Identify top 3–10 capacity limits (DB size/IOPS, queue depth, cache hit rate, deploy throughput, rate limits). Define thresholds that trigger scaling projects early enough (lead time-aware).
- Outputs: Doomsday clock table + capacity plan (draft).
- Checks: Each limit has a metric, an alert threshold, a lead time estimate, and a named mitigation project.
5) Decide instrumentation: observability + server-side analytics
- Inputs: Current logging/metrics/tracing; current analytics tracking approach.
- Actions: Specify observability gaps (must-have dashboards/alerts) and define an event contract for server-side analytics (names, properties, identity strategy, delivery guarantees, QA checks).
- Outputs: Instrumentation plan (draft).
- Checks: Event definitions are consistent across clients; key events are captured server-side; data-quality checks exist.
6) (Optional) Discoverability architecture for web platforms
- Inputs: If applicable: site/app information architecture; SEO importance; crawl constraints.
- Actions: Define sitemap requirements (categorization, pagination, freshness) and internal-linking rules (“related content”, indexability controls, canonicalization).
- Outputs: Discoverability plan (draft) or “Not applicable” decision.
- Checks: A crawler can reach all indexable pages via links/sitemaps; “noindex”/canonicals are intentional.
7) Turn decisions into a sequenced execution roadmap
- Inputs: Draft deliverables; constraints; dependencies; capacity.
- Actions: Prioritize initiatives using impact × risk × effort × lead time. Create milestones, owners, and rollout plans (including deprecation/decommission for old paths).
- Outputs: Execution roadmap (draft).
- Checks: Roadmap has a first executable milestone, explicit dependencies, and measurable acceptance criteria.
8) Quality gate + finalize
- Inputs: Full draft pack.
- Actions: Run references/CHECKLISTS.md and score with references/RUBRIC.md. Tighten unclear contracts, add missing measures, and always include Risks / Open questions / Next steps.
- Outputs: Final Platform & Infrastructure Improvement Pack.
- Checks: A team can execute without extra meetings; unknowns are explicit and owned.
Quality gate (required)
- Use references/CHECKLISTS.md and references/RUBRIC.md.
- Always include: Risks, Open questions, Next steps.
Examples
Example 1 (shared capabilities): “Use platform-infrastructure for a B2B analytics app where every team keeps rebuilding export, filtering, and permissions. Output a platformization plan + roadmap + SLO targets.”
Example 2 (scaling readiness): “We expect 5× traffic in 6 months. Define a doomsday clock for Postgres limits, propose scaling projects, and set reliability/performance SLOs. Also standardize server-side analytics.”
Boundary example 1: “We’re mid-incident and pages are down—tell us what to do right now.”
Response: out of scope; recommend incident response first, then use this skill post-incident to create the scaling plan and reliability roadmap.
Boundary example 2: “We need to decide how to price and position our internal platform as an external product for other companies.”
Response: this is product/market strategy for a platform-as-product; redirect to platform-strategy. Use platform-infrastructure only for the internal shared-capabilities and reliability layer.
Anti-patterns
Avoid these common failure modes when producing a Platform & Infrastructure Improvement Pack:
- ”Platform for its own sake” — Proposing shared capabilities that have only one consumer. Every platformized capability must have at least two real consumers today (not hypothetical future ones) or it is premature abstraction.
- SLO theater — Setting reliability/performance targets with no measurement plan, no ownership, and no error budget policy. Targets without instrumentation are decoration, not engineering.
- Boil-the-ocean scaling plan — Listing every conceivable scaling bottleneck instead of focusing on the 3-5 limits closest to breach. A doomsday clock with 20 entries is a spreadsheet, not a decision tool.
- Ignoring migration cost — Defining a platformization plan that assumes teams will just “switch over” without accounting for migration effort, backward compatibility, and rollback paths.
- Analytics wish-list without data contracts — Specifying dozens of events without defining schemas, ownership, QA checks, or delivery guarantees. Volume of events is not the same as data quality.
1---2name: platform-infrastructure3description: Produce a Platform & Infrastructure Pack (capabilities plan, scaling triggers, execution roadmap).4---56# Platform & Infrastructure78## Scope910**Covers**11- Platform engineering / “paved roads”: shared capabilities that multiple product teams reuse12- Infrastructure quality attributes: reliability, performance, privacy/safety, operability, cost13- Scalability planning: capacity limits, leading indicators, “doomsday clock” triggers, sequencing14- Instrumentation strategy: server-side event tracking, data quality, observability gaps15- Discoverability architecture for web platforms (optional): sitemap + internal linking1617**When to use**18- “Create a platform infrastructure plan to increase feature velocity without repeating work.”19- “Turn reliability/performance/privacy goals into concrete SLOs and an execution roadmap.”20- “We’re approaching scaling limits—define triggers and the next infra projects.”21- “Our analytics is messy—design a server-side tracking plan and event contract.”22- “For a large web property, define sitemap + internal-linking requirements for crawlability.”2324**When NOT to use**25- You are handling an active incident or outage (use incident response/runbooks first).26- You only need a single localized perf fix or refactor (just do the work).27- You need product strategy/positioning for a platform-as-product (use `platform-strategy`).28- You need a full feature spec or UX flows (use `writing-specs-designs` / `writing-prds`).29- SEO/content strategy is the primary workstream (use `content-marketing`).30- You need to sequence a broader technical roadmap across multiple teams (use `technical-roadmaps`).31- You want to pay down tech debt without building new shared capabilities (use `managing-tech-debt`).32- You want to improve engineering practices, rituals, or team culture (use `engineering-culture`).3334## Inputs3536**Minimum required**37- System boundary (services/apps) + primary users/customers38- Current pains (pick 1–3): reliability, performance, cost, privacy/security/compliance, developer velocity, data quality/analytics, SEO/discoverability39- Current architecture constraints (data stores, runtime, deployment model, key dependencies)40- Scale + trajectory (rough): current usage + expected growth + known upcoming spikes41- Constraints: deadlines, staffing/capacity, risk tolerance, compliance/privacy requirements4243**Missing-info strategy**44- Ask up to 5 questions from [references/INTAKE.md](references/INTAKE.md) (3–5 at a time).45- If details remain missing, proceed with explicit assumptions and provide 2–3 options.46- If asked to change production systems or run commands, require explicit confirmation and include rollback guidance.4748## Outputs (deliverables)4950Produce a **Platform & Infrastructure Improvement Pack** in Markdown (in-chat; or as files if requested), in this order:51521) **Context snapshot** (scope, constraints, assumptions, stakeholders, success definition)532) **Shared capabilities inventory + platformization plan** (what to standardize, why, and how)543) **Quality attributes spec** (reliability/perf/privacy/safety targets; proposed SLOs/SLIs)554) **Scaling “doomsday clock” + capacity plan** (limits, triggers, lead time, projects)565) **Instrumentation plan** (observability gaps + server-side analytics event contract)576) **Discoverability plan (optional)** for web platforms (sitemap + internal linking requirements)587) **Execution roadmap** (sequencing, milestones, owners, dependencies, comms)598) **Risks / Open questions / Next steps** (always included)6061Templates: [references/TEMPLATES.md](references/TEMPLATES.md)6263## Workflow (8 steps)6465### 1) Intake + define “what decision will this enable?”66- **Inputs:** Context; [references/INTAKE.md](references/INTAKE.md).67- **Actions:** Confirm scope boundaries, top pains, and time horizon. Write a 1–2 sentence decision statement (e.g., “We will standardize X and commit to SLO Y by date Z.”).68- **Outputs:** Context snapshot (draft).69- **Checks:** A stakeholder can answer: “What will we do differently after reading this?”7071### 2) Find repeatable product capabilities worth platformizing72- **Inputs:** Recent roadmap/initiatives; architecture overview; pain points.73- **Actions:** Inventory repeated “feature components” (e.g., export, filtering, permissions, audit logs, notifications). Identify 3–7 candidates for shared infrastructure. Define what becomes the platform contract vs what remains product-specific.74- **Outputs:** Shared capabilities inventory + platformization plan (draft).75- **Checks:** Each candidate has: (a) at least 2 consumers, (b) a clear API/contract idea, (c) a migration/rollout approach.7677### 3) Define quality attributes and targets (make “invisible work” explicit)78- **Inputs:** Reliability/perf/privacy needs; customer expectations; compliance constraints.79- **Actions:** Write the quality attributes spec. Propose SLOs/SLIs for reliability and performance; document privacy/safety requirements (data residency, encryption, access controls, retention).80- **Outputs:** Quality attributes spec (draft).81- **Checks:** Targets are measurable and owned (even if initial numbers are estimates + confidence).8283### 4) Build the scaling “doomsday clock”84- **Inputs:** Current bottlenecks/limits; growth expectations; lead times for major changes.85- **Actions:** Identify top 3–10 capacity limits (DB size/IOPS, queue depth, cache hit rate, deploy throughput, rate limits). Define thresholds that trigger scaling projects early enough (lead time-aware).86- **Outputs:** Doomsday clock table + capacity plan (draft).87- **Checks:** Each limit has a metric, an alert threshold, a lead time estimate, and a named mitigation project.8889### 5) Decide instrumentation: observability + server-side analytics90- **Inputs:** Current logging/metrics/tracing; current analytics tracking approach.91- **Actions:** Specify observability gaps (must-have dashboards/alerts) and define an event contract for server-side analytics (names, properties, identity strategy, delivery guarantees, QA checks).92- **Outputs:** Instrumentation plan (draft).93- **Checks:** Event definitions are consistent across clients; key events are captured server-side; data-quality checks exist.9495### 6) (Optional) Discoverability architecture for web platforms96- **Inputs:** If applicable: site/app information architecture; SEO importance; crawl constraints.97- **Actions:** Define sitemap requirements (categorization, pagination, freshness) and internal-linking rules (“related content”, indexability controls, canonicalization).98- **Outputs:** Discoverability plan (draft) or “Not applicable” decision.99- **Checks:** A crawler can reach all indexable pages via links/sitemaps; “noindex”/canonicals are intentional.100101### 7) Turn decisions into a sequenced execution roadmap102- **Inputs:** Draft deliverables; constraints; dependencies; capacity.103- **Actions:** Prioritize initiatives using impact × risk × effort × lead time. Create milestones, owners, and rollout plans (including deprecation/decommission for old paths).104- **Outputs:** Execution roadmap (draft).105- **Checks:** Roadmap has a first executable milestone, explicit dependencies, and measurable acceptance criteria.106107### 8) Quality gate + finalize108- **Inputs:** Full draft pack.109- **Actions:** Run [references/CHECKLISTS.md](references/CHECKLISTS.md) and score with [references/RUBRIC.md](references/RUBRIC.md). Tighten unclear contracts, add missing measures, and always include **Risks / Open questions / Next steps**.110- **Outputs:** Final Platform & Infrastructure Improvement Pack.111- **Checks:** A team can execute without extra meetings; unknowns are explicit and owned.112113## Quality gate (required)114- Use [references/CHECKLISTS.md](references/CHECKLISTS.md) and [references/RUBRIC.md](references/RUBRIC.md).115- Always include: **Risks**, **Open questions**, **Next steps**.116117## Examples118119**Example 1 (shared capabilities):** “Use `platform-infrastructure` for a B2B analytics app where every team keeps rebuilding export, filtering, and permissions. Output a platformization plan + roadmap + SLO targets.”120121**Example 2 (scaling readiness):** “We expect 5× traffic in 6 months. Define a doomsday clock for Postgres limits, propose scaling projects, and set reliability/performance SLOs. Also standardize server-side analytics.”122123**Boundary example 1:** “We’re mid-incident and pages are down—tell us what to do right now.”124Response: out of scope; recommend incident response first, then use this skill post-incident to create the scaling plan and reliability roadmap.125126**Boundary example 2:** “We need to decide how to price and position our internal platform as an external product for other companies.”127Response: this is product/market strategy for a platform-as-product; redirect to `platform-strategy`. Use `platform-infrastructure` only for the internal shared-capabilities and reliability layer.128129## Anti-patterns130131Avoid these common failure modes when producing a Platform & Infrastructure Improvement Pack:1321331. **”Platform for its own sake”** — Proposing shared capabilities that have only one consumer. Every platformized capability must have at least two real consumers today (not hypothetical future ones) or it is premature abstraction.1342. **SLO theater** — Setting reliability/performance targets with no measurement plan, no ownership, and no error budget policy. Targets without instrumentation are decoration, not engineering.1353. **Boil-the-ocean scaling plan** — Listing every conceivable scaling bottleneck instead of focusing on the 3-5 limits closest to breach. A doomsday clock with 20 entries is a spreadsheet, not a decision tool.1364. **Ignoring migration cost** — Defining a platformization plan that assumes teams will just “switch over” without accounting for migration effort, backward compatibility, and rollback paths.1375. **Analytics wish-list without data contracts** — Specifying dozens of events without defining schemas, ownership, QA checks, or delivery guarantees. Volume of events is not the same as data quality.138