pflow-skill-add

Installation
SKILL.md

On any failure (non-zero exit or error field in JSON) print ⚠️ <message> and stop.

Steps

  1. Context. Run .agents/skills/pflow-skill-add/scripts/skill-add-context.sh → JSON {skills_dir, skills:[{name,description,scripts}]}.
  2. Clarify. You MUST know (a) what the skill does and (b) when it triggers. If ambiguous, ask — never assume. Propose a kebab-case NAME.
  3. Build. Write skills/<NAME>/SKILL.md and optional skills/<NAME>/scripts/ following the template below. Add a row for the new skill to the Skills table in README.md.
  4. Validate. Run .agents/skills/pflow-skill-add/scripts/skill-add-finalize.sh --name "<NAME>"{status:"ok",skill_dir,scripts_chmod}.

Template

New skills use a 3-phase structure (phases 1 and 3 are optional):

Phase 1 — Preparation (optional): read-only script gathers data → JSON. SKILL.md step: 1. Run <path> → {json}.

Phase 2 — Agent work: agent makes creative/judgment decisions. SKILL.md step: 2. <description of the decision>.

Phase 3 — Finalization (optional): action script takes agent output, mutates state → JSON. SKILL.md step: 3. Run <path> --arg "VALUE" → {json}.

Installs
2
First Seen
Jun 10, 2026
pflow-skill-add — phpinfo/pflow-skills