Add the PR Prep skill: check plan, readiness verdict and PR description

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-03 21:26:10 -08:00
1 parent 82298d256c
commit 88c72dc2ce
20 files changed
+932 -85

No files matched your search

+34
View File
@@ -422,6 +422,12 @@
<path d="m6 17.5-2.5 1.5" />
<path d="m18 17.5 2.5 1.5" />
</symbol>
<!-- Get a PR ready: a clipboard with a tick. -->
<symbol id="ci-pr-prep" viewBox="0 0 24 24" fill="none">
<rect x="5" y="4" width="14" height="17" rx="2" />
<path d="M9 2.5h6a1 1 0 0 1 1 1V5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1z" />
<path d="m9 13.5 2 2 4-4.5" />
</symbol>
<!-- Changelog: a version tag. -->
<symbol id="ci-changelog" viewBox="0 0 24 24" fill="none">
<path d="M3 4a1 1 0 0 1 1-1h7.6a2 2 0 0 1 1.4.6l7.4 7.4a2 2 0 0 1 0 2.8l-5.6 5.6a2 2 0 0 1-2.8 0L4.6 12a2 2 0 0 1-.6-1.4z" />
@@ -832,6 +838,34 @@
</g>
</g>
</svg>
<!-- PR prep: getting a branch ready for review. He holds up a clipboard
and its three checks tick off one by one, his star following them
down the list, then all three hold before the list starts again. -->
<svg class="pose pose-pr-prep" data-pose="pr-prep" viewBox="0 4 240 216" aria-hidden="true" focusable="false">
<ellipse class="shadow" cx="126" cy="198" rx="44" ry="5" />
<g class="bob">
<g class="pp-board">
<rect class="sh" x="176" y="64" width="48" height="108" rx="6" />
<rect class="fl" x="188" y="56" width="24" height="12" rx="4" />
<path class="as pp-t1" d="M184 92 L188 96 L195 87" />
<line class="lt" x1="201" y1="92" x2="216" y2="92" />
<path class="as pp-t2" d="M184 118 L188 122 L195 113" />
<line class="lt" x1="201" y1="118" x2="216" y2="118" />
<path class="as pp-t3" d="M184 144 L188 148 L195 139" />
<line class="lt" x1="201" y1="144" x2="212" y2="144" />
</g>
<g transform="translate(-14 0)">
<rect class="fl foot f1" x="94" y="179" width="20" height="10" rx="5" />
<rect class="fl foot f2" x="126" y="179" width="20" height="10" rx="5" />
<rect class="sh" x="80" y="72" width="80" height="108" rx="16" />
<path class="ln" d="M80 126 L66 150" /><circle class="fl" cx="66" cy="150" r="5.5" />
<g class="pp-look"><path class="ey blink" d="M126 86 L129.64 94.98 L139.31 95.67 L131.9 101.92 L134.23 111.33 L126 106.2 L117.77 111.33 L120.1 101.92 L112.69 95.67 L122.36 94.98 Z" /></g>
<path class="es" d="M110 120 Q122 129 134 120" />
<line class="ln" x1="160" y1="126" x2="190" y2="134" />
<circle class="fl" cx="190" cy="134" r="5.5" />
</g>
</g>
</svg>
<!-- Agent setup: waving hello at a terminal window, its prompt waiting
for the command line that brings an agent. -->
<svg class="pose pose-setup" data-pose="setup" viewBox="0 4 240 216" aria-hidden="true" focusable="false">
+22
View File
@@ -382,6 +382,28 @@ export const SKILLS = Object.freeze([
"Something is broken and nobody knows why. Diagnose asks what goes wrong and how to see it, then builds a command that fails on the bug before it forms a theory. It narrows the cause down to a file and a function, says how sure it is, and sizes the fix. The write-up lands in a spec folder, and the dashboard then offers Quick Task to fix it, or Plan when the fix is big. It never changes code.",
},
}),
skill({
skill: "plan2code-pr-prep",
workflow: "pr-prep",
label: "PR prep",
name: "PR Prep",
pose: "pr-prep",
builds: false, phased: false, metered: true, templates: false,
weight: 1, started: "PR Prep started", ran: "PR Prep run", resume: null,
subagents: "Use helpers to read the files behind changes no test map row covers, and to draft the Changes by area section of the description. Keep the check plan, the runs, the verdict and every question with you. Light strength, low effort.",
states: "any",
greyed: null,
card: {
group: "extra",
chip: "Utility",
title: "Get a PR ready",
icon: "pr-prep",
blurb: "Runs the checks your branch needs, says if it is ready, and writes the PR description.",
help: "Picks and runs the checks a branch needs, gives a readiness verdict and writes a PR description to copy.",
about:
"Before you open a pull request. PR Prep reads what changed on the branch and picks the checks that cover it from the project's test map (or from its config files when there is no map), each with a reason. You untick what to skip, then it runs the rest and says Ready, Ready with notes or Not ready. It writes a PR description to copy, following the repo's template when there is one, and gives the link to open the PR. It never commits, pushes or opens the PR for you.",
},
}),
skill({
skill: "plan2code-changelog",
workflow: "changelog",
+27
View File
@@ -422,6 +422,33 @@
44%, 88% { transform: translate(4px, 1px); }
}
/* PR prep -- the clipboard's three checks tick off one by one, all three hold,
then they clear for the next pass; his star follows the ticks down. */
.pose .pp-t1 { animation: pp-t1 4.8s ease-out infinite; }
@keyframes pp-t1 {
0%, 8% { opacity: 0; }
14%, 88% { opacity: 1; }
96%, 100% { opacity: 0; }
}
.pose .pp-t2 { animation: pp-t2 4.8s ease-out infinite; }
@keyframes pp-t2 {
0%, 26% { opacity: 0; }
32%, 88% { opacity: 1; }
96%, 100% { opacity: 0; }
}
.pose .pp-t3 { animation: pp-t3 4.8s ease-out infinite; }
@keyframes pp-t3 {
0%, 44% { opacity: 0; }
50%, 88% { opacity: 1; }
96%, 100% { opacity: 0; }
}
.pose .pp-look { animation: pp-look 4.8s ease-in-out infinite; }
@keyframes pp-look {
0%, 100% { transform: translate(4px, -2px); }
32% { transform: translate(4px, 0); }
50%, 88% { transform: translate(4px, 2px); }
}
@media (max-width: 720px) {
.dash { padding-top: 0; }
.launch-stage { height: 140px; }