pfd-tools

Tools related to Process Flow Diagram (PFD) such as static analyzers and schedulers.
:bee: This repository is not accepting pull requests.
Installation
Download the latest binary from Releases and place it in a directory that is in your PATH.
Skills (Claude Code / Cursor)
This repository ships AI agent skills that automate the workflow described in Input Files and Creation Steps:
- pjm-pfd-project-bootstrap — scaffolds a new pfd-tools project from a
pfd.drawio.png template and runs the pre-estimation lint gate.
- pjm-pfd-estimation-plan — produces a two-point (optimistic/pessimistic) estimate, analyzes the critical path, and generates a Mermaid Gantt or a Google Sheets Timeline.
- pjm-pfd-replan — reflects a progress table (
progress.tsv) into the plan and re-plans when work is delayed.
- pjm-pfd-delay-triage — judges from the critical path's total float whether a delayed process affects the plan's end date and needs escalation.
- pjm-pfd-migrate-v7 — migrates projects created by the pfd-tools 6.x or earlier skills to the 7.x format.
Each skill asks whether to work in English or Japanese before it starts.
Claude Code
$ claude
> /plugin marketplace add Kuniwak/pfd-tools
> /plugin install pfd-skills@pfd-tools
Cursor
The skills live under .cursor/skills/ (and .agents/skills/), so Cursor picks them up automatically when this repository is open. To use them in another project, copy the pjm-pfd-* directories from .ai/skills/ into that project's .cursor/skills/.
Tools
For the options and usage examples of each tool, see pfdhelp (all tools), pfdhelp <tool> (a single tool), or each command's -h.
pfdhelp -short lists only the one-line description of every tool.