Normalize PHP naming to maximize human readability and domain clarity, using AI judgment to propose or apply safe, non-breaking renames and structural grouping while preventing churn.
Ensure PHP names (classes, methods, properties, variables) are clear, concise, and domain-aligned.
End goal: A human should be able to read through a class and understand what it does purely by reading the method and property names, with minimal need to inspect implementations.
This skill is AI-judgment driven. It does not rely on tooling findings. Changes must improve human readability and consistency while preserving behavior and public contracts.
references/naming-lexicon.md: Load before renaming to align with established project terminology.is* (state)has* (possession)can* (capability/permission)should* (decision)can over doesHavePermissiondoes, process, handle, data, value, objectSDK, HTTP, API, URL, UUIDGuideline:
Context/Thing over Context/ContextThingThis rule exists to keep class names short, expressive, and readable while allowing the structure to convey hierarchy.
Naming is subjective. This section prevents pointless refactoring.
Only rename when at least one of the following is true:
ContextThing within Context/)If the change is merely “arguably better,” do not rename.
If broader renaming seems beneficial, return approval-required with a proposed plan rather than applying it.
Manual approval is required for:
status: completed-no-changes | changed | blocked | approval-requiredchanged_files: explicit list, or [] if no changesrerun_required: true | falseapproval_items: explicit list, or []blockers: explicit list, or []