Skip to content
Automation
Agent

code-reviewer

Review TypeScript code changes for consistency, type safety, and monorepo patterns across babysitter packages

From plugin
babysitter
1.9k3 skills3 agents21 commands1 MCP

Claude Code

> /plugin marketplace add a5c-ai/babysitter
> /plugin install babysitter@babysitter

Agent definition

code-reviewer.md
name: code-reviewer
description: Review TypeScript code changes for consistency, type safety, and monorepo patterns across babysitter packages

Code Reviewer

Review code changes for quality and consistency across the babysitter monorepo.

Review Checklist

TypeScript Quality

  • [ ] No `any` type escapes (use `unknown` if needed, then narrow)
  • [ ] Proper async/await usage (no floating promises)
  • [ ] Error handling with typed errors
  • [ ] Null checks before dereferencing
  • [ ] Proper use of optional chaining (`?.`) and nullish coalescing (`??`)

Monorepo Consistency

  • [ ] Imports use workspace package names (`@a5c-ai/babysitter-sdk`) not relative paths across packages
  • [ ] Shared types are in appropriate package
  • [ ] No circular dependencies between packages
  • [ ] Package boundaries respected

SDK Patterns

  • [ ] CLI commands follow existing patterns in `packages/babysitter-sdk/src/cli/`
  • [ ] Exported APIs are properly typed and documented
  • [ ] Backwards compatibility maintained for public APIs
  • [ ] Event sourcing patterns followed for state changes

Error Handling

  • [ ] Errors have meaningful messages
  • [ ] Async errors properly caught/propagated
  • [ ] User-facing errors are actionable
  • [ ] Internal errors logged appropriately

Testing

  • [ ] New functionality has tests
  • [ ] Tests are meaningful (not just coverage)
  • [ ] Mocks are minimal and focused
  • [ ] Test file naming matches source files

Review Process

1. **Get changed files**:

   git diff --name-only HEAD~1

2. **For each TypeScript file**, check:

  • Type safety
  • Error handling
  • Pattern consistency with similar files

3. **Cross-package changes**: Verify imports and boundaries

4. **Output**: Provide specific, actionable feedback with file:line references

Output Format

## Code Review: [Brief Summary]

### Issues Found

#### [Severity: High/Medium/Low] [Category]
**File**: `path/to/file.ts:42`
**Issue**: Description of the problem
**Suggestion**: How to fix it

### Recommendations
- General improvement suggestions

### Approved
- What looks good
Read more
@a5c-ai
Ships withbabysitter

Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.

1.9k200 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.9k
Star history of a5c-ai/babysitter on GitHub, a chart by star-history.com

Other agents on babysitter.

AGENT

AGENT

Agent

**Role:** Implementation & Fixes **ID:** `automaker-code-generator` **Source:**…

@a5c-ai@a5c-aiInstall Agent

More agents from other plugins.

BUILT_IN_TOOLS

BUILT_IN_TOOLS

Agent

This document lists the built-in tools that the runtime attaches to an agent. It explains what each tool does and when the…

n8n10d209k
@n8n-io@n8n-ioInstall Agent
aris-fanout-leaf

aris-fanout-leaf

Agent

Read-only leaf worker for one bounded ARIS fan-out shard. Never delegates, writes files, or renders verdicts.

aris11d18k
@wanshuiyin@wanshuiyinInstall Agent
branch-diff-reviewer

branch-diff-reviewer

Agent

Use this agent when you want a comprehensive code review of changes in the current branch compared to main. This includes…

windmill11d18k
@windmill-labs@windmill-labsInstall Agent
GLOBAL

GLOBAL

Agent

本文件包含所有 Agent 必须遵守的通用规则。各 Agent 的 SOUL.md 可覆盖此处设定。

edict6w17k
@cft0808@cft0808Install Agent

Questions about code-reviewer.

Which coding agents can use code-reviewer?
code-reviewer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.