Auto-generated from spec
- Extract all text layers from Figma file
- Organize by frame/page hierarchy
- Identify semantic roles (heading, body, button, label, etc.)
- Map to content structure
- Detect page/screen structure
- Extract navigation patterns
- Identify component hierarchy
- Build content map
- Scan existing project for components
- Match Figma frames to project components
- Identify text slots in templates
- Map Figma content to component props
- Update component props with extracted text
- Preserve existing styling/structure
- Handle dynamic content (arrays, conditionals)
- Generate content diff for review
- Add
--figma-mode contentoption - Add
--figma-target <path>for target directory - Add
--figma-previewto show changes without applying - Add
--figma-mapping <file>for custom content mapping
- Create
src/loop/session.tsfor pause/resume support - Add
ralph-starter pausecommand - Add
ralph-starter resumecommand - Store session state in
.ralph-session.json
- Add content mode section to README.md
- Create
docs/figma-content-mode.mdfor Docusaurus - Document content mapping patterns
- Add examples for common frameworks