reliability-and-performance
Skill198 starsChanged 4 days agoMITView on GitHub
Design applications for predictable performance and graceful behavior under load, dependency failure, resource pressure, and partial outages.
In this repository20 other files it gives its agents.
- api-designSkill
- application-securitySkill
- apply-renovate-prsSkill
- architecture-guidelinesSkill
- authentication-authorizationSkill
- configuration-and-secretsSkill
- data-access-and-migrationsSkill
- database-designSkill
- deployment-and-deliverySkill
- external-integrations-and-messagingSkill
- java-code-reviewSkill
- jspecify-skillSkill
- observabilitySkill
- pair-programmingSkill
- progenSkill
- spec-writerSkill
- spring-boot-skillSkill
- spring-modulith-verifierSkill
- technical-decision-makingSkill
- testing-strategySkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
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 12
Use when defining non-functional requirements, designing critical workflows, integrating dependencies, scaling workloads, or investigating …
- Distinctive: line 20
Use timeouts for all remote calls and cancellation where possible.
- Distinctive: line 22
Use circuit breakers, bulkheads, rate limits, and load shedding when justified by failure modes.
- Distinctive: line 25
Consider capacity, cost, and operational complexity together.
- Distinctive: line 34
Test load, stress, soak, and recovery scenarios appropriate to risk.
- Distinctive: line 39
Use pagination, streaming, or asynchronous processing for large workloads.
- Distinctive: line 40
Avoid N+1 queries, unbounded scans, and excessive serialization.
- Distinctive: line 42
Avoid synchronized retry behavior across many clients.
- Distinctive: line 44
Consider graceful degradation and clear user feedback when optional capabilities fail.
- Distinctive: line 55
Do not claim scalability based solely on architecture labels or theoretical horizontal scaling.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Reliability and Performance
Purpose
Improve user-visible reliability and performance through explicit budgets, failure handling, capacity awareness, and measurement.
When to use
Use when defining non-functional requirements, designing critical workflows, integrating dependencies, scaling workloads, or investigating performance and availability problems.
Principles
- Define user-visible expectations before optimizing.
- Measure representative workloads; do not rely on intuition or microbenchmarks alone.
- Set end-to-end latency and resource budgets.
- Bound queues, concurrency, payload sizes, and expensive operations.
- Apply backpressure rather than allowing unbounded work to accumulate.
- Use timeouts for all remote calls and cancellation where possible.
- Retry only transient failures, with limits and jitter.
- Use circuit breakers, bulkheads, rate limits, and load shedding when justified by failure modes.
- Design degraded behavior for non-critical dependencies.
- Make background jobs safe to retry and recover.
- Consider capacity, cost, and operational complexity together.
Workflow
- Identify critical journeys and define measurable performance/reliability targets.
- Model expected and peak traffic, payload sizes, data growth, and dependency limits.
- Measure baseline latency, throughput, error rate, and resource usage.
- Locate bottlenecks using profiling and traces.
- Prioritize changes by user impact and evidence.
- Define overload and dependency-failure behavior.
- Test load, stress, soak, and recovery scenarios appropriate to risk.
- Re-measure and compare against the baseline and targets.
Common design considerations
- Cache only when freshness, invalidation, and failure behavior are understood.
- Use pagination, streaming, or asynchronous processing for large workloads.
- Avoid N+1 queries, unbounded scans, and excessive serialization.
- Prevent thread, connection, worker, and memory pool exhaustion.
- Avoid synchronized retry behavior across many clients.
- Design startup, shutdown, and deployment behavior to avoid dropping critical work.
- Consider graceful degradation and clear user feedback when optional capabilities fail.
Review checklist
- Are targets measurable and tied to user experience?
- Are workloads and capacity assumptions explicit?
- Are all queues and resource pools bounded?
- Are timeouts, retries, and cancellation coherent end-to-end?
- Is overload behavior safe?
- Are bottlenecks supported by measurements?
- Can the system recover after dependency or instance failure?
Do not claim scalability based solely on architecture labels or theoretical horizontal scaling.
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.

