Automated summary
Analyzes Linear issues against the codebase, implements the validated fixes on a branch per issue, and opens a draft pull request for each one.
Strengths
- Checks every issue against the actual code before implementing, producing a Valid/Invalid/Unclear verdict table
- Pauses for human confirmation after triage so you choose which issues get fixed
- Isolates each fix with a stash, a branch off merge-train/spartan, then returns to the original branch and pops the stash
- Traces the whole chain: Linear status set to In Progress, `fix: ... (A-XXX)` commit, and a draft PR referencing the issue
Limitations
- Assumes one specific repo layout: merge-train/spartan and merge-train/spartan-v5 branches, build via `yarn build` inside `yarn-project`
- Requires the Linear MCP server, an authenticated `gh` CLI, and a populated `gitBranchName` field on each issue
- Works through issues sequentially in the main checkout with no parallelization
Use it when a batch of Linear bug reports needs to be verified and fixed end-to-end, with one draft PR per issue.
Avoid it on a repository that doesn't follow the merge-train/spartan branch layout, or when the Linear MCP server or `yarn build` aren't available.
Security analysis
CautionThe skill performs legitimate software-development actions, but it invokes git operations that can alter working trees, push branches, create PRs, and update Linear statuses. There is no evidence of destructive, exfiltrating, or obfuscated behavior, so it is appropriately rated caution rather than risky.
- •Uses powerful shell/git commands: git stash, git checkout -B, git push, and gh pr create
- •Can modify remote repository state by pushing branches and opening draft PRs
- •Updates Linear issue statuses via MCP tool
- •No allowed-tools declared, so execution permissions depend on the host agent configuration
Examples
/fix A-690 A-691 A-692Check whether A-712 is still a real bug in the codebase, and if so implement the fix and open a draft PR — use the fix skill.Run the fix skill on A-700 and A-701, but just give me the triage verdict table for now — don't implement anything yet.name: fix description: Analyze Linear issues, validate them against the codebase, then implement fixes and create draft PRs. argument-hint: <issue-numbers, e.g. A-690 A-691 A-692>
Fix Issues
Given a list of Linear issue numbers, analyze each one against the codebase, then implement fixes and create draft PRs.
Phase 1: Triage (main context)
For each issue number provided:
- Fetch the full issue description using
mcp__linear-server__get_issue. - Investigate the codebase to determine if the issue is valid:
- Find the files/functions mentioned in the issue description.
- Read the relevant code and assess whether the described bug or problem actually exists.
- Produce a summary table for the user:
| Issue | Title | Verdict | Reasoning | |-------|-------|---------|-----------| | A-XXX | ... | Valid / Invalid / Unclear | One-line explanation |
- Ask the user which issues to proceed with. Default is all valid issues.
- For each confirmed issue, set its Linear status to "In Progress" using
mcp__linear-server__save_issue.
Phase 2: Implementation
Work through each confirmed issue sequentially in the main checkout:
-
Stash & branch: Stash any uncommitted changes, then create a branch from
merge-train/spartanusing the issue'sgitBranchNamefrom Linear. For a fix scoped to the v5 release line, branch frommerge-train/spartan-v5(which targetsv5-next) instead.git stash git checkout -B <gitBranchName> origin/merge-train/spartan -
Implement the fix: Edit the relevant files.
-
Build: Run
yarn buildfromyarn-projectto verify the fix compiles. -
Commit: Stage only the changed files and commit with a descriptive message.
- Message format:
fix: <short description> (A-XXX) - Include
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Message format:
-
Push & PR: Push the branch and create a draft PR. Use
--base merge-train/spartan-v5for v5-scoped fixes.git push -u origin <gitBranchName> gh pr create --draft --base merge-train/spartan --title "fix: ..." --body "..."- The PR body should reference the Linear issue (e.g.
Fixes A-XXX).
- The PR body should reference the Linear issue (e.g.
-
Return to original branch: Switch back and restore stashed changes before moving to the next issue.
git checkout <original-branch> git stash pop
Repeat for each issue.
After all issues are done
Report a summary table with the PR URL for each issue, or what went wrong if any failed.
| Issue | Title | PR | |-------|-------|----| | A-XXX | ... | URL or error |
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/fix-linear-issues-and-create-prs-msr1u7e8/download' --output '.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8/SKILL.md.part' && mv '.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8/SKILL.md.part' '.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8/SKILL.md' && test -s '.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/fix' && cp -R '.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8' '.claude/skills/fix'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8'openskills read 'fix-linear-issues-and-create-prs-msr1u7e8'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/fix-linear-issues-and-create-prs-msr1u7e8/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.