write-script-php
CommunityEffortlessly craft and deploy PHP scripts.
Authoradamkingsbury
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing PHP scripts often requires boilerplate and ad-hoc conventions. This Skill enforces a consistent skeleton with a guarded main function and explicit resource handling to improve reliability and reuse.
Core Features & Use Cases
- Standard PHP skeleton: Script begins with <?php and defines a typed main function.
- Resource typing guard: Automatically checks and defines resource types (e.g., database config) before main execution.
- Library dependencies: Documents required libraries via comments before main to ensure reproducible environments.
- Use Case: When building data-processing automation scripts that must connect to a database and use external libraries, this Skill guides you to a consistent, testable structure.
Quick Start
Create a PHP script that starts with <?php, defines a main function, and declares resource types and libraries using the documented pattern.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: write-script-php Download link: https://github.com/adamkingsbury/unified-data-model/archive/main.zip#write-script-php Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.