production-ai-agents
Skill2 starsChanged 25 days agoMITView on GitHub
Use when building an LLM agent, chatbot, RAG or tool-calling feature, choosing a model or provider, writing or changing prompts, managing context, latency or token cost, building LLM evals, or letting an AI change data.
In this repository4 other files it gives its agents.
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 22
Never pad: Don't add generic process items (lockfiles, hooks, scanners, CI) unless the task is about project setup or delivery.
≈ “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
Production AI Agents
Overview
Part of the building-production-software plugin: production rules for ai agents, each backed by a real case from a production system or an industry source. Core principle: the system must never look more correct than it is.
Tiers
| Tier | Name | Applies to |
| T1 | Every project | Prototypes, spikes, internal tools, demos. Cheap rules that prevent the worst failures. Apply all of them. |
| T2 | Production | Real users or real data, more than one developer, or anything you must keep running. Apply T1 + T2. |
| T3 | High-stakes | Money, regulated or personal data, multiple teams/services, or an AI that can change data. Apply T1 + T2 + T3. |
How to use
- Set the tier (T1 every project · T2 production · T3 high-stakes). Pick the tier first. Apply every item at or below it. Adding a higher-tier item to a lower-tier project needs a stated reason — otherwise it is speculative work (YAGNI). When in doubt between two tiers, take the lower one and write down what would move you up.
- Solve the task first, from your own expertise. Work out the domain-specific design, the failure modes of this system and what the user actually asked for, in the length and format they asked for. The rules here do not replace that thinking.
- Then gap-check. Open the reference checklist for each area the task touches and look for items at or below the tier that you missed and that change this task's outcome. Add those by replacing your weakest point — don't grow the answer past what was asked.
- Never pad. Don't add generic process items (lockfiles, hooks, scanners, CI) unless the task is about project setup or delivery. Don't paste the checklist or report it item by item unless the user asks for a review or audit.
References
| Area | File |
| AI and LLM features — building an LLM agent, chatbot, tool-calling or RAG feature, choosing a model or provider, writing prompts, handling agent latency, cost or context limits, letting an AI change data | references/ai-agents.md |
For project kickoff, trade-offs, stack equivalents and the habits behind most review findings, see the building-production-software skill.
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.

