| name | linear-workflow |
| description | Manage the end-to-end delivery lifecycle of Linear issues with configurable workflow profiles. Use when the user mentions Linear, an issue identifier (e.g. ABC-123), unfinished requirements or bugs, creating issues, starting/picking up work, implementation plans, branching, PRs, verification, moving to Review, releasing/deploying, or closing issues. Supports minimal (personal projects), standard (small teams), and strict (enterprise) profiles. |
Linear Workflow
Manage Linear issues through a unified lifecycle with configurable safety levels. The Skill uses the Linear integration provided by the current Agent runtime (Linear MCP, API, connector, or equivalent).
Five Non-Negotiable Invariants
These rules apply to all Profiles and cannot be overridden:
- Read-Before-Write โ Re-read the issue before any status change to prevent lost updates
- Write-Back Verification โ Confirm every write succeeded by reading back the new state
- Authorization โ Require explicit user authorization before creating or modifying issues
- Team/Project Boundary โ Respect team and project scope; escalate cross-boundary writes
- Reality Check โ Report completion only with evidence matching the configured
completion_gate
See references/invariants.md for detailed definitions and test cases.
Unified Lifecycle
All Profiles share the same state machine:
discover โ plan โ started โ review โ release โ completed
State Types (Linear API): backlog โ unstarted โ started โ completed โ canceled
Canonical Identifier: Use boundary-safe regex \b[A-Z0-9]{1,5}-\d+\b to extract issue IDs.
Profiles
Linear Workflow offers three profiles that adjust confirmation frequency, audit detail, and automation level while preserving the unified lifecycle:
| Profile | Use Case | Key Traits |
|---|
| minimal | Personal projects, 1โ2 people | Implicit plan confirmation, PR-ready review gate, no audit comments |
| standard | Small teams (3โ5 people) | Risk-based plan confirmation, PR-ready review gate, summary audit comments |
| strict | Enterprise, multi-team, regulated | Explicit plan confirmation, user acceptance review gate, detailed audit comments |
See references/configuration-schema.md for complete profile definitions and configuration.
Execution Context & Workflow Binding (optional)
Optionally retain local execution memory and freeze per-issue governance. Controlled by the execution_context config (mode: disabled | auto | required; default disabled). The full protocol โ Workflow Binding (Layer 1, frozen governance metadata) and Execution Context (Layer 2, execution_context_v1 working memory) โ is in references/execution-context.md. When mode: disabled (default), no Layer 2 files are created; newly bound issues still receive the minimal Layer 1 Workflow Binding (frozen governance record).
Quick Start
1. Discover or Create an Issue
User: "Create a feature to add dark mode"
Agent: Reads user request, asks clarifying questions if needed, creates issue with template, returns issue ID.
2. Start Work
User: "Start work on ABC-123"
Agent: Reads issue, forms implementation plan, confirms (based on profile), creates branch, updates issue to started.
3. Implement and Push
User: "I've pushed the changes"
Agent: Verifies PR is created and CI passes, moves issue to review (based on review_gate).
4. Mark Done
User: "Mark ABC-123 as done"
Agent: Verifies completion evidence (based on completion_gate), moves issue to completed.
Configuration
Create linear-workflow.config.yaml in your project:
version: 1
profile: standard
To override specific strategy items:
version: 1
profile: minimal
overrides:
review_gate: user_acceptance
audit_comments: summary
Run linear-workflow config diagnose to see the effective configuration.
Optional Execution Context. By default (execution_context.mode: disabled) the skill keeps no local working memory and creates no per-issue Workflow Binding beyond the minimal governance record. Set execution_context.mode: auto to let the Agent decide per issue, or required to always retain an execution_context_v1 plan. See references/execution-context.md for the full protocol.
Reference Files
Load only when relevant to the current phase:
Transition Table
| Current State | Allowed Actions | Evidence Required |
|---|
backlog / unstarted | Start work โ started | User confirms start (implicit or explicit per profile) |
started (implementation) | Move to review โ started (review) | User says "verified" or PR ready (per review_gate) |
started (review) | Mark done โ completed | Completion evidence per configured completion_gate |
completed / canceled | None (unless explicit reopen) | โ |
Safety Escalations
- Ambiguous state mapping โ Ask user which state to use
- Cross-project writes โ Require explicit user confirmation (per project_check)
- Missing capabilities โ Report limitation, do not simulate
- Timeout โ Re-read before retry
- Already in target state โ Skip, do not re-write
- Invariant violation โ Report which invariant and why, do not proceed
Supported Operations
- Create Issue: From user request or template
- Read Issue: Get current state, metadata, linked issues
- Start Work: Create branch, update to
started
- Move to Review: Update to
review (per review_gate)
- Mark Done: Update to
completed (per completion_gate)
- Resume Work: Detect and recover interrupted work (branch, PR, CI state)
- Release Coordination: Automatically close related issues (per release_reconciliation)
Error Handling
All errors are reported with:
- What happened: Clear description of the error
- Why it happened: Root cause or constraint violated
- What to do: Suggested next steps
Example:
Error: Cannot mark ABC-123 as done
Reason: completion_gate is "production_deployment" but no deployment evidence found
Action: Provide deployment evidence (logs, health check, etc.) or change completion_gate
Version: 0.5.0
Last Updated: 2026-07-17
Profile Support: minimal, standard, strict