recipe-refactor-to-profile-standards

Installation
SKILL.md

Recipe: Refactor to Profile Standards

Generic, domain-invariant recipe skill for refactoring code to comply with the configured profile standards. A single run spans ALL auto-detected domains × one chosen profile, enforcing a per-domain user-selected standards-skill set, iterating module-by-module, package-by-package. The detected domains, chosen profile, derived package source, and per-domain selected skills are persisted to status.json metadata by the selection flow and passed as input parameters by phase-3-outline.

No separate analysis step — each deliverable is one package. The task executor loads the profile skills and handles both analysis and fixing in a single pass. Packages that are already compliant complete quickly with no changes.

Input

All values below are read from status.json metadata, where the built-in selection flow (workflow/selection-flow.md) persists them — see that document for the gather mechanics (domain auto-detect, dynamic profile single-select, data-driven package_source, per-domain paginated skill multi-select). Do not inline-copy the selection screens.

Parameter Type Required Description
plan_id string Yes Plan identifier
recipe_domains string Yes Comma-separated auto-detected domain list (e.g., java,javascript). One run spans every listed domain.
recipe_profile string Yes Single profile name — any profile a detected domain exposes (NOT limited to implementation/module_testing; e.g. documentation, integration_testing).
recipe_package_source string Yes Architecture manage-architecture module --full field to iterate, derived data-driven from the selected profile's declared package_source (packages/test_packages today; open to any architecture field a future profile declares).
recipe_selected_skills__{domain} string Yes (one per detected domain) Per-domain comma-separated list of the user-finalized standards-skill notations to enforce for that domain. One field per domain in recipe_domains that exposes recipe_profile.

Installs
1
GitHub Stars
5
First Seen
Jul 11, 2026
recipe-refactor-to-profile-standards — cuioss/plan-marshall