/sync-linear
Sync current work with Linear ticket status
$ npx -y skills add bybren-llc/safe-agentic-workflow --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/sync-linear
Context preview
What this command does when you run it.
Sync current work with Linear ticket status
Command definition
sync-linear.mddescription: Sync current work with Linear ticket status
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, mcp__{{MCP_LINEAR_SERVER}}__*]Synchronize current branch work with Linear ticket, ensuring ticket reflects actual progress.
Sync Workflow
1. Get Current Ticket
Extract WOR number from branch:
git branch --show-current | grep -oE '{{TICKET_PREFIX}}-[0-9]+'Fetch ticket details:
mcp__{{MCP_LINEAR_SERVER}}__get_issue {{{TICKET_PREFIX}}-number}2. Analyze Work Done
Check commits since dev:
git log origin/dev..HEAD --oneline
git diff origin/dev --stat
Analyze:
- Number of commits
- Files changed
- Lines added/removed
- Work scope
3. Determine Status
Based on work analysis:
**If commits exist but incomplete**:
- Status: "In Progress"
- Add progress comment
**If work complete, no PR**:
- Status: "Ready for Review" or keep "In Progress"
- Add completion comment
**If PR created**:
- Status: "In Review"
- Link PR in comment
**If PR merged**:
- Status: "Done" (often auto-synced by GitHub-Linear integration for tickets referenced in commit messages)
- Manually close any child stories not referenced in commits
- Add completion timestamp
**If blocked**:
- Status: "Blocked"
- Document blocker
4. Update Ticket Status
Use Linear MCP to update:
mcp__{{MCP_LINEAR_SERVER}}__update_issueUpdate fields:
- Status (based on analysis)
- Progress percentage (if tracked)
- Labels (add "in-progress", "blocked", etc.)
5. Add Progress Comment
Create detailed comment:
## Progress Update - {date}
### Work Completed
- {commit 1 summary}
- {commit 2 summary}
- {commit 3 summary}
### Files Modified
- {file list with line counts}
### Next Steps
1. {next task}
2. {next task}
### Blockers
- {blocker if any}
### Timeline
- Started: {date}
- Current: {percentage}% complete
- Est. completion: {date/unknown}Add comment via:
mcp__{{MCP_LINEAR_SERVER}}__create_comment6. Link Related Items
If applicable:
- Link to PR (if created)
- Link to related tickets
- Link to documentation
- Reference design docs
7. Update Labels
Add appropriate labels:
- `in-progress` - Active work
- `blocked` - Waiting on something
- `needs-review` - Ready for review
- `needs-testing` - Ready for QA
8. Notify Stakeholders
If status change is significant:
- Tag relevant people in comment
- Update project board (if used)
- Mention in team standup notes
Common Scenarios
Scenario: Starting Work
Status: Todo → In Progress
Comment: "Starting work on {ticket}. Plan: {approach}"Scenario: Mid-Work Update
Status: In Progress (no change)
Comment: Progress update with work done, next steps
Scenario: Work Complete
Status: In Progress → Ready for Review
Comment: "Work complete. PR: {link}. Ready for review."Scenario: Blocked
Status: In Progress → Blocked
Comment: "Blocked by {issue}. Need: {what}. Impact: {timeline}"Scenario: PR Created
Status: Ready for Review → In Review
Comment: "PR #{number} created: {link}"
Link: Add PR link to ticketSuccess Criteria
- ✅ Ticket status matches actual work state
- ✅ Progress is documented
- ✅ Stakeholders informed
- ✅ Next steps clear
- ✅ Timeline updated
Sync Frequency
Sync ticket:
- **Daily**: If active work
- **Before standup**: Team visibility
- **After major progress**: Keep stakeholders informed
- **When blocked**: Immediate notification
- **PR created/merged**: Status transitions
This keeps Linear as single source of truth for project status.
Read more
description: Sync current work with Linear ticket status
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob, mcp__{{MCP_LINEAR_SERVER}}__*]Synchronize current branch work with Linear ticket, ensuring ticket reflects actual progress.
Sync Workflow
1. Get Current Ticket
Extract WOR number from branch:
git branch --show-current | grep -oE '{{TICKET_PREFIX}}-[0-9]+'Fetch ticket details:
mcp__{{MCP_LINEAR_SERVER}}__get_issue {{{TICKET_PREFIX}}-number}2. Analyze Work Done
Check commits since dev:
git log origin/dev..HEAD --oneline git diff origin/dev --stat
Analyze:
- Number of commits
- Files changed
- Lines added/removed
- Work scope
3. Determine Status
Based on work analysis:
**If commits exist but incomplete**:
- Status: "In Progress"
- Add progress comment
**If work complete, no PR**:
- Status: "Ready for Review" or keep "In Progress"
- Add completion comment
**If PR created**:
- Status: "In Review"
- Link PR in comment
**If PR merged**:
- Status: "Done" (often auto-synced by GitHub-Linear integration for tickets referenced in commit messages)
- Manually close any child stories not referenced in commits
- Add completion timestamp
**If blocked**:
- Status: "Blocked"
- Document blocker
4. Update Ticket Status
Use Linear MCP to update:
mcp__{{MCP_LINEAR_SERVER}}__update_issueUpdate fields:
- Status (based on analysis)
- Progress percentage (if tracked)
- Labels (add "in-progress", "blocked", etc.)
5. Add Progress Comment
Create detailed comment:
## Progress Update - {date}
### Work Completed
- {commit 1 summary}
- {commit 2 summary}
- {commit 3 summary}
### Files Modified
- {file list with line counts}
### Next Steps
1. {next task}
2. {next task}
### Blockers
- {blocker if any}
### Timeline
- Started: {date}
- Current: {percentage}% complete
- Est. completion: {date/unknown}Add comment via:
mcp__{{MCP_LINEAR_SERVER}}__create_comment6. Link Related Items
If applicable:
- Link to PR (if created)
- Link to related tickets
- Link to documentation
- Reference design docs
7. Update Labels
Add appropriate labels:
- `in-progress` - Active work
- `blocked` - Waiting on something
- `needs-review` - Ready for review
- `needs-testing` - Ready for QA
8. Notify Stakeholders
If status change is significant:
- Tag relevant people in comment
- Update project board (if used)
- Mention in team standup notes
Common Scenarios
Scenario: Starting Work
Status: Todo → In Progress
Comment: "Starting work on {ticket}. Plan: {approach}"Scenario: Mid-Work Update
Status: In Progress (no change) Comment: Progress update with work done, next steps
Scenario: Work Complete
Status: In Progress → Ready for Review
Comment: "Work complete. PR: {link}. Ready for review."Scenario: Blocked
Status: In Progress → Blocked
Comment: "Blocked by {issue}. Need: {what}. Impact: {timeline}"Scenario: PR Created
Status: Ready for Review → In Review
Comment: "PR #{number} created: {link}"
Link: Add PR link to ticketSuccess Criteria
- ✅ Ticket status matches actual work state
- ✅ Progress is documented
- ✅ Stakeholders informed
- ✅ Next steps clear
- ✅ Timeline updated
Sync Frequency
Sync ticket:
- **Daily**: If active work
- **Before standup**: Team visibility
- **After major progress**: Keep stakeholders informed
- **When blocked**: Immediate notification
- **PR created/merged**: Status transitions
This keeps Linear as single source of truth for project status.
SAW — SAFe Agentic Workflow AI Agent Harness for Multi-Agent Team Workflows Built on SAFe methodology (Scaled Agile Framework), adapted for AI agent teams (Now With AI-DLC!) Works for any team with repeatable processes: Software, Marketing, Research, Legal, Operations.
Other commands on safe-agentic-workflow.
- /audit-deps
Run comprehensive dependency audit
Open command - /check-docker-status
Check if {{DEV_MACHINE}} Docker environment needs updating
Open command - /check-workflow
Quick status check of current workflow state
Open command - /deploy-dev
Deploy latest Docker image to {{DEV_MACHINE}} dev environment
Open command - /dev-health
Check {{DEV_MACHINE}} dev environment health dashboard
Open command - /dev-logs
View {{DEV_MACHINE}} dev container logs
Open command

