skills/branch-surgery-pr-split/SKILL.md
Split oversized or mixed-concern branches into smaller, reviewable PR stacks with safety refs, topology selection, parity audits, and merge sequencing. Use when a PR or branch is too large, difficult to review, mixed across concerns, conflict-prone, or needs to be decomposed without losing net changes.
npx skillsauth add liatrio-labs/ai-prompts branch-surgery-pr-splitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to turn a risky monolithic branch into a safe, auditable set of scoped PRs. Treat topology as a decision, not a default recipe, and collaborate with the user before executing branch surgery.
Collect objective signals first:
If signals are incomplete, gather more evidence before recommending topology.
Always provide the top two options with tradeoffs and a recommendation.
Use references/topology-patterns.md to select options.
For each option, include:
Do not skip tradeoffs.
Use targeted discovery questions from references/facilitated-discovery-questions.md.
Confirm constraints before surgery:
If the user is unsure, recommend one option and explain what would change with the second option.
Produce:
Use templates in references/pr-stack-templates.md.
Execution rules:
cherry-pick -n and stage only owned files/hunks.Run audit gates from references/audit-gates.md.
A split is incomplete until all gates pass or deviations are documented.
Mandatory checks:
If audit finds issues:
Then generate PR metadata and merge sequencing notes using references/pr-stack-templates.md.
Always provide:
references/topology-patterns.mdreferences/facilitated-discovery-questions.mdreferences/audit-gates.mdreferences/pr-stack-templates.mdtesting
Interactive GitHub Epic planner. Plans one milestone at a time. The first epic is always Shell (scaffold + CI with a fixed set of stories). Each subsequent epic is defined through operator dialogue. Use /plan-issue to create the individual stories once an epic is defined.
development
Use when you need lightweight browser QA for a web page, local HTML file, or app: inspect console errors, broken assets, keyboard/focus behavior, viewport readability, and publish evidence-backed findings JSON through a local HTML report viewer.
data-ai
Provision DNS records for liatr.io subdomains in the liatrio/liatrio-external-dns repository. Use when adding, modifying, or removing DNS CNAME records, A records, or other Route53 records for liatr.io or k8s-ignite.com domains. Triggers on requests like 'add a domain', 'create a subdomain', 'point X.liatr.io to Y', or 'set up DNS for a new site'.
development
Provides concise guidance for using uv (Python package manager), including project workflows, pip-compatible commands, Python version management, and PEP 723 inline script dependencies. Use when users mention uv, uv run, inline dependencies, PEP 723, or Python dependency/project management.