Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add 30eggis/claude-frontend-skills --skill "spec-wireframe-edit"
Install specific skill from multi-skill repository
# Description
Modify wireframes with impact analysis. Analyzes affected components, screens, and specs before applying changes. Use for wireframe modification requests.
# SKILL.md
name: spec-wireframe-edit
description: "Modify wireframes with impact analysis. Analyzes affected components, screens, and specs before applying changes. Use for wireframe modification requests."
allowed-tools: Read, Write, Edit, Bash, Task, AskUserQuestion, Glob, Grep
argument-hint: "
permissionMode: bypassPermissions
spec-wireframe-edit: Wireframe Modification
Modify wireframes with comprehensive impact analysis.
References
- Output Formats - Impact JSON, preview, plan formats
- YAML UI Frame - YAML wireframe structure
Workflow
[Request] β [Locate] β [Analyze Impact] β [Preview] β [Approve] β [Apply]
Phase 0: Init
1. Session Detection
IF sessionId provided: use it
ELSE: find most recent in tmp/
2. Locate Wireframe
Glob: tmp/02-screens/wireframes/*{name}*.yaml
IF multiple: AskUserQuestion to select
IF none: show available wireframes
3. Parse Change
IF --change provided: use it
ELSE: display wireframe, ask for changes
Phase 1: Analysis
Task(spec-butterfly, opus):
Output: _analysis/wireframe-impact.json
Analyzes:
- Components affected
- Other screens using same components
- Test specs to update
- Risk level
Phase 2: Preview & Approval
Task(wireframe-editor, sonnet):
Output:
- _analysis/wireframe-preview.md (before/after)
- _analysis/wireframe-plan.md
AskUserQuestion: "Apply changes?"
Options: ["Yes, apply", "Modify", "Cancel"]
Phase 3: Apply
1. Update Wireframe
Write: {wireframePath} with modified YAML content
Checkpoint: meta-checkpoint.sh
2. Flag Affected Files
FOR each component/test impact:
Write: {path}/_needs-review.md
Phase 4: Completion
Output: "β Wireframe updated: {path}"
IF flaggedFiles > 0:
Output: "β οΈ {N} files flagged for review"
Output: "Run /spec-change --verify to check consistency"
Output Structure
.spec-it/{sessionId}/plan/
βββ _analysis/
β βββ wireframe-impact.json
β βββ wireframe-preview.md
β βββ wireframe-plan.md
tmp/
βββ 02-screens/wireframes/
β βββ {wireframe}.yaml # Updated YAML wireframe
βββ {various}/
βββ _needs-review.md # Flagged files
See Output Formats for detailed structures.
Agents
| Agent | Model | Purpose |
|---|---|---|
| spec-butterfly | opus | Impact analysis |
| wireframe-editor | sonnet | Generate modified YAML wireframe |
Arguments
| Arg | Required | Description |
|---|---|---|
| sessionId | No | Auto-detected if omitted |
| wireframe-name | No | Prompted if omitted |
| --change | No | Change description (prompted if omitted) |
Examples
# Interactive
/spec-wireframe-edit
# Specify wireframe
/spec-wireframe-edit 20260130-123456 dashboard
# Full specification
/spec-wireframe-edit 20260130-123456 login --change "Add forgot password link"
When to Use
| Change Type | Use |
|---|---|
| Wireframe layout/elements | /spec-wireframe-edit |
| New requirements | /spec-change |
| Component logic | /spec-change |
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.