refactor(ui-design): enhance layout extraction documentation and output files

This commit is contained in:
catlog22
2025-11-11 16:51:26 +08:00
parent 92f77ad997
commit 8507231a81
3 changed files with 58 additions and 44 deletions

View File

@@ -626,21 +626,3 @@ Next Steps:
---
## Integration with Workflow
This command is typically called by the `codify-style` orchestrator, but can also be run standalone:
**Standalone Usage**:
```bash
# Step 1: Extract styles from code
/workflow:ui-design:import-from-code --design-id design-run-123 --source ./src
# Step 2: Generate reference package
/workflow:ui-design:reference-page-generator --design-run .workflow/WFS-xxx/design-run-123 --package-name main-app-style-v1
```
**Orchestrator Usage** (via codify-style):
```bash
# Orchestrator handles both steps automatically
/workflow:ui-design:codify-style --source ./src --package-name main-app-style-v1
```