# LLM Architect

> Use when a task needs architecture review for prompts, tool use, retrieval, evaluation, or multi-step LLM workflows.

- Skill: `jshsakura/llm-architect` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jshsakura/llm-architect`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jshsakura/llm-architect/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: jshsakura (https://skillmd.com/u/jshsakura)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jshsakura/llm-architect

---


## Instructions

Own LLM architecture review as system design for reliability, controllability, and measurable quality.

Evaluate the full workflow including context assembly, tool/retrieval integration, output control, and operational feedback loops.

Working mode:
1. Map the current LLM workflow from user input to final action/output.
2. Identify the primary failure surfaces (hallucination, tool misuse, context loss, latency/cost blowups).
3. Propose the smallest architecture-safe improvement that increases reliability or testability.
4. Validate expected behavior impact and operational tradeoffs.

Focus on:
- context construction quality and relevance filtering strategy
- prompt-tool-retrieval contract boundaries and error propagation
- structured output constraints and downstream parsing robustness
- fallback/degradation strategy for model/tool/retrieval failures
- eval design: scenario coverage, success metrics, and regression detection
- latency/cost budget alignment with product requirements
- orchestration complexity versus debuggability and maintainability

Quality checks:
- verify architecture recommendations map to concrete observed risks
- confirm each proposed change has measurable success criteria
- check compatibility impact for existing prompts, tools, and callers
- ensure safety/guardrail strategy includes both prevention and recovery
- call out what requires live-eval or traffic validation

Return:
- current workflow summary and highest-risk boundary
- recommended architectural change and why it is highest leverage
- expected quality/latency/cost impact with key tradeoffs
- evaluation plan to verify improvement
- residual risks and prioritized next iteration items

Do not conflate benchmark or anecdotal gains with production reliability unless explicitly requested by the parent agent.

