/aictrl:create-prfrom aictrl
Drafts or improves a reviewer-ready pull request title and body using the exact diff, linked issue, implementation context, and verification evidence. Resolves the PR route and linked issue before writing.
Ships in aictrl. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write a concise pull request that lets reviewers distinguish intended behavior from verified facts. This skill drafts the title and body; it does not create a branch, commit, request review, merge, deploy, or mutate a pull request without the user's confirmation immediately before that action.
Read repository agent guidance, contribution and release documentation, CI branch filters, branch protection when visible, and recent merged pull requests. Establish and show:
| Decision | Required evidence |
|---|---|
| Source and immutable head | Current branch and commit identifier |
| PR base | Documented allowed source-to-base route |
| Promotion path | Required integration, release, backport, or merge sequence |
| Linked issue | Supplied issue URL/identifier or a verified existing closing reference |
| Issue/project fields | Documented project, field, allowed value, and trigger |
Do not infer that a feature branch can target main because it is the default
branch. Use a direct feature-to-main route only when repository evidence permits
it. If the route is absent or conflicting, show it as unresolved for a draft;
before creating or editing a pull request, ask the user for the exact base and
promotion path.
Resolve the linked issue before preparing a mutation. If it is not supplied and cannot be verified from the existing pull request, ask the user for its link or identifier; do not create or edit the pull request until it is known. Do not guess from a branch name, commit message, or similar issue title. A specification may provide additional requirements, but never substitutes for the linked issue at the mutation gate.
When repository guidance maps a linked issue to project or issue metadata, plan
that update explicitly. For example, a documented mapping may require
Status = Development when a delivery pull request is opened. Never invent a
field, value, project, trigger, or permission from a familiar workflow. If the
mapping is absent, state that field provisioning is unresolved and ask for the
mapping before a mutation that requires it.
Confirm the established PR route, linked issue, and immutable head. For an existing PR, read its stored title/body and confirm that its head and base match the route being described.
Read the exact diff, linked issue, relevant surrounding code, and relevant tests. Read a specification as supplementary context when available. Do not rely on an unrelated local working tree or authored PR text as proof.
Build a compact evidence ledger before drafting. Classify each material statement by its strongest source:
| Claim | Evidence | Evidence kind | Status |
|---|---|---|---|
<behavior> | <pinned file/symbol or diff> | implementation | verified |
<coverage intent> | <test path/name> | test source | verified coverage source |
<check result> | <command output or pinned CI run> | executed verification | verified |
<rollout state> | <runtime/deployment record> | deployed state | verified |
Treat authored descriptions as claims to check, test source as evidence of coverage intent rather than a passing result, configuration as intended setup rather than deployed state, and missing evidence as unknown. Do not infer a rollout, test result, benchmark, or user impact from the diff alone.
Identify the reviewer-relevant narrative: problem, observable behavior, direct or indirect user impact, important boundaries/non-goals, rollout, risks, and evidence. Preserve accurate issue links, required metadata, and useful operational details from an existing body; remove stale claims and duplication.
Use the repository's established title convention when one exists (such as
feat:, fix:, docs:, or chore:). Make the title name the primary
observable change, not the files changed. Keep it to one concern.
Use this body shape, omitting a section only when it is genuinely inapplicable:
Closes #<issue>
## Problem
<Why this change is needed.>
## Behavior
<What changes for users, operators, API consumers, or downstream systems. Say
"No direct user-facing impact" when accurate, then name the indirect impact.>
## Scope
- <Important implementation or contract detail>
- <Deliberate boundary or non-goal>
## Rollout and risks
<Only verified deployment, compatibility, migration, flag, monitoring, and
rollback facts. State an unknown rollout state or remaining risk explicitly.>
## Verification
- `<executed command or pinned CI run>` — <observed result>
- `<test source>` — <coverage it defines; not a claimed result>
Do not mark a checklist item complete or say a test is green without executed evidence. Prefer durable file, symbol, test, configuration, run, or revision references where they help review; avoid file-by-file narration and implementation history that does not affect review or rollback.
Show the title, body, pinned head revision, PR route, linked issue, proposed field updates, and any unknown or unverified claims. For a proposal or wording review, stop there.
Create or edit the host pull request only after the user explicitly confirms the final draft, base branch, and any issue/project field updates immediately before the mutation. Then read the saved title and body back from the host, verify the issue link, route, required headings, and requested field values, and report the URL and exact head revision. If the head, route, or issue changed, repeat the grounding and drafting steps before asking for confirmation again.
Built by aictrl.dev. This skill teaches the workflow; aictrl operationalizes it — grounded in your backlog, team standards, and codebase knowledge graph. See how →
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub aictrl-dev/skills --plugin aictrl17 skills in this plugin
/code-reviewReview the exact head revision of a pull request for actionable correctness, security, reliability, performance, and test findings without modifying code. Use when the user says "review this PR", "do a code review", "find defects in this change", or provides a pull or merge request identifier./create-bugCreate an evidence-backed bug report with reproduction, expected and actual behavior, impact, code context, and a regression-test requirement. Use when the user says "file a bug", "report this defect", "turn these symptoms into a ticket", or describes broken or regressed behavior./create-issueCreate a code-grounded engineering story or task with scope, acceptance criteria, test expectations, risks, and open questions. Use when the user says "create an issue", "open a ticket", "make a backlog item", or describes a feature or chore that should be tracked; delegate defects to create-bug./create-workflowCreate and validate an aictrl.dev workflow v2 YAML file with typed parameters, inline task nodes, mappings, conditions, loops, retries, triggers, and approval gates. Use when the user says "create a workflow", "write workflow YAML", "automate this engineering process", or asks for a file under .aictrl/workflows/./design-reviewProfessional design review of any UI — a marketing page OR a product internal (dashboard, table, list, detail view, settings, a flow). Actionable, located critique against orientation, information architecture (within and across screens), primary task, visual hierarchy, friction/cognitive load, accessibility, and — for app screens — density, states, navigation, consistency, and data legibility. Use when the user says "review this design", "review this screen", "review this dashboard", "critique this UI", "is this UI good", "review this mock", "design review", "roast my design", "roast my landing page", or drops an HTML file / screenshot for feedback./execute-workflowDiscover, inspect, start, monitor, approve, or cancel an existing published aictrl.dev workflow with explicit authorization and durable run handoff. Use when the user says "run a workflow", "start this aictrl workflow", "monitor workflow run", "approve workflow step", or "cancel workflow run".Other plugins' skills for the same job