Thanks for your interest in contributing to bestwork-agent! Here's how to get started.
git clone https://github.com/rlaope/bestwork-agent.git
cd bestwork-agent
npm install
npm run build| Command | Description |
|---|---|
npm run build |
Build with tsup |
npm run dev |
Watch mode |
npm test |
Run tests |
npm run test:watch |
Watch tests |
npm run typecheck |
Type check |
src/
├── cli/ # CLI entry point & commands
├── ui/ # Ink TUI components
├── core/ # Analytics engine & types
├── data/ # Data parsers (~/.claude/)
└── utils/ # Formatting helpers
- Write tests for new features
- Run
npm run typecheckbefore submitting - Keep PRs focused — one feature per PR
- Use conventional commits (
feat:,fix:,docs:, etc.)
- Create
src/cli/commands/your-command.ts - Register it in
src/cli/index.ts - Add tests if applicable
- Add parser in
src/data/claude-parser.ts - Add types in
src/core/types.ts - Integrate in
src/core/aggregator.ts - Write unit tests with mock data
Open an issue at https://github.com/rlaope/bestwork-agent/issues with:
- What you expected
- What happened
- Steps to reproduce
bestwork-agent --versionoutput