- Node.js >= 22 (LTS)
- pnpm —
npm install -g pnpm - Claude Code — install. We use Claude Code + dev-agent for development.
- dev-agent —
npm install -g @prosdevlab/dev-agent - Antfly — local search backend. Run
dev setupafter install.
# Clone and install
git clone https://github.com/prosdevlab/dev-agent.git
cd dev-agent
pnpm install
# Start Antfly (one-time setup)
dev setup
# Index the codebase
dev index
# Install MCP server for Claude Code
dev mcp install
# Build and test
pnpm build
pnpm testWe use Claude Code with dev-agent's MCP tools for development. The tools provide semantic code search, call graph tracing, pattern analysis, and codebase structure — saving significant context window usage.
- Index the repo:
dev index(run after pulling changes) - Understand the area:
dev search "your topic",dev map --focus packages/core - Plan non-trivial features: Write a plan in
.claude/da-plans/and run theplan-revieweragent before implementation
pnpm dev # Watch mode
pnpm test # Run tests (from root, NOT turbo test)
pnpm lint # Biome lint
pnpm typecheck # Type check (AFTER pnpm build)- Run the
code-revieweragent on your branch diff - Address any CRITICAL or WARNING findings
- Add a changeset:
pnpm changeset(only for@prosdevlab/dev-agentor@prosdevlab/kero) - Update release notes in
website/content/updates/index.mdxandwebsite/content/latest-version.ts
Conventional Commits enforced by commitlint.
type(scope): description
feat(mcp): add health check adapter
fix(core): resolve vector search timeout
docs: update CLAUDE.md
chore: update dependencies
Types: feat, fix, docs, style, refactor, perf, test, chore, ci
- Create a branch:
git checkout -b feat/my-feature - Make your changes with tests
- Run the full validation suite:
pnpm build && pnpm test && pnpm typecheck && pnpm lint - Run
code-revieweragent on the diff - Add a changeset if the change affects published packages
- Push and create a PR to
main
dev search "authentication" # Semantic code search
dev refs "functionName" # Find callers/callees
dev refs "fn" --depends-on "src/db.ts" # Trace dependency chain
dev map # Codebase structure overview
dev map --focus packages/core --depth 3 # Focused mapWe use Claude Code agents for code review, research, and planning:
| Agent | Purpose |
|---|---|
code-reviewer |
Orchestrates security, logic, and quality review in parallel |
research-planner |
Maps internal code + delegates external research to sub-agents |
plan-reviewer |
Two-pass plan review (engineer + SDET) |
bug-investigator |
Systematic root cause analysis |
quick-scout |
Fast codebase exploration |
Agents use dev-agent's MCP tools (dev_search, dev_refs, dev_map, dev_patterns)
to understand the codebase without reading every file.
See CLAUDE.md for the full monorepo structure, build order, MCP tools reference, and non-negotiables.
- Tests run from root only:
pnpm test - Build before typecheck:
pnpm buildthenpnpm typecheck - Biome for linting:
pnpm lint(not ESLint)
| Code type | Coverage target |
|---|---|
| Pure utilities | 100% |
| Integration | >80% |
| CLI/UI | >60% |
See TESTABILITY.md for detailed guidelines.
We use Changesets for versioning.
Only @prosdevlab/dev-agent and @prosdevlab/kero are published — all other
packages are private and bundled.
pnpm changeset # Create a changesetWhen adding a changeset, also update:
website/content/updates/index.mdx— release noteswebsite/content/latest-version.ts— latest version callout
Open an issue or discussion in the repository.