Tasker 从问题追踪器中提取问题,驱动 AI 编码助手完成规划、构建、验证、审查和合并。
概览
Tasker 从问题追踪器中提取问题,驱动 AI 编码助手完成规划、构建、验证、审查和合并。 - Node.js 26 或更高版本 - npm - git - 一个 AI 编码助手:任务者运行 Claude 代码,并使用 claude 命令。助手配置会选择它。- 问题跟踪器:对于 GitHub 跟踪器,tasker 运行 gh 命令,正如追踪器配置所示。 1. 克隆仓库:git clone https://github.com/codeguru42/tasker.git 2.进入新目录:cd tasker 3.安装依赖:npm install 4.构建项目:npm run build 5。在你的机器上链接tasker命令:npm link 6。确保命令正常工作:tasker --help Tasker --help 列出选项和命令。Tasker --version 打印版本。Tasker 无命令时将相同用法打印给 stderr,并以代码 1 退出。未知命令或选项打印错误并以非零代码退出。 任务者读取了一个配置文件。它读取了$TASKER_CONFIG。
概述(AI 翻译)
Tasker 从问题追踪器中提取问题,驱动 AI 编码助手完成规划、构建、验证、审查和合并。
要求
- Node.js 26岁及以上
- NPM
- git
- 一个AI编码助手:任务者用
claude命令运行Claude代码。助手配置会选择它。 - 问题追踪器:对于GitHub追踪器,任务者执行
gh命令,正如追踪器配置所说。issueTracker.account账户的gh登录需要令牌范围repo,正如令牌范围所说。
安装
- 克隆仓库:
git clone https://github.com/codeguru42/tasker.git。在现有克隆中,运行git fetch --tags。 - 进入克隆人的文件夹:
cd tasker - 查看版本标签:
git checkout v - 安装依赖:
npm ci - 创建包文件:
npm pack - 安装包文件:
npm install -g ./tasker- .tgz - 确保
tasker --version打印。 - 运行
tasker install-skills,让助手找到tasker技能。
更新时,对新版本的标签重复同样步骤。
tasker --help 列出选项和命令。tasker --version 打印版本。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
tasker
tasker takes an issue from an issue tracker and drives an AI coding assistant through plan, build, verify, review, and merge.
Requirements
- Node.js 26 or later
- npm
- git
- An AI coding assistant: tasker runs Claude Code with the
claudecommand. The assistant configuration selects it. - An issue tracker: for a GitHub tracker, tasker runs the
ghcommand, as the tracker configuration says. Theghlogin of the account ofissueTracker.accountneeds the token scoperepo, as the token scopes say. For a Jira tracker, tasker runsacli, as the acli login says.
Install
- Clone the repository:
git clone https://github.com/codeguru42/tasker.git. In an existing clone, run the commands for the kind of install instead:- For a stable release, run
git fetch --tags. Step 3 then checks out the tag. - For a development version, run
git checkout main, thengit pull --ff-only origin main.git fetch --tagschanges only the remote branches and the tags, not the localmain.
- For a stable release, run
- Go to the folder of the clone:
cd tasker - Optional: to install a stable release, check out its tag, for example
git checkout 2026.10.24. To give the install a version of your own, add a local tag on HEAD:git tag. - Run
npm run install:global. On the newest commit ofmain, it installs a development version.
The script stops before the install when HEAD has two or more tags. It also stops when the working tree has changes,
also untracked files. The script runs tasker install-skills, so that an assistant finds the tasker skill.
For an update of a stable release, run git fetch --tags, then check out the tag of the new version, then do step 4.
For an update of a development version, run git checkout main, then git pull --ff-only origin main, then do step 4.
docs/dev/release.md gives the steps of a stable release and of a pre-release. For the pre-release steps, see Install a pre-release.
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.
Configuration
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 tasker doctor to make sure that the machine is set up.
Quick start
In each command, `` is the issue key of the issue, for example
owner/repo#N.
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add codeguru42/tasker