ai-system-design
Skill1 starsChanged 42 days agoApache-2.0View on GitHub
Design LLM, RAG, and agent systems from business requirements through architecture, security boundaries, evaluation, operations, and rollout. Use when choosing patterns or reviewing an AI system design.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- ufukyuksel-dev/SUPER_COMPUTER_AItheir own version, first seen Nov 1, 2026
- Victoriakaey/build-reliable-agentstheir own version, first seen Apr 3, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- ufukyuksel-dev/SUPER_COMPUTER_AI★ 0same name
- Victoriakaey/build-reliable-agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- agent-engineeringSkill
- break-my-agentSkill
- code-reviewSkill
- llm-evaluationSkill
- mcp-engineeringSkill
- python-productionSkill
- rag-engineeringSkill
- security-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill for architecture decisions that affect an AI system's behavior, data access, reliability, cost, or deployment.
- Very specific: line 24
Use companion skills when needed: rag-engineering for retrieval design, agent-engineering for agent loops and state, mcp-engineering for …
- Distinctive: line 28
Check current official material when it affects a decision.
- Distinctive: line 30
When Context7 is configured, use it for focused, version-specific library documentation after inspecting the target's dependency and …
≈ “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
AI System Design
Use this skill for architecture decisions that affect an AI system's behavior, data access, reliability, cost, or deployment. Produce a design that a delivery team can implement and verify.
Workflow
- Frame the use case. Identify the user and decision or task, inputs and authoritative sources, expected output, error impact, human role, and system boundary. Inspect the repository, existing architecture, runtime and dependency versions, deployment path, and constraints before proposing a design.
- Record constraints. Capture data classification and residency, identity and tenant boundaries, retention/deletion needs, applicable internal controls, latency/availability targets, throughput, quality thresholds, and spend limits. Ask for a missing fact when it changes authorization, privacy, safety, or a high-impact architecture choice. Otherwise state a bounded assumption and its effect.
- Choose the smallest pattern that meets the need. Compare deterministic code, retrieval, model calls, tools, workflow orchestration, and fine-tuning where relevant. Introduce agents or multiple agents only when their planning or delegated work solves a measured requirement. Explain viable alternatives and why the chosen pattern fits.
- Design end-to-end. Map trust boundaries, identities, data flows, persistence, model/provider calls, retrieval, tool permissions, state, caches, and failure paths. Define contracts and ownership between components. Treat model output and retrieved or tool-provided content as untrusted input.
- Make quality and operations measurable. Set a versioned evaluation plan and release thresholds. Specify tracing, service and quality metrics, audit events, alerts, rate limits, cost/token budgets, timeouts, bounded retries, cancellation, fallbacks, rollback, and a kill switch. Redact or omit prompts, retrieved content, credentials, secrets, and confidential, proprietary, restricted, or personal data from telemetry unless approved controls explicitly allow them.
- Plan delivery. Define data/model/prompt/index versioning, migration and deletion behavior, staged rollout, human escalation, ownership, and operational runbooks. Ensure each important requirement has an implementation control and a way to verify it.
Deliverable
For a substantive design, provide a concise decision record with: scope and assumptions; a context/data-flow diagram; chosen pattern and alternatives; component contracts; identity and trust boundaries; quality, reliability, and cost targets; threat mitigations; observability; rollout and rollback; and unresolved decisions with owners. Keep requirements, assumptions, and recommendations distinguishable. Do not claim compliance or approval without evidence.
Use companion skills when needed: rag-engineering for retrieval design, agent-engineering for agent loops and state, mcp-engineering for MCP integrations, llm-evaluation for thresholds and evaluation, security-review for adversarial review, and python-production for Python implementation.
Current references
Check current official material when it affects a decision; use the deployed stack's pinned versions and policy as constraints.
When Context7 is configured, use it for focused, version-specific library documentation after inspecting the target's dependency and runtime versions. Verify consequential details against official documentation. Keep credentials, secrets, private source code, and restricted data out of Context7 queries; the integration is optional.
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.

