SkillCheatSheet
How to install

pr-splitter

An AI skill for Claude Code, Cursor, Codex and other AI agents, from mastra-ai/mastra. Scored by fixed code checks, no AI.

CCode 65/100Builder 1/10

Use when breaking a large, complex, messy, or hard-to-review pull request into multiple smaller PRs; planning stacked PRs; extracting independent changes from a branch; splitting mixed refactor and behavior changes; managing drift after review feedback; rebasing follow-up PRs as earlier PRs change; or preserving original branch intent while shipping incrementally.

Tags: Code reviewGitHub

30k starsNo license foundRepository score 63/100132 lines0 other files

Install

npx skills add mastra-ai/mastra --skill pr-splitter
Where do I paste this?

Open a terminal in your project folder, paste the command and press Enter. It needs Node.js on your computer.

Run it in your project. The skills CLI asks which agents to install it for (Claude Code, Cursor, Codex and more); add -g to install it for your user instead.

No terminal? Copy SKILL.md and give it to your AI as instructions.

Safety checks

Safety 7/7

Fixed checks over SKILL.md and its files. They catch known risky patterns; they cannot prove a skill is safe.

This repository has no license we can identify, so its files are not loaded here and each check is not shown. Read the files on GitHub before you install.

Not checked

  • Running the skill to see what it does
  • Packages it installs from npm or pip
  • What it can reach on your computer when it runs
How we check safety

SKILL.md

This repository has no license we can identify, so its text is not shown here. Read it on GitHub.

More skills from mastra-ai/mastra

REQUIRED when modifying any file in packages/playground-ui or packages/playground. Triggers on: React component creation/modification/refactoring, UI changes, new playground features, bug fixes affecting studio UI. Generates Playwright E2E tests that validate PRODUCT BEHAVIOR, not just UI states.

Code 83/100Verified

REQUIRED and PRIMARY testing approach for packages/playground and packages/playground-ui. Triggers on: adding or modifying hooks, pages, route components, data-fetching code, React Query interactions, or any test work in these packages. Generates Vitest tests that drive the real @mastra/client-js +

Code 82/100Verified

Review a pull request for a Factory work item — history and context first, then a verdict published on the PR — and mark the review complete

Code 77/100

Smoke test Mastra projects locally or deploy to staging/production. Tests Studio UI, agents, tools, workflows, traces, memory, and more. Supports both local development and cloud deployments.

Code 76/100

Use when fixing a bug, writing or reviewing tests, or adding a regression test anywhere in Mastra (core, storage adapters, server adapters, memory, client SDKs, integrations). Especially use before mocking a class, model, storage, or server; before writing a unit test that only checks wiring or that

Code 76/100

Universal quality bar and final audit rubric for any agent system prompt. Activate this whenever you are unsure which archetype skill applies, or as a final review pass before writing the system prompt. It defines the required run contract, completion criteria, fallback paths, response format, and a

Code 74/100

Use early when debugging a medium or hard bug, especially when tests alone may not reveal the real runtime failure. Trigger this before extended TDD iteration when a bug involves runtime state, ordering, persistence, streaming, concurrency, UI/manual reproduction, external services, or when a red or

Code 72/100

Create a Mastra project using create-mastra and smoke test the studio in Chrome using Chrome MCP server

Code 72/100
All skills in mastra-ai/mastra