prototyping
3
总安装量
2
周安装量
#58175
全站排名
安装命令
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-ux-design --skill prototyping
Agent 安装分布
codex
2
claude-code
2
kilo
1
zencoder
1
cline
1
Skill 文档
Prototyping Skill
Atomic Skill: Create rapid, testable prototypes that validate design decisions
Purpose
This skill provides structured approaches to wireframing, prototyping, and design validation.
Skill Invocation
Skill("custom-plugin-ux-design:prototyping")
Parameter Schema
Input Parameters
interface PrototypingParams {
// Required
type: "wireframe" | "prototype" | "test" | "iterate";
scope: string;
// Optional
fidelity?: "low" | "medium" | "high";
platform?: "web" | "mobile" | "desktop";
tool?: "figma" | "sketch" | "framer" | "html";
testing?: {
participants: number;
scenarios: string[];
};
}
Validation Rules
type:
type: enum
required: true
values: [wireframe, prototype, test, iterate]
scope:
type: string
required: true
min_length: 5
fidelity:
type: enum
default: "medium"
testing.participants:
type: number
min: 3
max: 50
default: 5
Execution Flow
PROTOTYPING EXECUTION
ââââââââââââââââââââââââââââââââââââââââââââ
Step 1: DEFINE SCOPE
âââ Identify key flows
âââ Prioritize screens
âââ Set fidelity level
Step 2: CREATE WIREFRAMES
âââ Sketch layouts
âââ Define content blocks
âââ Map navigation
Step 3: BUILD PROTOTYPE
âââ Apply visual design
âââ Add interactions
âââ Connect flows
Step 4: TEST WITH USERS
âââ Prepare test script
âââ Conduct sessions
âââ Collect feedback
Step 5: ITERATE
âââ Analyze findings
âââ Prioritize changes
âââ Update prototype
ââââââââââââââââââââââââââââââââââââââââââââ
Retry Logic
retry_config:
max_attempts: 3
backoff_type: exponential
initial_delay_ms: 1000
max_delay_ms: 10000
retryable_errors:
- SYNC_FAILED
- EXPORT_TIMEOUT
- SESSION_INTERRUPTED
Logging Hooks
interface PrototypeLog {
timestamp: string;
event: "wireframe_created" | "prototype_built" | "test_started" | "iteration_complete";
screens_count: number;
interactions_count: number;
test_sessions: number;
success_rate: number;
}
Learning Modules
Module 1: Wireframing
WIREFRAME TYPES
âââ Sketch (paper, whiteboard)
âââ Low-fidelity (grayscale, boxes)
âââ Mid-fidelity (structure, some detail)
âââ High-fidelity (near-final)
WIREFRAME COMPONENTS
âââ Layout grids
âââ Content placeholders
âââ Navigation elements
âââ Form elements
âââ Annotations
Module 2: Figma Workflows
FIGMA BEST PRACTICES
âââ File organization
â âââ Pages for flows
â âââ Frames for screens
â âââ Components for reuse
âââ Component structure
â âââ Base components
â âââ Variants
â âââ Instances
âââ Prototyping
â âââ Connections
â âââ Interactions
â âââ Animations
âââ Collaboration
âââ Comments
âââ Dev mode
âââ Handoff
Module 3: Interactive Prototyping
INTERACTION TYPES
âââ Click/tap navigation
âââ Hover states
âââ Scroll behaviors
âââ Input interactions
âââ Animations
âââ Smart animate
PROTOTYPE FLOWS
âââ Happy path (success)
âââ Error paths
âââ Edge cases
âââ Empty states
Module 4: User Testing
TEST PREPARATION
âââ Define objectives
âââ Write test script
âââ Prepare scenarios
âââ Set up recording
âââ Recruit participants
TEST EXECUTION
âââ Introduction (5 min)
âââ Tasks (20-30 min)
âââ Debrief (5 min)
âââ Documentation
ANALYSIS
âââ Task success rates
âââ Time on task
âââ Error frequency
âââ Satisfaction ratings
âââ Qualitative insights
Module 5: Iteration Cycles
ITERATION FRAMEWORK
âââ Collect feedback
âââ Identify patterns
âââ Prioritize changes
âââ Implement updates
âââ Validate improvements
âââ Document decisions
ITERATION VELOCITY
âââ Quick wins (< 1 hour)
âââ Standard changes (< 1 day)
âââ Major revisions (< 1 week)
âââ Structural changes (> 1 week)
Error Handling
| Error Code | Description | Recovery |
|---|---|---|
PT-001 |
Incomplete flow | Add missing screens |
PT-002 |
Broken link | Fix connections |
PT-003 |
Test invalid | Refine methodology |
PT-004 |
Scope exceeded | Refocus on MVP |
PT-005 |
Sync failed | Manual backup |
Troubleshooting
Problem: Users confused during testing
Diagnosis:
âââ Check: Task clarity
âââ Check: Prototype completeness
âââ Check: Missing affordances
âââ Solution: Improve setup
Steps:
1. Review task wording
2. Add interaction hints
3. Fill in missing screens
4. Brief users properly
Problem: Prototype doesn’t match design
Diagnosis:
âââ Check: Design system sync
âââ Check: Component versions
âââ Check: Manual overrides
âââ Solution: Resync sources
Steps:
1. Update component library
2. Replace broken instances
3. Remove manual overrides
4. Verify with design team
Unit Test Templates
describe("PrototypingSkill", () => {
describe("wireframe creation", () => {
it("should include all specified screens", async () => {
const result = await invoke({
type: "wireframe",
scope: "onboarding flow",
screens: ["welcome", "signup", "profile", "complete"]
});
expect(result.screens.length).toBe(4);
});
});
describe("prototype interactions", () => {
it("should connect all screens", async () => {
const result = await invoke({
type: "prototype",
scope: "checkout flow"
});
expect(result.orphaned_screens).toHaveLength(0);
});
});
describe("test execution", () => {
it("should generate success metrics", async () => {
const result = await invoke({
type: "test",
testing: { participants: 5, scenarios: ["complete purchase"] }
});
expect(result.metrics.task_success_rate).toBeDefined();
});
});
});
Quality Metrics
| Metric | Target | Measurement |
|---|---|---|
| Flow coverage | > 90% | Screens connected |
| Interaction completeness | > 95% | States defined |
| Test success rate | > 80% | Task completion |
| Iteration velocity | < 24h | Time per cycle |
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2025-12-30 | Production-grade upgrade |