Guide for AI assistants working on devorch.
devorch is a CLI that installs AI workflow automation (subagents, commands, skills) for Claude Code.
devorch/
├── src/
│ ├── cli/ # CLI application (distributed tool)
│ ├── schemas/ # Zod schema definitions
│ └── utils/ # Shared utilities
├── templates/ # Markdown files (commands, subagents, skills)
# ✅ Correct
bun install
bun run dev
bun run build
# ❌ Never
npm install
yarn/pnpmTesting Note: The tests/evals directory contains fixture projects with test files that should not be run. Always use the package.json test scripts:
# ✅ Run standard test suite (excludes evals)
bun run test
# ✅ Or use specific test scripts
bun run test:unit # Unit tests only
bun run test:integration # Integration tests only
# ❌ Never run the test runner directly without paths
# This will incorrectly include eval fixtures:
# bun test (wrong - scans all files including evals)The test script in package.json explicitly specifies directories to avoid the evals fixtures.
// ✅ Correct
import { logger } from '@/utils/logger.js';
import { UserError } from '@/utils/errors.js';
// ❌ Never
import { logger } from '../../../utils/logger.js';