Loading...
Loading...
Takes an existing component, file, or CSS and rewrites it to match the project's extracted design soul in .marrow.md. Fixes all soul violations while preserving the component's structure, logic, and functionality. Use this skill when the user wants to fix a specific file to match the design soul, align existing code to marrow rules, or repair soul violations found by marrow-check. Triggers on: /marrow-align, or prompts like "align this to marrow", "fix this to match the soul", "make this match .marrow.md", "fix the soul violations in this file", "align this component", "marrow-align [filename]". Requires .marrow.md to exist. If not found, instructs user to run /marrow first.
npx skill4agent add ashourml/marrow marrow-align.marrow.md.marrow.md✗ No .marrow.md found.
Run /marrow with reference images first to extract the design soul.What should I align? Provide a file path, paste code, or name a component./marrow-check✓ This component already matches the soul. No changes needed.
Run /marrow-check [file] for a full verification report..marrow.md.marrow.md## Marrow Align — [filename]
[aligned code]
---
### What changed ([N] fixes)
CRITICAL fixed · [what was broken → what it is now]
MAJOR fixed · [what was broken → what it is now]
MINOR fixed · [what was broken → what it is now]
### What was preserved
- [key logic/structure kept intact]
### Marrow Check
✓ Passes all [N] soul rules⚠ Could not fix: [specific violation]
Reason: [why fixing it would break the component's function]
Recommendation: [what the developer should do manually]