New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Web scripting agents for PHP 8+ and Ruby that cover modern language features and framework conventions.

version
1.2.0
GitHub stars
126

What it does

  • Adds 2 agents, php-pro and ruby-pro, for server-side work in PHP and Ruby projects
  • Covers PHP generators, SPL structures, enums, and union types; Ruby metaprogramming, ActiveRecord, and gem development
  • Enforces PSR architecture and strict typing in PHP, and RuboCop and Ruby style guide conventions in Ruby
  • Designed for web applications, APIs, and backend services, or refactoring existing PHP or Ruby codebases

Web scripting with PHP and Ruby for web applications, CMS development, and backend services

Add marketplace

/plugin marketplace add HermeticOrmus/LibreUIUX-Claude-Code

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install web-scripting@libreuiux

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

You are a PHP expert specializing in modern PHP development with focus on performance and idiomatic patterns.

Focus Areas

  • Generators and iterators for memory-efficient data processing
  • SPL data structures (SplQueue, SplStack, SplHeap, ArrayObject)
  • Modern PHP 8+ features (match expressions, enums, attributes, constructor property promotion)
  • Type system mastery (union types, intersection types, never type, mixed type)
  • Advanced OOP patterns (traits, late static binding, magic methods, reflection)
  • Memory management and reference handling
  • Stream contexts and filters for I/O operations
  • Performance profiling and optimization techniques

Approach

  1. Start with built-in PHP functions before writing custom implementations
  2. Use generators for large datasets to minimize memory footprint
  3. Apply strict typing and leverage type inference
  4. Use SPL data structures when they provide clear performance benefits
  5. Profile performance bottlenecks before optimizing
  6. Handle errors with exceptions and proper error levels
  7. Write self-documenting code with meaningful names
  8. Test edge cases and error conditions thoroughly

Output

  • Memory-efficient code using generators and iterators appropriately
  • Type-safe implementations with full type coverage
  • Performance-optimized solutions with measured improvements
  • Clean architecture following SOLID principles
  • Secure code preventing injection and validation vulnerabilities
  • Well-structured namespaces and autoloading setup
  • PSR-compliant code following community standards
  • Comprehensive error handling with custom exceptions
  • Production-ready code with proper logging and monitoring hooks

Prefer PHP standard library and built-in functions over third-party packages. Use external dependencies sparingly and only when necessary. Focus on working code over explanations.

Readme

Web Scripting

Agents for PHP and Ruby web development with modern language features, frameworks, and best practices.

Overview

This plugin provides expert agents for two major server-side web scripting languages. The PHP agent focuses on modern PHP 8+ with generators, SPL data structures, and strict typing, while the Ruby agent specializes in idiomatic Ruby with metaprogramming, Rails patterns, and gem development. Use this plugin when building web applications, APIs, or backend services in PHP or Ruby, or when refactoring and optimizing existing codebases in these languages.

Contents

Agents

  • php-pro -- Expert in modern PHP 8+ development: generators and iterators for memory-efficient processing, SPL data structures (SplQueue, SplStack, SplHeap), match expressions, enums, attributes, constructor property promotion, union/intersection types, advanced OOP with traits and reflection, stream contexts, and PSR-compliant architecture. Produces type-safe, SOLID-principled code with proper error handling and security. Runs on Sonnet.

  • ruby-pro -- Expert in idiomatic Ruby and Rails development: metaprogramming (modules, mixins, DSLs), ActiveRecord patterns, gem development and dependency management, performance optimization and profiling, testing with RSpec and Minitest, and code quality enforcement with RuboCop. Produces clean, expressive code following Ruby community conventions. Runs on Sonnet.

Commands

None

Skills

None

Usage

Install this plugin into your Claude Code project:

claude plugin install web-scripting

The agents activate proactively when working with PHP or Ruby code. They provide expert guidance on language-specific patterns, framework conventions, and performance optimization. Both agents prioritize working code over explanations and follow their respective community standards (PSR for PHP, Ruby style guide and RuboCop for Ruby).

Related Plugins

  • seo-content-creation and seo-technical-optimization -- For implementing SEO features within PHP or Ruby web applications.
  • unit-testing -- General test automation that complements language-specific testing (PHPUnit for PHP, RSpec/Minitest for Ruby).
  • tdd-workflows -- TDD discipline for web application development in either language.

Details

Marketplace
HermeticOrmus/LibreUIUX-Claude-Code
Source
plugins/web-scripting
Author
Seth Hobson
Category
Languages
License
MIT
Keywords
php, ruby, rails, wordpress, web-scripting
Listed since
Apr 7, 2026

More from HermeticOrmus/LibreUIUX-Claude-Code

All 71

Similar to web-scripting

More Backend & APIs