/pfd-skills:pjm-pfd-delay-triagefrom pfd-skills
Triage for process delays: uses critical path total float to decide if escalation to PjM/PMO is needed. Triggers on phrases like 'it's going to be late' or 'how much can I delay'.
Ships in pfd-skills. 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.
In a project planned with pjm-pfd-estimation-plan, when a worker expects a delay in a process they own, judge from the critical path's total float whether that delay moves the project's planned end date. If it is within the total float, the delay is OK without escalation; if it exceeds it, generate an escalation report to the PjM/PMO. This is the triage part of pjm-pfd-replan, split out so a worker can run it alone; this skill does not replan (re-derive the scenario tables or redo the dates).
optimistic in file and setting names as pessimistic.-poor does not finish within 20 seconds, use -poorest; once you switch for one, switch for all subsequent runs) follows the Conventions of pjm-pfd-estimation-plan.criticalpath_*.tsv (if missing) and the escalation report.pfdhelp -short to see a description of the pfd-tools tools.Check the following. If anything is missing, run pjm-pfd-estimation-plan first (or pjm-pfd-replan if progress has already been reflected):
<project>/project_optimistic.json / project_pessimistic.json and the scenario tables they point to (ap_optimistic.tsv / ap_pessimistic.tsv, etc.)criticalpath_optimistic.tsv for the base scenario (if missing, generate it at the start of Float Check)pjm-pfd-replan firstAsk the worker for:
P12)If they give a "new expected end date" instead, convert it into the number of business days from that process's planned end date in the old plan to the new expected end date. Read the planned end date from timeline_optimistic.tsv (aggregated per process: start = first start, end = last end; for the qhs aggregation command, see Timeline Diff in pjm-pfd-replan) or from the Gantt, and exclude holidays using the holiday list used at planning time (the file pointed to by not_biz_days in the scenario settings file; default <project>/holidays_ja.txt). If you do not use the same list as the plan, the business-day count will be off.
Validation and branching:
ID column of the base scenario's scenario table (ap_optimistic.tsv) (if not, confirm the input again)Use the base scenario's criticalpath_*.tsv. If missing, generate it now (it will be an analysis of the current plan; if -poor does not finish within 20 seconds, see Notes):
$ criticalpath -f <project>/project_optimistic.json -poor > <project>/criticalpath_optimistic.tsv
Compare 最大弾性値(全余裕) (maximum elasticity / total float) in the delayed process's row with the delay in business days:
The total float is in the same business-day unit as the estimate (予想作業量). Because it is relative to a greedy-search plan it can be negative; treat negative values as 0 (no total float).
Check the successor processes whose dates may move:
$ pfdquery -f <project>/project_optimistic.json -reachable <delayed process ID>
The REACHABLE rows list the delayed process itself and the successor processes reachable from it. Pass only a process ID to -reachable (there is a known issue where passing a deliverable ID causes a panic).
For the risk to external commitments (dates promised on a pessimistic basis), make the same judgment with the total float in criticalpath_pessimistic.tsv (if missing, generate it as in Float Check). If exceeded, include in the report that a date adjustment with stakeholders is likely to be needed. If the base scenario is pessimistic, this check is identical to Float Check and is skipped.
| Situation | Verdict |
|---|---|
| Single-process delay, delay in business days ≤ total float (base scenario) | No escalation needed (delay OK) |
| Delay in business days > total float | Escalate |
| Multiple processes delayed at the same time | Escalate |
| The estimate itself was revised (assumptions changed) | Escalate |
Even when no escalation is needed, report the following to the worker:
pjm-pfd-replan)When escalating, generate a report addressed to the PjM/PMO and present it to the worker. This skill does not send it (via chat, ticket comments, etc.); leave that to the worker:
## Delay escalation: <process ID> (<description>)
- Project: <project>
- Expected delay: <N> business days (situation: <summary of what the worker said>)
- Verdict: total float <total float> business days < delay <N> business days, so the planned end date (<base scenario>) is expected to move
- External commitment (pessimistic): total float <total float> business days → <exceeded (a date adjustment with stakeholders is likely needed) / not exceeded>
- Impact scope (processes whose dates may move): <list from REACHABLE>
- Request: replan with `pjm-pfd-replan`
- Reference (suggested progress.tsv entry): <include only if the delayed process's remaining optimistic / pessimistic work volume is known>
When escalating because of simultaneous delays in multiple processes or a revised estimate, adapt the heading and the verdict line (list the expected delay, total float, and impact scope per process, and give the reason as "because multiple processes are delayed at the same time" or "because the estimation assumptions changed").
pjm-pfd-replan). Do not manually slide all successors uniformly, as that ignores resource conflicts.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
project-management, delay-triage, critical-path, escalation, total-float
Other plugins' skills for the same job
5 skills in this plugin
/pjm-pfd-estimation-planA workflow that uses pfd-tools to produce a two-point optimistic/pessimistic estimate from the estimate boxes on the PFD and the ap.tsv of a bootstrapped project. It derives scenario tables, lints, runs pfdplan, analyzes the critical path, runs an improvement loop, and generates a Mermaid Gantt or Google Sheets Timeline. Triggers when the user says things like "run the estimate", "I want to build a Gantt", "check the critical path", "generate a timeline" (or in Japanese, "見積もりを実行", "Gantt を作りたい", "クリティカルパスを確認", "タイムラインを生成").
/pjm-pfd-migrate-v7Migrate a PFD project created with the pfd-tools 6.6.x-or-earlier skills to the 7.0.0-or-later format. Moves the estimation assumptions from `answers.md` into the scenario settings files (project_<scenario>.json), fills in settings that only the old format lacked, and deletes `answers.md`. Triggers when the user says things like "there is an answers.md", "I want to migrate an old-format project", "after upgrading pfd-tools I can't create a plan / settings don't take effect" (or in Japanese, "answers.md がある", "古い形式のプロジェクトを移行したい", "pfd-tools を上げたら計画が作れない・設定が効かない"), or when another skill detects `<project>/answers.md`. Does not run estimation or planning itself (hands off to pjm-pfd-estimation-plan after migration).
npx claudepluginhub kuniwak/pfd-tools --plugin pfd-skills