Zero-friction kickoff for Agentic Coding with PocketFlow-PHP.
Built-in expert skill — your AI agent already knows the framework.
git clone https://github.com/weise25/pocketflow-php-template.git
cd pocketflow-php-template
composer installThat's it. Now open this folder in any AI coding tool that supports the Agent Skills standard:
| Cline | Cursor | Windsurf | Claude Code |
How it works: The
.agents/skills/pocketflow-php/directory contains a skill package that makes any AI agent an expert in PocketFlow-PHP. The agent loads it automatically when it detects relevant keywords — or you can mention "PocketFlow-PHP" in your prompt.
Just describe what you want to build. For example:
"Build me a research agent that searches the web and synthesizes a report."
"Create a CV generator that takes a text description and produces a PDF."
"Make a quiz show where two AI contestants compete."
Your agent will:
- Load the PocketFlow-PHP skill from
.agents/skills/ - Follow the 8-step Agentic Coding process (Requirements → Flow → Utilities → Data → Node → Implementation → Optimization → Reliability)
- Write
nodes.php,flow.php, andmain.phpusing PocketFlow-PHP classes
your-project/
├── main.php # Entry point
├── nodes.php # Your node classes
├── flow.php # Flow graph definition
├── utils/ # External API wrappers
│ ├── callLlm.php
│ └── searchWeb.php
├── docs/
│ └── design.md # High-level design (AI writes this first)
├── .agents/skills/
│ └── pocketflow-php/ # Expert skill for AI agents
├── composer.json
└── .env
php main.php
# Output: Hello from PocketFlow-PHP!- PocketFlow-PHP GitHub — framework source
- PocketFlow Documentation — original Python docs (concepts apply to PHP)