write-script-php

Generate PHP scripts with predefined structure and function naming conventions.

1|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/aurumorinc/koda --skill write-script-php-aurumorinc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-script-php
Source: https://github.com/aurumorinc/koda/tree/main/apps/koda-api/.claude/skills/write-script-php
Command: npx skills add https://github.com/aurumorinc/koda --skill write-script-php-aurumorinc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Streamlines the process of writing PHP scripts with clear guidelines and a structured format.

Core Features & Use Cases

  • Structured PHP Scripting: Offers a standardized script structure and function naming convention.
  • Resource Type Definition: Enables the use of predefined resource types for database connections and other dependencies.
  • Library Dependency Management: Allows the declaration of required libraries in the script for seamless execution.

Quick Start

Run wmill generate-metadata to create the necessary script structure and dependencies, then execute your PHP script using wmill.

Frequently Asked Questions about write-script-php

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a PHP script with database connections and library dependencies?

Structure a PHP script by using predefined resource types for database connections and declaring required libraries in the script header. This enforces a standardized function naming convention and clear dependency management for reliable execution.

What is the best way to manage library dependencies when writing PHP scripts?

Manage library dependencies in PHP scripts by declaring required libraries directly within the script structure. This allows the execution environment to resolve dependencies seamlessly, ensuring the script has all necessary components before running.

Does this PHP scripting approach support predefined resource types for databases?

Yes, this PHP scripting approach supports predefined resource types specifically for database connections and other dependencies. You can define resource types to streamline database connection management within your standardized script structure.

How do I generate metadata for a PHP script before execution?

Generate metadata for a PHP script by running the `wmill generate-metadata` command. This creates the necessary script structure and defines dependencies, allowing you to execute the PHP script using `wmill` immediately afterward.

Why use a standardized structure for PHP script development?

Use a standardized structure for PHP script development to streamline the coding process with clear guidelines and consistent function naming conventions. This reduces structural errors and makes maintaining database resources and library dependencies significantly easier.