/ppp:ppp-diagnosefrom ppp
Diagnosis of errors in the tenant - a failing flow run, wrong data, an app that misbehaves, an import that is rejected. Use when the user reports something broken, failing, wrong or slow.
Ships in ppp. 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.
No flow runs here, so the whole skill is getting a feedback loop that runs here: a local run that goes red on exactly the symptom the user reported.
In a connected project (ppp check names it) start with ppp tenant, after a rejected import with --log: versions against the project, flows that are off, connection references without a connection or with a broken one, the error texts of the import record. For a flow, ppp runs <flow> lists its runs with status, code and error text. ppp export --compare lists the files in which the tenant differs from solution/ and changes nothing; it replaces the card for a fresh solution export below. List data and what a single action took and returned stay exports by card.
Then what needs no tenant step: the error message the user reported, the definition in solution/ (ppp inventory <flow>, search for the action and expression the message names), the list schema and earlier exports in inputs/. When message and definition explain the error, go straight to the feedback loop.
When an app misbehaves and a walk is possible (skill ppp-app-walk), reproduce the user's steps with ppp walk <file> --diagnose before asking: it records the errors behind the app's message per step.
When neither the report nor ppp runs carries a platform error text (an app shows only its own message such as "write failed"; a run ended Succeeded), the first card asks for the run as an export into exchange/ (Run history › the run › Download): you read the failed action there yourself. Where no download is offered, it asks for the error message of the first failed action as text: the red action › its error.
Ask for further evidence only when a concrete question remains that only the tenant answers, and then for exports, not readings: the failed run (Run history › the run › Download, or Monitor export) for the inputs and outputs of an action, the affected list ("Export › CSV with schema") for data, the import message as text, a fresh solution export when the definition may differ from solution/. One tenant-step card names exactly what to export, where it goes (exchange/, or inputs/ for data) and which question it answers. Personal data in these exports may be read.
Done when the symptom is captured: the error message, a wrong value or a failed action with its inputs, from the user's report or an export.
Build one command that reproduces the symptom here, in this order:
ppp verify --all and ppp canvas when the error is a save or import error (InvalidTemplate, nesting, a missing reference).expect on the wrong value (skill ppp-app-walk).wdl_sim in tests/ (ppp run tests/<test>.py): the exported flow, the trigger input and the list data of the run.Done when the command has run and goes red on the user's symptom, not on a neighbouring one. Without such a command, say so, list what you tried and which export would close the gap.
Write 3–5 ranked hypotheses, each falsifiable: "If X is the cause, changing Y makes the error disappear." Show them to the user before testing; they often know which one it is.
Change one thing at a time and rerun the loop. The fix becomes a package (ppp-package) or, if the user prefers a small fix by hand in the tenant, a card with the exact change plus a note in STATE.md under "Manual changes in the tenant". Keep the loop as a regression test in tests/ when it is cheap to keep.
Done when the loop is green, the cause is named in the commit message, the fix is either packed or noted, and a cause in platform behaviour you did not know has a lesson proposal (ppp new lesson).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub portolasas/ppp-plugin --plugin ppp17 skills in this plugin
/ppp-app-walkWalk through a running canvas app or click mock-up in Edge with automated clicks - pictures, layout and usability review, expected values in scenarios, reproducing errors, load times, comparison with the last run, illustrated Word guides per role, training videos. Use when a screen should be checked visually, a critical scenario tested, an app error reproduced, or a guide, screenshots or a video of the app are needed./ppp-auditIndependent audit of the plan or of a package proposal by a read-only subagent never weaker than the chat's model - contradictions, gaps, unconfirmed assumptions, testability. Use when the user picks "Audit first" on the confirmation card of the plan or of a risky package, or asks for an audit or a second opinion on specs, plan or proposal./ppp-clarifyClarification of requirements in card rounds until nothing is assumed silently, then planning of the packages in ROADMAP.md; results in specs/, decisions/ and ROADMAP.md. Use after intake, when new material or a new requirement arrives, when a questionnaire for someone else is needed, when the specs are settled and the work has to be cut into packages, or when the plan changes./ppp-copilot-studioCopilot Studio and AI Builder prompts - prompts called from flows, structured output, prompt text rules, validation, model choice, test hub, agents in a solution export. Use before building, changing or testing a prompt or an agent./ppp-docsDocuments for people outside development - handbook, training, Six Sigma documents, questionnaires and project material in docs/. Use when a handbook, training, user guide, in-app help, DMAIC document or presentation is needed./ppp-goliveCompletion and operation - full test, move to the test or production environment, go-live, hypercare and maintenance. Use when all planned packages are done, before a move to another environment, or after go-live when fixes come in.