Skip to main content

refactor-simplify

Perform behavior-preserving simplification and cleanup after green tests.

Informations de source

Dépôt
sunpar/agentic_development
Dernière activité de la source
22 mai 2026 à 15:56
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
refactor-simplify
description
Perform behavior-preserving simplification and cleanup after green tests.
# Refactor Simplify ## Trigger Use when requested refactor is readability/DRY/removal of repeated abstraction. ## Inputs - Task/task set and green baseline test evidence. ## Outputs - Refactored code with no behavior regression. - Updated/added characterization tests if necessary. ## Procedure 1. Confirm baseline is green. 2. Identify duplicate abstractions, verbose wrappers, and repeated boilerplate. 3. Refactor only local scope. 4. Keep public behavior unchanged. ## Guardrails - No behavior change unless explicitly requested. - Preserve API/shape. ## Success criteria - Equivalent behavior verified by rerun of baseline suite. ## Prefer Superpowers - Use `refactor` patterns only and ask `writing-plans` only when scope is large. ## Avoid scope creep - Do not introduce new architecture in simplification pass.
Voir sur GitHub