ワンクリックで
agent-design
Design a full agentic system — loop architecture, tool manifest, memory, guardrails, observability
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Design a full agentic system — loop architecture, tool manifest, memory, guardrails, observability
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Audit a Google ADK tool file against the five known gotchas (DI params, thin wrappers, _j helper, async-wrap blocking calls, httpx context manager) before they bite in production
After creating an ADR, run the cross-referencing checklist — update README Artifacts table, add Related Decisions section to source proposal, cross-link sibling ADRs to each other
Mid-task durability — dump current state and a next-step file before context fills, so the next session resumes without re-deriving where you were
Generate and verify a pre-demo checklist for an ADK/agent project — env vars, GCP auth, embedding swap, ngrok/Slack wiring, dry-run, tests, real-vs-synthetic data
Scan a project's docs (README, CLAUDE.md, ADRs, runbooks) for inconsistent project naming, scope, or framing — catches the "README says retail, CLAUDE.md still says Kroger" class of bug
Refresh a project's status — derive current state from code/tests/git, regenerate the project's status memory entry and (if requested) a status section in the README
| name | agent-design |
| description | Design a full agentic system — loop architecture, tool manifest, memory, guardrails, observability |
User runs /agent-design followed by a description of what the agent should accomplish, or runs it alone.
| Pattern | Use When | Risk |
|---|---|---|
| ReAct (Reason + Act) | Single-agent, tool-heavy tasks | Can loop infinitely without termination guard |
| Plan-and-Execute | Multi-step tasks with known subtask structure | Plan staleness if environment changes mid-run |
| Multi-agent (supervisor) | Parallel workstreams or specialist agents | Inter-agent trust, error propagation |
| Human-in-the-loop | High-stakes actions, irreversible operations | Latency, user fatigue |
| Reflection / self-critique | Quality-sensitive outputs | Token cost, added latency |
| Need | Memory Type | Implementation |
|---|---|---|
| Within-session context | In-context (conversation history) | Default — no extra infra |
| Cross-session user state | External key-value | Redis, DynamoDB |
| Knowledge / docs | Semantic memory | Vector store (see /rag-design) |
| Workflow state | Checkpointing | LangGraph checkpointer (SQLite / Postgres) |
| Episodic (past runs) | Episodic store | Custom log + retrieval layer |
Goal: [one sentence]
Loop Pattern: [pattern name]
HITL Required: [Yes / No / Conditional]
Risk Tier: [LOW / MED / HIGH]
Describe the core loop: Observe → Think → Act → (Check) → repeat. Include termination conditions (max steps, goal achieved, error threshold).
| Tool Name | Description | Inputs | Outputs | Side Effects | Auth Required |
|---|
Flag any tool with irreversible side effects as [RISK: HIGH] — these require HITL or confirmation step.
Which memory types are needed and how they're implemented. Include TTL/eviction policy for any persistent memory.
| Guard | Implemented? | Method |
|---|---|---|
| Max iteration limit | ||
| Token budget cap | ||
| Tool call rate limiting | ||
| Scope validation (agent can't act outside defined domain) | ||
| Output validation before returning to user | ||
| PII / sensitive data redaction | ||
| Human approval gate for irreversible actions | ||
| Error budget & circuit breaker |
What happens when: (a) a tool call fails, (b) the agent hits max iterations, (c) the model returns an unparseable response, (d) the user cancels mid-run.
Tooling recommendations for: orchestration, memory, tracing, deployment.
| Risk | Severity | Mitigation |
|---|
Decisions that should be captured (loop pattern, memory backend, HITL policy, tool auth approach).