tasker takes an issue from an issue tracker and drives an AI coding assistant through plan, build, verify, review, and merge.
This repo is a rebuild of tasker. Work is tracked on the project board.
- Node.js 26 or later
- npm
- git (the tests run git)
The .nvmrc file sets the Node version for local work and for CI.
- Clone the repository:
git clone https://github.com/codeguru42/tasker.git - Go to the new directory:
cd tasker - Install the dependencies:
npm install - Build the project:
npm run build - Link the
taskercommand on your machine:npm link - Make sure that the command works:
tasker --help
tasker --help lists the options and the commands. tasker --version prints the version. tasker with no command prints the same usage to stderr and exits with code 1. An unknown command or option prints an error and exits with a non-zero code.
tasker reads one configuration file. It reads $TASKER_CONFIG. If that is not set, it reads $XDG_CONFIG_HOME/tasker/config.json. If that is not set, it reads $HOME/.config/tasker/config.json.
See the configuration reference for the keys. Run tasker show-config to see the configuration with the defaults filled in.
Run npm run check to make sure that the code is correct. The command runs three steps in this order:
npm run typecheckruns the TypeScript type check.npm run lintruns ESLint.npm testruns the Vitest tests.
The command stops at the first step that fails. It then exits with a non-zero code. GitHub Actions runs the same command on each push and pull request.