source-command-cleanup
CommunityPrepare clean prototypes for Figma handoff
Authorcodesour-design
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes dead code, orphaned states, obsolete references, and unused logic from HTML prototypes before design handoff, reducing noise and preventing outdated features from being recreated.
Core Features & Use Cases
- Dead Code Audit: Identifies unused React states, functions, components, props, conditions, mock data fields, comments, and constants.
- Controlled Cleanup Workflow: Guides confirmation-based removal while preserving visible browser output and validating changes before completion.
- Figma Handoff Briefing: Generates a structured prototype summary covering views, flows, components, data, and removed features for design transfer.
Quick Start
Ask the skill to run the cleanup command on a specified prototype file and prepare it for Figma handoff.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: source-command-cleanup Download link: https://github.com/codesour-design/gravity/archive/main.zip#source-command-cleanup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.