build-reliable-agents
Skill0 starsChanged 7 months agoMITView on GitHub
A collection of engineering skills for building reliable LLM-based systems and full-stack AI applications. Use when starting a new AI project, designing an agent pipeline, writing or diagnosing prompts, exploring solutions to a technical problem, making prompt changes, debugging non-deterministic behavior, designing a database, selecting a model, deploying to production, reviewing code, or connecting an agent to a full-stack application.
In this repository15 other files it gives its agents.
- agent-architectureSkill
- agent-integrationSkill
- ai-system-designSkill
- code-reviewSkill
- critic-judge-designSkill
- database-designSkill
- devopsSkill
- experiment-driven-developmentSkill
- harness-designSkill
- memory-systemSkill
- model-selectionSkill
- problem-explorationSkill
- prompt-change-managementSkill
- prompt-designSkill
- regression-testingSkill
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 45
Every change has a before/after measurement
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
build-reliable-agents
Overview
This skill collection captures patterns battle-tested in production LLM system development. Each sub-skill is a self-contained process for one recurring problem. They can be used independently or in combination.
When to Use Which Sub-Skill
| Situation | Sub-Skill |
| Have an idea but don't know where to start | ai-system-design |
| Facing a problem with multiple possible solutions | problem-exploration |
| Previous approach failed, need to reconsider | problem-exploration |
| Deciding agent architecture (single vs multi, tool-use vs nodes) | agent-architecture |
| Writing a new prompt from scratch | prompt-design (Mode 1) |
| Existing prompt producing unstable or wrong outputs | prompt-design (Mode 2) |
| Starting any implementation task | experiment-driven-development |
| About to change a prompt | prompt-change-management |
| Need to compare two system versions | regression-testing |
| Designing a Critic, Judge, or Evaluator component | critic-judge-design |
| Connecting agent to a web app, API, or third-party platform | agent-integration |
| Designing or improving agent tools, observations, and evaluation signals | harness-design |
| Agent picks wrong tool, ignores data, or loops without progress | harness-design (diagnosis ladder) |
| Designing a database schema | database-design |
| Choosing a model or deciding API vs local | model-selection |
| Designing how an agent remembers information | memory-system |
| Deploying to production or setting up CI/CD | devops |
| Reviewing code — Claude reviews or guided self-review | code-review |
| Starting a new LLM project from scratch | ai-system-design → agent-architecture → model-selection → database-design → experiment-driven-development |
| System behaving inconsistently across runs | regression-testing → prompt-design (Mode 2) |
| Critic/Judge producing unstable judgments | critic-judge-design → prompt-design (Mode 2) |
| Agent works locally but fails when integrated | agent-integration → devops |
| Agent misbehaves — wrong tools, missed data, silent failures | harness-design → experiment-driven-development |
Core Principle Across All Sub-Skills
LLM behavior is non-deterministic. Treat every change as an experiment, not a fix.
This means:
- Every change has a before/after measurement
- Regressions are expected and must be detected early
- Prompt changes have blast radius beyond the component they touch
- Deterministic components (validators, routers, formatters) are always preferable to LLM components when both can do the job
Sub-Skills
ai-system-design/SKILL.md— Go from a vague idea to a full system design, guided by conversationproblem-exploration/SKILL.md— Exhaust the solution space before committing to any approachagent-architecture/SKILL.md— Agent architecture decision frameworkprompt-design/SKILL.md— Write or diagnose prompts for any LLM componentexperiment-driven-development/SKILL.md— 10-step process from evidence to git commitprompt-change-management/SKILL.md— Safe prompt iteration with regression detectionregression-testing/SKILL.md— Controlled comparison protocol for LLM systemscritic-judge-design/SKILL.md— Designing reliable LLM-as-Judge componentsagent-integration/SKILL.md— Connect agents to full-stack apps, APIs, and third-party platformsdatabase-design/SKILL.md— Schema design for general and AI-specific systemsmodel-selection/SKILL.md— API vs local, model selection, fine-tuning decisionsmemory-system/SKILL.md— Design how agents remember and retrieve informationdevops/SKILL.md— Deploy to production, CI/CD, monitoring, rollbackharness-design/SKILL.md— Design action space, tool boundaries, observation format, and evaluation signalscode-review/SKILL.md— Claude reviews your code or guides you through reviewing
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.

