linear-issue-driven-development

Orchestrate a Linear issue workflow to merged GitHub pull request with CI monitoring and review resolution.

Updated May 17, 2022
One-click install
npx skills add https://github.com/kanade0404/dotfiles --skill linear-issue-driven-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linear-issue-driven-development
Source: https://github.com/kanade0404/dotfiles/tree/main/.opencode/skills/linear-issue-driven-development
Command: npx skills add https://github.com/kanade0404/dotfiles --skill linear-issue-driven-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual overhead of taking a Linear issue from assignment to a production-ready pull request, so a headless agent can drive the work end to end without human babysitting.

Core Features & Use Cases

  • Issue Intake and Locking: Fetches a Linear issue, verifies it is ready, and uses a lock marker plus label transitions to prevent duplicate concurrent runs.
  • Repository Execution Flow: Clones the correct repository, creates the branch from the default base, implements the smallest acceptable change, and commits with the required issue reference.
  • PR and Review Automation: Pushes the branch, opens a GitHub PR, watches CI until green, and resolves review threads until the PR is mergeable.
  • Use Case: A recurring agent wakes up every hour, picks one claude:ready issue, completes the implementation, and leaves behind a clean, reviewable PR with the correct final status labels.

Quick Start

Ask the skill to take a specific Linear issue and carry it all the way to a green, review-clean pull request.

Frequently Asked Questions about linear-issue-driven-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Linear issue to GitHub pull request workflows?

Automating Linear issue to GitHub pull request workflows involves using a headless agent to clone the repository, implement changes, push branches, open PRs, monitor CI, and resolve review threads until mergeable. This Skill orchestrates that entire process end to end.

What is issue-driven development automation for headless agents?

Issue-driven development automation for headless agents is a process where an agent fetches a ready Linear issue, locks it to prevent duplicate runs, implements the smallest acceptable change, and leaves a clean, reviewable PR with correct final status labels.

Do I need separate tokens for Linear API and GitHub integration?

Yes, you need separate authentication tokens. The workflow requires Linear API authentication to fetch and update issue statuses, and a GitHub token to clone repositories, push commits, open pull requests, and resolve review threads.

How does automated CI monitoring work for GitHub pull requests?

Automated CI monitoring watches GitHub pull request checks until they turn green. Once CI passes, the workflow proceeds to resolve any review threads, ensuring the pull request reaches a fully mergeable state without manual intervention.

How do I prevent duplicate concurrent runs on the same Linear issue?

To prevent duplicate concurrent runs on the same Linear issue, the workflow uses a lock marker and label transitions. This ensures only one headless agent processes a specific issue at a time, managing failure states through dedicated label updates.

What is the best way to manage failure states in automated pull request workflows?

The best way to manage failure states in automated pull request workflows is through failure-state label management. This Skill applies specific label transitions on Linear issues when errors occur, ensuring clear tracking and preventing duplicate processing attempts.