Load and implement a specific Linear issue.
Loads a Linear issue and implements it according to your active engineering role
/plugin marketplace add RasmusGodske/dev-agent-workflow/plugin install project-roles@dev-agent-workflowlinear/Load and implement a specific Linear issue.
/linear/work-on-issue <issue-id>
Example: /linear/work-on-issue PRO-123
Recommended: Activate an appropriate role first:
/roles/backend-engineer - For backend issues/roles/frontend-engineer - For frontend issues/roles/fullstack-engineer - For full-stack issues/roles/techlead - For planning/architecture issuesIf no role is active, you'll work as a general engineer.
Fetch the Issue:
mcp__linear-server__get_issue with the issue IDLoad Project Context (if available):
mcp__linear-server__get_projectAnalyze Issue Type:
Verify Role Match:
Check if your current role matches the issue type:
If there's a mismatch, warn the user:
"⚠️ Role Mismatch Detected
I'm currently acting as a [current-role], but this issue appears to be primarily [issue-type] work based on:
- [Reason 1, e.g., "Issue mentions Vue components"]
- [Reason 2, e.g., "File paths reference frontend directory"]
Recommendation: Activate
/roles/[suggested-role]first for better context and conventions.Would you like me to:
- Proceed anyway with my current [role] perspective?
- Wait while you activate the correct role?"
Wait for user confirmation before proceeding with a mismatched role
Verify Branch:
git branch --show-current[project-branch], but you're on [current-branch]. Would you like me to switch branches or continue on the current branch?"mcp__linear-server__update_issue to set status to "In Progress"Work on the issue based on your active role:
Backend Engineer:
Frontend Engineer:
Fullstack Engineer:
Tech Lead:
Backend:
./vendor/bin/sail php artisan test --filter=YourTestFrontend:
When implementation is complete:
Update Status:
mcp__linear-server__update_issue to set status to "Done"Add Implementation Comment:
mcp__linear-server__create_comment with detailed summaryComment Format:
✅ Implementation complete
**Summary:**
[1-3 sentences describing what was implemented and how it works]
**Changes:**
- `app/Services/ReportService.php:45` - Brief description of change
- `app/Data/CreateReportData.php:1` - Brief description of change
- `tests/Feature/ReportExportTest.php:1` - Brief description of change
**Uncertainties/Concerns:**
[Only if applicable - implementation decisions you're unsure about or potential issues]
⚠️ Token refresh interval is set to 15 minutes. May need adjustment for production.
**Testing:**
✅ All tests passing (8 new tests added)
[or]
✅ Tested manually in browser - all interactions working correctly
path/to/file.php:123User: /roles/backend-engineer
[Backend engineer role activated, rules loaded]
User: /linear/work-on-issue PRO-456
You: Loading issue PRO-456: "Add export functionality to reports"
This is a backend task (mentions Services, Controllers, API endpoints).
You're currently acting as Backend Engineer ✓
Branch: feature/report-export (you're on it ✓)
I'll update the issue to "In Progress" and begin implementation.
[Updates Linear, implements, tests]
You: Issue PRO-456 complete! Created ReportExportService, added API endpoint, wrote tests.
Marking as Done in Linear.
User: /roles/backend-engineer
[Backend engineer role activated]
User: /linear/work-on-issue PRO-789
You: Loading issue PRO-789: "Create export dialog component"
⚠️ **Role Mismatch Detected**
I'm currently acting as a **Backend Engineer**, but this issue appears to be primarily **Frontend** work based on:
- Issue title mentions "dialog component"
- Description references Vue components in resources/js/
- Labels include "frontend"
**Recommendation:** Activate `/roles/frontend-engineer` first for better context and conventions.
Would you like me to:
- **Proceed anyway** with my current Backend Engineer perspective?
- **Wait** while you activate the correct role?
User: Wait
You: Understood. Please activate `/roles/frontend-engineer` and then run `/linear/work-on-issue PRO-789` again.
User: /roles/fullstack-engineer
User: /linear/work-on-issue PRO-101
You: Loading issue PRO-101: "Create export dialog component"
This is a frontend task. As a Fullstack Engineer, I can handle this ✓
[Proceeds with implementation]