{"slug": "automating-end-to-end-pull-request-workflows-with-claude-task-master", "title": "Automating End-to-End Pull Request Workflows with Claude Task Master", "summary": "An open-source command-line tool called Claude Task Master (claudetm) automates end-to-end pull request workflows by keeping Claude working until a goal is met, handling planning, coding, PR creation, CI failure fixes, review comments, and merges. Built on the Claude Agent SDK, it supports isolated OAuth and API-key profiles so multiple teams can run separate Claude subscriptions on one machine, and exposes an MCP server, REST API, and HMAC-signed webhooks for programmatic integration. The tool is MIT-licensed and installable via PyPI or Docker.", "body_md": "Claude Task Master (`claudetm`) is a command-line tool that keeps Claude working until a goal is achieved. It plans, codes, opens pull requests, handles CI failures, addresses review comments, and merges when everything passes. The tool is built on the Claude Agent SDK and works with the Claude Code session or a direct Anthropic-compatible API.\n\nThe workflow follows four stages: planning, working, PR lifecycle, and verification. In the planning stage the CLI scans the codebase, creates a task list, and defines success criteria. During working it makes changes, runs tests, commits, and pushes to a branch. The PR lifecycle stage opens a pull request, waits for CI checks, fixes failures, and responds to review comments. Finally verification runs the test suite and lint checks before declaring the task complete.\n\n```\n# Install via pip, uv, or Docker\nuv tool install claude-task-master\n\n# Authenticate with Claude Code\nclaude login\n\n# Run a task in your project\ncd your-project\nclaudetm start \"Add user authentication with tests\"\n```\n\nThe CLI will create a branch, push commits, open a PR, and keep the loop running until the tests pass and the PR is approved.\n\nClaude Task Master supports isolated profiles. An `oauth` profile stores a separate Claude Code configuration under `~/.claudetm/profiles/<name>/`. An `api-key` profile injects `ANTHROPIC_API_KEY` and `ANTHROPIC_BASE_URL`. This lets multiple teams run different Claude subscriptions on the same machine without conflict.\n\n```\n# Create a new profile\nclaudetm profile add myteam --type oauth\n\n# Use the profile for a task\nclaudetm --profile myteam start \"Refactor payment module\"\n```\n\nThe tool also runs an MCP server and a REST API that expose the same lifecycle programmatically. Webhooks are HMAC-signed, allowing external systems to receive updates on task progress, CI results, and merge events. This makes it easy to embed Claude Task Master into CI pipelines, dashboards, or custom bots.\n\nClaude Task Master provides a hands-off, PR-based development experience that survives interruptions and supports multiple isolated Claude subscriptions. It is open source under the MIT license and can be installed via PyPI or Docker. Check the repository for more details and contribute if you see an opportunity to improve it.", "url": "https://wpnews.pro/news/automating-end-to-end-pull-request-workflows-with-claude-task-master", "canonical_source": "https://dev.to/developerzai/automating-end-to-end-pull-request-workflows-with-claude-task-master-35mo", "published_at": "2026-11-03 22:10:03+00:00", "updated_at": "2026-11-03 22:22:20.058303+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools", "agent-protocols", "artificial-intelligence"], "entities": ["Claude Task Master", "claudetm", "Claude Agent SDK", "Claude Code", "Anthropic", "PyPI", "Docker"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/automating-end-to-end-pull-request-workflows-with-claude-task-master", "markdown": "https://wpnews.pro/news/automating-end-to-end-pull-request-workflows-with-claude-task-master.md", "text": "https://wpnews.pro/news/automating-end-to-end-pull-request-workflows-with-claude-task-master.txt", "jsonld": "https://wpnews.pro/news/automating-end-to-end-pull-request-workflows-with-claude-task-master.jsonld"}}