implementer:log
CommunityAdd 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
LoggableInterfaceto 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
LoggableInterfacefor recursive logging. - Use Case: When developing a new feature, you need to log key information about
Orderobjects. This Skill can be used to quickly add the necessary logging capabilities to yourOrderclass, ensuring sensitive data is excluded and relatedClientobjects 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 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: 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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.