prefactoring

Official

Design cleaner code before you build

Authorsilcam
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prefactoring helps you shape code before it becomes hard to change by guiding decisions about structure, names, types, contracts, and errors.

Core Features & Use Cases

  • Design cohesive modules and boundaries before implementation.
  • Create domain types, value objects, and collection wrappers instead of relying on primitives and raw arrays.
  • Improve naming, separation of concerns, validation, and error handling during architecture, review, or refactoring.
  • Example: when planning a user or order workflow, use the skill to define interfaces, extract meaningful types, and decide where validation and failures belong.

Quick Start

Use the prefactoring skill to review this feature and recommend clearer module boundaries, better domain types, stronger contracts, and safer error handling.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: prefactoring
Download link: https://github.com/silcam/lessons-from-luke/archive/main.zip#prefactoring

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 536,000+ vetted skills library on demand.