Prompt Library

Every named prompt from the curriculum, indexed by source document and section. Each prompt is a working skeleton you can copy, customise, and run against Claude, ChatGPT, or Gemini.

Doc 1

M1.1CLAUDE

Bounded Context to Microservice Mapping

Map contexts to microservices with owned data, public API, integration events.

dddmicroservicesarchitecture
M1.1CLAUDE

Event Storming Facilitation

Understand a business domain by surfacing events, commands, aggregates, bounded contexts.

ddddiscoveryarchitecture
M1.2CLAUDE

Comprehensive ADR

Document an architecture decision in MADR format.

architectureadrdocumentation
M1.3CLAUDE

NFR Deep-Dive

Define measurable non-functional requirements across performance, availability, scalability, security, observability, operability.

nfrarchitecture
M2.1CLAUDE

Domain Service

Generate a domain service for logic that spans multiple aggregates.

ddddomain-modelcode-generation
M2.1CLAUDE

Rich Domain Entity

Generate a DDD aggregate with enforced invariants, value objects, and domain events.

ddddomain-modelcode-generation
M2.2CLAUDE

Full CQRS Vertical Slice

Generate a complete CQRS command + query + handler + validator + tests with all pipeline behaviours.

cqrsmediatrcode-generation
M2.3CLAUDE

Transactional Outbox Implementation

Add reliable event publishing with at-least-once semantics.

outboxmessagingreliability
M3.1CLAUDE

OpenAPI Contract First

Design an API by writing the OpenAPI 3.1 contract first.

openapiapi-design
M3.2CLAUDE

Global Exception Handling (RFC 7807)

Add RFC 7807-compliant error handling across the API surface.

api-designerror-handlingrfc7807
M3.3CLAUDE

Enterprise Auth System

Multi-tenant JWT with RBAC + ABAC and token-family rotation.

authsecuritymulti-tenant
M3.4CLAUDE

Production Resilience Layer

Add rate limiting, circuit breakers, retries, timeouts.

resiliencepollyrate-limiting
M4.1CLAUDE

Event-Sourced Aggregate Schema

Design an event-sourced database schema.

event-sourcingschema
M4.2CLAUDE

Advanced EF Core Configuration

EF Core 8 with owned types, value-object mapping, query splitting.

ef-coreorm
M4.3CLAUDE

High-Performance Read Layer (Dapper)

Build a CQRS read side with Dapper for sub-100ms queries.

dappercqrsread-model
M5.2CLAUDE

FsCheck Property Tests

Generate property-based tests for a domain aggregate.

testingproperty-basedfscheck
M5.3CLAUDE

Stryker.NET Setup & Analysis

Set up mutation testing and analyse surviving mutants.

testingmutationstryker
M5.4CLAUDE

Consumer-Driven Contract Tests (Pact)

Add Pact contract tests between consumer and provider services.

testingcontractpact
M6.1CLAUDE

Choreography-Based Saga

Design a multi-service business process with compensating transactions.

sagamicroservicesmessaging
M6.2CLAUDE

YARP API Gateway

Configure a YARP-based API gateway with routing, auth, rate limiting, BFF aggregation.

api-gatewayyarp
M6.3CLAUDE

OpenTelemetry Full Stack

Wire traces, metrics, logs into an ASP.NET Core service.

observabilityopentelemetry
M7.3CLAUDE

Negative Constraints Template

Prevent anti-patterns in generated code by explicitly forbidding them.

prompt-techniquenegative-space
M7.4CLAUDE

Self-Critique Loop

Force the model to review its own output against an explicit rubric and iterate.

prompt-techniquecritique

Doc 2

M1.1CLAUDE

Architecture Reverse Engineering

Understand an inherited codebase's architecture from its source.

existing-codearchaeology
M1.1CLAUDE

Implicit Contract Discovery

Find implicit contracts before refactoring something risky.

existing-coderefactoring
M1.2CLAUDE

Layered Quality Analysis (4 dimensions)

Run a 4-dimensional code quality review on a target slice.

code-reviewquality
M1.3CLAUDE

Transitive Dependency Risk

Audit dependencies for CVEs and upgrade path.

securitydependencies
M2.2CLAUDE

Multi-Layer Stack Trace Analysis

Debug a production stack trace by separating proximate cause from root cause.

debuggingstack-trace
M2.3CLAUDE

Memory Issue Analysis

Investigate a memory leak or GC pressure problem.

debuggingmemory
M2.4CLAUDE

Deadlock Investigation

Debug a deadlock or concurrency hang.

debuggingconcurrency
M2.5CLAUDE

Cross-Service Request Tracing

Debug a multi-service failure using distributed traces.

debuggingdistributed
M3.2CLAUDE

Post-Incident Root Cause Report

Write a post-mortem with timeline, root cause, blast radius, change actions.

incidentpostmortem
M3.2CLAUDE

SEV1 Rapid Triage

Produce the first 60-second triage update during a SEV1 incident.

incidentsev1
M4.1CLAUDE

Blast Radius Assessment

Assess the blast radius of a proposed change before merging.

safe-changeblast-radius
M4.2CLAUDE

Zero-Downtime API Change (Expand-Contract)

Make a breaking API change without downtime via Expand-Contract.

safe-changeexpand-contract
M4.3CLAUDE

Feature Flag Implementation

Roll out a risky change behind a feature flag with kill switch.

safe-changefeature-flag
M5.1CLAUDE

Strangler Fig Migration Plan

Plan an incremental modernisation of a legacy system.

refactoringstrangler-figlegacy
M5.2CLAUDE

Migrate CRUD to CQRS

Convert a CRUD service to CQRS without breaking callers.

refactoringcqrs
M6.1CLAUDE

.NET Framework → .NET 8 Migration Readiness

Assess a legacy .NET 4.8 codebase for .NET 8 migration.

modernizationdotnet
M6.1CLAUDE

Async/Await Migration (8 rules)

Convert synchronous code to async without introducing deadlocks.

modernizationasync
M6.2CLAUDE

Module Extraction Strategy

Extract a bounded context from a monolith.

modernizationmicroservices
M7.1CLAUDE

Golden Master Test Generation

Lock current behaviour with golden master tests before refactoring.

testinggolden-master
M7.2CLAUDE

Approval Tests Setup

Set up approval testing for complex output (reports, HTML, large JSON).

testingapproval
M7.3CLAUDE

Load Test Scenario Generation (k6)

Generate k6 load-test scenarios — baseline, stress, spike, soak.

testingloadk6
M8.1CLAUDE

STRIDE Threat Model

Threat-model a system using the STRIDE framework.

securitystridethreat-model
M8.2CLAUDE

Authentication & Authorization Deep Review

Deep security review of an auth implementation.

securityauth