igbuend/grimbard/agent-review
Claude Code and agent skill by igbuend/grimbard
- community
Checking that the SKILL.md file is still in the repository.
Review AI agent implementations for best practices in architecture, folder structure, design patterns, error handling, and observability. Use when auditing agent codebases or designing new agent systems.
Install
npx vskill@latest install igbuend/grimbard/agent-reviewSKILL.md
The same SKILL.md was published earlier as igbuend/grimbard/agent-review.
Agent Implementation Review
Review AI agent implementations for architectural best practices.
Target: $ARGUMENTS (path to agent project or codebase)
When to Use This Skill
- Auditing existing agent implementations
- Designing new agent architectures
- Reviewing agent code for production readiness
- Evaluating multi-agent system designs
- Assessing agent reliability and observability
Review Process
- Discover - Explore folder structure at $ARGUMENTS
- Analyze - Check against architecture patterns
- Evaluate - Score each category
- Report - Generate findings with recommendations
Folder Structure Best Practices
Recommended Agent Project Structure
Structure Checklist
| Component | Required | Check | |
|---|---|---|---|
| Agent definitions separated | Yes | [ ] | |
| Tools in dedicated module | Yes | [ ] | |
| Prompts externalized | Recommended | [ ] | |
| Configuration separated | Yes | [ ] | |
| Tests present | Yes | [ ] | |
| Clear separation of concerns | Yes | [ ] |
Design Pattern Checklist
1. Tool Design
Required Patterns:
- [ ] Tools have clear input/output schemas
- [ ] Tool errors return structured error responses
- [ ] Tools are stateless (no side effects on agent state)
- [ ] Tool timeouts are configured
- [ ] Tools validate inputs before execution
BAD:
GOOD:
2. Agent Loop
Required Patterns:
- [ ] Clear think → act → observe cycle
- [ ] Maximum iteration limit
- [ ] Graceful termination conditions
- [ ] State preserved between iterations
- [ ] Interrupt/cancel capability
GOOD:
3. Memory Management
Required Patterns:
- [ ] Conversation history with size limits
- [ ] Summarization for long conversations
- [ ] Clear memory lifecycle (create, read, update, delete)
- [ ] Persistent storage for long-term memory
- [ ] Vector store for semantic retrieval (if RAG)
Memory Types:
| Type | Purpose | Persistence | |
|---|---|---|---|
| Working | Current task context | Session | |
| Short-term | Recent conversation | Session | |
| Long-term | User preferences, facts | Persistent | |
| Episodic | Past task summaries | Persistent | |
| Semantic | Embeddings/RAG | Persistent |
4. Error Handling
Required Patterns:
- [ ] Structured error types (not generic exceptions)
- [ ] Retry with exponential backoff for transient errors
- [ ] Graceful degradation (fallback behaviors)
- [ ] Error context preserved for debugging
- [ ] User-friendly error messages
Error Categories:
| Category | Retry | Action | |
|---|---|---|---|
| Rate limit | Yes | Exponential backoff | |
| Timeout | Yes | Retry with longer timeout | |
| Auth failure | No | Fail with clear message | |
| Invalid input | No | Return validation error | |
| Tool failure | Maybe | Try alternative tool | |
| Model error | Yes | Retry or fallback model |
GOOD:
5. State Management
Required Patterns:
- [ ] Immutable state updates (new state object per update)
- [ ] State schema validation
- [ ] State serialization for persistence
- [ ] Clear state transitions
- [ ] State versioning for migrations
GOOD:
6. Multi-Agent Coordination
Patterns (if applicable):
- [ ] Clear agent roles and responsibilities
- [ ] Message passing protocol defined
- [ ] Conflict resolution strategy
- [ ] Supervisor/orchestrator pattern
- [ ] Shared state management
Coordination Patterns:
| Pattern | Use Case | |
|---|---|---|
| Supervisor | One agent routes to specialists | |
| Pipeline | Sequential agent processing | |
| Debate | Multiple agents propose, one decides | |
| Swarm | Autonomous agents, shared goals | |
| Hierarchical | Manager → workers structure |
7. Prompt Management
Required Patterns:
- [ ] System prompts externalized (not hardcoded)
- [ ] Prompt versioning
- [ ] Variables/templating for dynamic content
- [ ] Prompt testing/validation
- [ ] Clear prompt documentation
GOOD:
8. Observability
Required Patterns:
- [ ] Structured logging (JSON format)
- [ ] Request/response tracing
- [ ] Token usage tracking
- [ ] Latency metrics
- [ ] Error rate monitoring
Logging Checklist:
| Event | Log Level | Required Fields | |
|---|---|---|---|
| Agent start | INFO | task_id, user_id, task | |
| Tool call | DEBUG | tool_name, inputs, duration | |
| Model call | DEBUG | model, tokens_in, tokens_out, latency | |
| Error | ERROR | error_code, message, stack_trace | |
| Agent complete | INFO | task_id, status, total_duration, total_tokens |
GOOD:
Configuration Best Practices
Required Configuration
| Setting | Type | Description | |
|---|---|---|---|
model | string | Model identifier | |
max_iterations | int | Loop limit | |
timeout_seconds | int | Overall timeout | |
tool_timeout | int | Per-tool timeout | |
max_tokens | int | Response limit | |
temperature | float | Model temperature | |
retry_attempts | int | Retry count |
Configuration Hierarchy
GOOD:
Testing Patterns
Test Categories
| Type | Coverage | Purpose | |
|---|---|---|---|
| Unit | Tools, utilities | Isolated component tests | |
| Integration | Agent + tools | End-to-end flows | |
| Snapshot | Prompts | Detect prompt regressions | |
| Eval | Agent responses | Quality benchmarks |
Required Tests
- [ ] Tool input validation tests
- [ ] Tool error handling tests
- [ ] Agent termination condition tests
- [ ] State transition tests
- [ ] Prompt template rendering tests
- [ ] Configuration loading tests
GOOD:
Review Output Format
Anti-Patterns to Flag
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-review/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 12 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/igbuend/grimbard/agent-review)