linear-issue-fixer
БесплатноБез исполняемых скриптовНе проверенFetch the most urgent Linear issue with tag "studio" and size XS, then fix it
от genlayerlabs★ 188 звёзд на GitHubОб этом скилле
Linear Issue Fixer
Automatically fetch the most urgent Linear issue with the "studio" label and "XS" size estimate, analyze it, implement a fix, verify with tests, and create a pull request.
Prerequisites
- Linear MCP server connected
- GitHub CLI (
gh) authenticated - Docker running (for integration tests)
- Python 3.12 with virtualenv
- Checkout
mainbranch and pull the latest changes
Linear MCP Server Setup
If Linear MCP is not configured, set it up first:
claude mcp add --transport sse linear https://mcp.linear.app/sse
Then restart Claude Code and run /mcp to authenticate with Linear via OAuth.
Alternatively, add via JSON:
claude mcp add-json linear '{"command": "npx", "args": ["-y","mcp-remote","https://mcp.linear.app/sse"]}'
To troubleshoot auth issues:
rm -rf ~/.mcp-auth
Workflow
Step 1: Fetch Candidate XS Studio Issues
Use Linear MCP tools to find candidate issues:
1. First, check Linear MCP is connected:
Run /mcp to verify "linear" server is connected
2. Search for issues with "studio" label and XS size:
Use list_issues with:
- label: "studio"
- Sort by priority (highest first)
- limit: 10
3. Filter results to find XS-sized issues:
- Look for issues with estimate/size "XS" or 1 point
- Prioritize by urgency: Urgent > High > Medium > Low
4. If a specific issue ID was provided as argument, fetch that instead:
$ARGUMENTS
Priority Levels in Linear:
- 1 = Urgent
- 2 = High
- 3 = Medium
- 4 = Low
- 0 = No priority
Step 2: User Selection
IMPORTANT: Always ask the user to select which issue to work on.
Present the candidate issues to the user with:
- Issue identifier (e.g., DXP-123)
- Title
- Priority level
- Size estimate
- Brief description summary
Use the AskUserQuestion tool to let the user choose which issue to work on. Do NOT proceed with an issue automatically - always wait for user confirmation.
Example prompt:
I found the following XS studio issues:
1. DXP-456 [High] "Fix address validation" - XS
2. DXP-789 [Medium] "Update error message" - XS
3. DXP-012 [Low] "Typo in config" - XS
Which issue would you like me to work on?
Step 3: Analyze the Selected Issue
Once the user has selected an issue:
1. Get full issue details including:
- Title and description
- Current status
- Any linked issues or dependencies
- Comments with context
- Acceptance criteria
2. Understand the scope:
- What files are likely affected?
- Is this a bug fix, feature, or improvement?
- Are there any blocking dependencies?
Gather from analysis:
- Issue type (bug, feature, task, improvement)
- Affected area (backend, frontend, infrastructure)
- Expected behavior vs current behavior
- Acceptance criteria
- Related files mentioned in description
Step 4: Explore the Codebase
Before implementing, understand the relevant code:
1. Launch an Explore agent to find relevant code:
- Search for files/functions mentioned in the issue
- Understand the existing implementation
- Identify patterns and conventions used
2. Read key files that will need modification
3. Check for existing tests covering the affected area
Step 5: Plan the Fix
Create a clear implementation plan:
Root Cause / Current State
- What is the current behavior?
- Why does it need to change?
Proposed Solution
- What changes are needed?
- Which files need modification?
- Are there related areas to consider?
Risk Assessment
- Could this fix break other functionality?
- Does it need backward compatibility?
Testing Strategy
- What unit tests should be added/modified?
- What integration tests are relevant?
Present the plan to the user and get approval before implementing.
Step 6: Implement the Fix
Create a Feature Branch
git checkout main git pull origin main git checkout -b <issue-identifier>-<short-description>Use the Linear issue identifier (e.g.,
DXP-123) as branch prefix.Make Code Changes
- Implement the planned fix
- Follow codebase conventions
- Add appropriate error handling
- Add or update tests
Commit Changes
git add <files> git commit -m "<type>: <description> Resolves <LINEAR-ISSUE-ID> Co-Authored-By: Claude <[email protected]>"
Step 7: Run ALL Test Suites
IMPORTANT: You MUST run ALL of the following test suites before creating a PR. Do NOT skip any.
7.1 DB/SQLAlchemy Tests (Primary Backend Tests - Dockerized)
docker compose -f tests/db-sqlalchemy/docker-compose.yml --project-directory . run --build --rm tests
7.2 Backend Unit Tests
.venv/bin/pytest tests/unit/ -v --tb=short --ignore=tests/unit/test_rpc_endpoint_manager.py
7.3 Frontend Unit Tests
cd frontend && npm run test
If any tests fail:
- Analyze the
Установить linear-issue-fixer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл linear-issue-fixer?
Fetch the most urgent Linear issue with tag "studio" and size XS, then fix it
Как установить скилл linear-issue-fixer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл linear-issue-fixer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic