php-fast-forward/fork/fast-forward-fork
Claude Code and agent skill by php-fast-forward/fork
- community
Checking that the SKILL.md file is still in the repository.
Run Fast Forward fork workers on PCNTL/POSIX CLI runtimes, wait for output and exit codes, and handle failed workers and invalid counts.
Install
npx vskill@latest install php-fast-forward/fork/fast-forward-forkSKILL.md
The same SKILL.md was published earlier as php-fast-forward/fork/fast-forward-fork.
Run bounded CLI worker processes
Use this skill for an application consuming fast-forward/fork:^1.1. Read its instructions, manifest/lockfile and installed source before editing. Run composer show fast-forward/fork. For versions outside this contract, inspect matching documentation; do not silently upgrade the application.
First working integration
Requires PHP ^8.3, Composer's application autoloader and this package's runtime dependencies. Run as a bounded separate CLI process with PCNTL/POSIX. With authority to install the dependency:
Create app.php in the application root alongside composer.json/vendor:
Run php app.php. It throws on a wrong result; success prints integration ready. It uses no production data and starts no server.
Wiring and failure boundaries
Run in a dedicated CLI process on Unix with PCNTL, POSIX and stream socket/select support. The Composer metadata does not currently enforce all of these runtime functions; check before constructing ForkManager. This library is not a Windows fallback, thread pool or background job service.
ForkManager registers asynchronous process signal handlers at construction. Keep it inside a worker supervisor you own; do not instantiate it in a web request or a test process that must preserve unrelated signal policies. Run the example as a separate bounded process.
fork($callback, $workerCount) starts children immediately and returns a WorkerGroupInterface. The callback receives WorkerInterface. wait() drains child output and collects status. Objects and open connections are inherited at fork: reconnect database/network clients inside the child, and use explicit IPC/storage for results. Captured variables are not shared parent memory.
Read getOutput(), getErrorOutput(), getExitCode() and getTerminationSignal() after waiting. Integer callback results are clamped to 0..255; false maps to 1 and normal noninteger results to 0. An uncaught throwable becomes a failed child, not a parent exception. Invalid counts, foreign workers and attempts to fork from a worker raise library exceptions. kill(Signal::Terminate) is cooperative; design deadlines and follow-up waiting in your supervisor. No container provider or application config schema is supplied.
Verify integration
Run the complete example against the application's autoloader in a disposable process. It checks success and negative cases:
Expected final marker: fast-forward-fork: ok. Keep application-specific regression tests in its existing PHPUnit suite, with each fixture class in its same-named file. File copying, host discovery and completed agent tasks are different checks. For optional copying/synchronization load installation and lifecycle.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresources/skills/fast-forward-fork/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/php-fast-forward/fork/fast-forward-fork)