Skill / SKILL.md

Light Ref Refactoring

GabrielOnDelphi/Claude-Tools-for-Delphi

Refactoring changes structure, **not behaviour**. The only proof of that is a test that is green before and stays green after. If the code under change has no test, write one first (`/light-review-RedGreen`) — otherwise you are rewriting, n
2 views 27 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Refactoring changes structure, **not behaviour**. The only proof of that is a test that is green before and stays green after. If the code under change has no test, write one first (`/light-review-RedGreen`) — otherwise you are rewriting, not refacto

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/GabrielOnDelphi/Claude-Tools-for-Delphi' skill-source

Use the complete skill-source/.claude/skills/light-ref-Refactoring directory with your client’s skill installer.

  • .claude/skills/light-ref-Refactoring Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/light-ref-Refactoring

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
a7e94b5639aae532c7ff8a03751ae602a0c3df196e9e6c539a2a3f64ed4543e6
Format validation findings
  • Invalid YAML: A colon cannot be used in an unquoted mapping value at line 2 (near "description: Reference catalog of behaviour-preserving Delphi refactorings — Extract Method, Extract Class, Guard Clauses, Named Constants, Replace Conditional with Polymorphism, Introduce Parameter Object (record), Remove with, Rename, Inline Method, and introducing a test seam via a shared base class. Load this when cleaning up smelly code, taming a long method or god class, or planning a safe refactor. Adapted to Gabriel's stack: shared base / concrete typing over interfaces, test-green before and after, compile only via the light-compiler agent. Pairs with /light-code-ArchitectureUnit and /light-code-ArchitectureClass.").
  • Invalid or missing name.
  • Declared name does not match the source directory.
  • Invalid or missing description.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills