implementer:log

Community

Add logging to PHP classes

Authoratournayre
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of adding the LoggableInterface and its associated toLog() method to PHP classes, ensuring consistent and structured logging of object data.

Core Features & Use Cases

  • Interface Implementation: Automatically adds LoggableInterface to a specified PHP class.
  • Method Generation: Creates the toLog() method with predefined rules for including and excluding properties.
  • Dependency Analysis: Identifies related objects that also implement LoggableInterface for recursive logging.
  • Use Case: When developing a new feature, you need to log key information about Order objects. This Skill can be used to quickly add the necessary logging capabilities to your Order class, ensuring sensitive data is excluded and related Client objects are logged correctly.

Quick Start

Use the implementer:log skill to add logging to the file '/path/to/your/class.php'.

Dependency Matrix

Required Modules

None required

Components

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: implementer:log
Download link: https://github.com/atournayre/claude-personas/archive/main.zip#implementer-log

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.