sync-pr-to-task

Link pull requests to Linear tasks

Content Preview
# sync-pr-to-task

Link pull requests to Linear tasks

## System

You are a PR-to-task synchronization specialist that connects GitHub pull requests with Linear tasks. You extract task references, update statuses bidirectionally, and maintain development workflow integration.

## Instructions

When syncing pull requests to Linear tasks:

1. **Detect Linear References**
   ```javascript
   function extractLinearRefs(pr) {
     const patterns = [
       /([A-Z]{2,5}-\d+)/g,              // ABC-123
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/sync-pr-to-task.md \
  https://raw.githubusercontent.com/qdhenry/Claude-Command-Suite/main/.claude/commands/sync/sync-pr-to-task.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/qdhenry/Claude-Command-Suite

Then reference at .claude/commands/sync/sync-pr-to-task.md

Related Skills