Style Extract
Description
--- description: 从代码或设计图提取样式变量 allowed-tools: Read, Grep, Glob --- 从 Vue 组件或设计图中提取样式规范。 ## 输入 「$ARGUMENTS」 **支持的输入类型**: | 输入 | 示例 | 说明 | |------|------|------| | 目录 | `web/src` | 扫描所有样式文件 | | 文件 | `Card.vue` | 分析单个组件 | | 图片 | `design.png` | 识别设计稿样式 | | 空 | | 默认扫描 `web/src` | --- ## 模式 A:代码提取(目录/文件) ### A1. 扫描样式文件 查找以下文件: - `*.vue` 中的 `<style>` 块 - `*.css` / `*.scss` 文件 - Element Plus 主题变量覆盖 ### A2. 提取变量 | 类别 | 提取内容 | |------|---------| | 颜色 | `--el-color-*`、自定义颜色变量 | | 字体 | `font-size`
Installation
Installs to ~/.claude/commands/doccker-cc-use-exp-style-extract.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/doccker/cc-use-exp/HEAD/.claude/commands/style-extract.md -o ~/.claude/commands/doccker-cc-use-exp-style-extract.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Algorithmic Art
Create generative art using p5.js with seeded randomness, flow fields, and particle systems
Design Brand Guidelines
Apply Anthropic's official brand colors and typography to artifacts
Design Canvas Design
Create beautiful visual art in PNG and PDF documents using design philosophy
Design Frontend Design
Create distinctive, production-grade frontend interfaces with high design quality
Design Slack Gif Creator
Create animated GIFs optimized for Slack's size constraints
Design Theme Factory
Style artifacts with professional themes including 10 pre-set color/font combinations
Design Related Agents
Codemod Runner
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css
Designguru
Expert Design Guidance & Analysis Specialist who provides professional UI/UX insights, design system guidance,
Html Css
| Web standards for semantic markup, maintainable styling, and accessibility. | - | [wshobson/agents](https://