From pulp
Captures development friction (conflicting PRs, CI failures, manual chores) into actionable reports that separate one-off issues from systemic problems and propose fixes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pulp:friction-reportThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**The point:** most friction is paid twice — once when it happens, and again every time it
The point: most friction is paid twice — once when it happens, and again every time it happens to someone else. This skill pays it once by writing it down in a form the next agent can act on.
The trap this exists to avoid: an agent fixes a conflicting PR, feels productive, and never asks why the PR conflicted. The rebase takes ten minutes and the root cause survives to bite thirty more PRs. A fix without a report is a rerun waiting to happen.
Do NOT invoke for a genuine one-off (a typo, a flaky network call). The bar is: would this bite someone else?
This step exists because the skill failed without it. Its first real use produced a confident, well-evidenced, actively dangerous proposal — it identified a gate as a bug and recommended removing it. But the repo documented why that gate existed: it was added after a release silently failed to ship, and removing it would have reintroduced exactly that failure. The evidence was solid; the proposal was still wrong, because it never asked what the gate was protecting.
Most "obviously wrong" designs are scar tissue. Find the scar before you cut.
Do all four. Write the answers into the report. A proposal without this section is invalid.
Do not hardcode. Daniel uses Shipyard and tartci often, but not everywhere, and other repos differ. Detect:
ls .shipyard/config.toml # Shipyard? which gates/targets?
ls .tartci* tools/tartci* # tartci? self-hosted runners?
ls .github/workflows/ # plain GitHub Actions? which are REQUIRED?
ghapp api repos/{owner}/{repo}/branches/main/protection -q '.required_status_checks.contexts'
ghapp api repos/{owner}/{repo} -q '.allow_squash_merge, .allow_merge_commit, .allow_rebase_merge'
git log --oneline -5 origin/main # squash? merge commits? who pushes to main?
A fix that is correct for a plain-GHA repo can be wrong for a Shipyard repo, and vice versa. Say in the report which toolchain you actually found.
This is the step that was skipped. Search, in this order:
rg -i "why|rationale|deliberate|on purpose|do not|never" docs/guides/ CLAUDE.md
git log -S"<the mechanism>" --oneline # the commit that introduced it
git log --format='%B' -1 <that commit> # and WHY, in its message
ls planning/friction/ planning/decisions/ # has this been decided before?
If a comment says "DO NOT FIX IT" or a doc explains a design, that is the answer — not an obstacle to route around.
Gates, guards, and awkward conventions almost always exist because something broke.
Ask: what did this prevent? If the answer is "I don't know," you are not ready to propose removing it. Search for the issue/PR number in the docs, the code comments, and the git history.
State it explicitly, in the report:
Current design prevents: <the failure> (evidence: <incident>)
My proposal preserves that guarantee by: <how>
...or it does NOT, and here is the trade: <what you'd be giving up>
If you cannot answer this, you have a hypothesis, not a proposal.
This step exists because a report failed without it. A git-state report proposed a pre-push hook to catch a silent no-op push — but a no-op push pushes nothing, so the hook never fires. The fix was proposed for a failure its own mechanism was structurally blind to. It read as confident and specific and it was wrong, and it was only caught because a human pushed back.
Before you write a fix down, prove its mechanism can detect the failure it targets. A check cannot catch what does not run. A pre-push hook cannot see a commit-time problem. A level-triggered alarm cannot see a transition. Assume nothing about what a mechanism can observe — test it.
Map each failure to the ONE mechanism that actually catches it, and say why the others do not:
| failure | mechanism that WORKS | why not the alternatives |
|---------|----------------------|--------------------------|
| ... | ... | ... |
If a fix bundles several failures under one mechanism ("a preflight will catch all of these"), that is the smell. Split it. Usually the failures need different mechanisms — a wrapper for one, a hook for another, a habit for a third — and some may have no clean mechanism at all, which you must say plainly rather than paper over.
(This is the same discipline as the personal confirm-the-failure skill, applied to the
FIX rather than to a measurement: prove the instrument can report the thing before you trust
it. If that skill is available in your environment, use it here.)
Every proposal ends with an honest line:
Confidence: HIGH | MEDIUM | LOW
Why: <what I verified>
What would raise it: <the check I did not run>
"I verified the diagnosis but not the fix" is a legitimate and useful thing to publish. Overstating confidence is how a report becomes worse than no report.
1. What is stuck, exactly?
Not "CI is red" — which check, on which commit, failing how. Get the evidence before
the theory. Use ghapp, never plain gh.
2. Is this a ONE-OFF or is it SYSTEMIC? This is the whole value of the skill, and it is the question people skip.
Ask: could this have happened to any other PR this week? If yes, it is systemic, and the fix is not "rebase this branch."
Signals of systemic:
3. What is the smallest change that makes this class impossible? Not "be more careful." Not "remember to rebase." A mechanism.
Write to planning/friction/YYYY-MM-DD-<slug>.md (private submodule). Use this shape:
# <one-line title: what got stuck>
**Status:** OPEN | IN PROGRESS | FIXED | WONTFIX | SUPERSEDED
**Filed:** <date> by <agent>@<host>
**Owner:** <unassigned | agent | Daniel>
**Class:** one-off | SYSTEMIC
**Recurrence:** first time | seen N times (link prior reports)
## What happened
Plain language. What was being attempted, what blocked it, how long it cost.
## Evidence
The commands and their output. Not a narrative — the receipts.
## Root cause
Why it ACTUALLY happened. If the answer is "someone forgot," dig again:
a mechanism that depends on remembering is the root cause.
## Why it will recur
The specific reason this is not a one-off. Name the other PRs/agents/days it would hit.
## The fix now (unblock)
The tactical thing that gets this specific instance moving. Usually boring.
## The fix forever (prevent)
The mechanism that makes this class impossible. Ranked if there are options,
with the cost of each. Say plainly if the good fix is blocked on something else.
## Routing
- [ ] Fix now, by me
- [ ] Hand off — needs <what>: <why I am not doing it>
## Resolution ← the fixing agent MUST fill this in
**Outcome:** <what was actually done>
**Landed in:** <PR / commit>
**Did it work?:** <verified how>
**Still open:** <what was NOT fixed, and why>
Fix now when the fix is bounded, reversible, and you have the context loaded.
Hand off when any of these are true — and say which one:
Handing off is not failure. A precise report that another agent can execute is worth more than a rushed fix that misses the root cause.
Any agent that picks up a friction report MUST update its Resolution section — even
if the answer is "tried, did not work, here is why."
An unresolved report with an honest Resolution is useful. A silently abandoned report is worse than no report: it looks like the problem was fixed.
Absence of a resolution is never evidence of resolution.
Before filing a new report, grep planning/friction/ for the same symptom. If it exists,
bump its Recurrence and add to it rather than filing a duplicate. Three recurrences on one
report is a promotion signal — that class needs a real fix, now.
| Don't | Do |
|---|---|
| "Rebased and re-pushed. Fixed!" | Ask why it conflicted, then write it down. |
| A report with no evidence | Paste the commands and their output. |
| "We should be more careful" | Name a mechanism. Carefulness does not scale to 35 PRs/day. |
| Filing a duplicate | Grep first; bump Recurrence. |
| Fixing it and closing without a Resolution | The Resolution is the point. |
| Blaming an agent | Blame the mechanism that let it happen. |
Today the skill files a report to planning/friction/ (private, synced to every machine).
That is Level 0, and it is deliberately the whole product for now. Reports pile up; a
human reads them at their own pace. The value is passive: after a handful you can see whether
the reports are accurate and root-cause-real, or noise.
Graduate only when the current level has earned it. Each level is a trust milestone, not a calendar date.
| Level | Behaviour | Graduate when… | Never |
|---|---|---|---|
| 0 — now | Files to planning/friction/. Human reads. | ~5–10 reports are accurate, name real root causes, and pass Step Zero (no dangerous proposals). | — |
| 1 — triage | Human triages each report: fix-now / hand-off / wontfix. Report is the spec. | Level-0 reports consistently earn "yes, act on this." | — |
| 2 — assisted act | An agent executes a report the human greenlit, then fills in Resolution. | Hand-offs land correctly without the human re-explaining. | Act on anything a human did not greenlit. |
| 3 — bounded autonomy | Agent auto-acts on pre-approved low-risk classes only (e.g. rebase-a-stale-PR), logs to #activity, escalates the rest. | Level-2 has a track record on that specific class. | Destructive or irreversible actions — always stop at a human. |
planning/friction/ (the private submodule). A
public GitHub issue, if ever wanted, is a sanitized pointer ("CI friction filed — see
internal tracker"), never the raw report. Reports routinely contain host names, account
emails, internal incident numbers, and command output. Nothing sensitive goes public.Resolution. Without it, an autonomous fix is indistinguishable from an autonomous
mistake. This is the invariant the higher levels rest on — build it into every actuator,
not as an afterthought.confirm-the-failure discipline.This never becomes a bot that files noise or auto-closes things to look productive. The metric is not reports filed or issues closed. It is classes of friction that stopped recurring because a report led to a real fix. A folder full of OPEN reports that no one acted on is a failure of triage, not a success of filing.
npx claudepluginhub generous-corp/pulpFixes GitHub issues using parallel analysis agents for root-cause investigation, code exploration, and regression detection. Generates fixes with tests, links resolution via PR, and includes prevention analysis.
Analyzes bundled PR context for a recurring failure pattern, derives root cause, and outputs a single GitHub issue spec. Used as a subagent in the devflow retrospective loop.
Generates structured issue reports for GitHub/GitLab repos with code references, media attachments, and session context. Works for bugs, features, and improvements.