linear-task
Skill by mercurjs
Picks up a Linear issue from a URL or identifier, implements it in a git worktree, and opens a pull request to main. It moves the issue through the In Progress, Waiting For Review and Blocked columns. Written for the mercurjs/mercur team.
Install linear-task
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mercurjs/mercur /tmp/mercur && mkdir -p ~/.claude/skills && cp -r /tmp/mercur/.claude/skills/linear-task ~/.claude/skills/linear-taskRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mercurjs/mercur /tmp/mercur && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/mercur/.claude/skills/linear-task ~/.gemini/antigravity-cli/skills/linear-taskAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
linear-task is an agent skill that takes a Linear issue, given as a URL or an identifier such as MER-130, and works it from start to finish. It fetches the issue, moves its status to In Progress, and creates a separate git worktree named after the issue so the user's main checkout is not touched. It then implements the spec, runs lint and build, runs integration tests where relevant, commits, pushes, and opens a pull request to main.
When the work is done, the skill moves the issue to Waiting For Review and posts the PR link as a comment. If it hits a real blocker, it posts a comment explaining what is needed and sets the issue to Blocked. The skill is written for the mercurjs/mercur repository and the MER Linear team, and it uses bun only. It does not merge PRs or delete worktrees or branches.
Written from the project's SKILL.md and checked against it.
What it can do
- Fetch issueReads the title, description, branch name and attachments of a Linear issue via get_issue.
- Set issue statusMoves the issue to In Progress, Waiting For Review or Blocked via save_issue.
- Comment on issuePosts a pickup note, the PR URL or a blocker explanation via save_comment.
- List statusesLists Linear status names and IDs with list_issue_statuses when a name lookup fails.
- Worktree setupCreates a git worktree from origin/main, named after the issue identifier.
- Verify changesRuns bun run lint and bun run build, plus integration tests when the change needs them.
- Open pull requestCommits, pushes and opens a pull request to main with gh pr create.
- Blocker handlingPosts what was tried and what is needed, then moves the issue to Blocked.
What you need
- Linear access through the Linear MCP tools
- Git
- GitHub CLI (gh)
- bun
Try asking
- Pick up MER-130 and ship it
- Work on https://linear.app/rigbyjs/issue/MER-130 and open a PR
- Take MER-204, implement it, and move it to Waiting For Review
Good to know
- Does not merge pull requests. Review and merge are human steps.
- Does not delete worktrees or branches.
- Uses bun only. npm, yarn and pnpm are not used.
- Does not edit architecture docs unless the ticket asks for it.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/linear-task/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to linear-task
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
linear-task: common questions
Does it switch branches in my current checkout?
No. The source says each ticket gets its own git worktree, so the user's main working tree is not changed.
What happens when a ticket is blocked?
The skill posts a comment with what it tried, where it got stuck and what it needs, then moves the issue to Blocked.
Does the skill merge the pull request?
No. The source says merging and review are human steps.
How do I install linear-task?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is linear-task free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is linear-task safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to linear-task?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
