content/skills/visual-media-design/brand-design-md/SKILL.md
当用户明确点名真实品牌、产品或媒体站点的视觉语言,并希望先从 getdesign.md 拉取结构化设计规范,再据此生成或改造 UI 代码时使用。适用于“做成 Apple/Stripe/Notion/WIRED 的感觉”“参考某品牌官网风格做页面”“把现有 React 组件改成 Vercel 风格”这类请求,即使用户没提 getdesign.md 也应优先触发。不要用于泛化的“更现代一点”、logo 设计、图片/海报生成、幻灯片换皮、图表/流程图或纯设计分析。
npx skillsauth add bahayonghang/my-claude-code-settings brand-design-mdInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
让模型先拿到真实品牌的结构化设计规范,再去写 UI,而不是靠“像某某风格”盲猜。
优先用于这些场景:
不要用于这些场景:
输入通常包括:
产物必须是:
不要把结果退化成抽象风格建议;要么给代码,要么给明确到 token 来源的改造说明。
先使用本地 helper,不要在 SKILL.md 里手工维护品牌主表,也不要假设固定的 /tmp/.../DESIGN.md 路径。
node "$SKILL_DIR/scripts/getdesign-helper.mjs" list --json
node "$SKILL_DIR/scripts/getdesign-helper.mjs" resolve --query "<user request>"
node "$SKILL_DIR/scripts/getdesign-helper.mjs" fetch --slug <brand-slug>
node "$SKILL_DIR/scripts/getdesign-helper.mjs" fetch --slug <brand-slug> --out <target-file>
这个 helper 负责:
npx getdesign@latest list 获取官方实时品牌目录alias -> slug -> fuzzynpx getdesign@latest add <slug> --out <path> 固定输出文件路径不要把“改 React 组件”重写成脱离上下文的新 HTML 原型。
把完整用户请求传给 helper 的 resolve 命令。
resolution 是 exact,直接使用返回的 matchesresolution 是 fuzzy 且只有一个高置信命中,可以继续并在回复里说明这个假设resolution 是 none,或模糊结果不够稳,直接展示 helper 返回的 suggestions,不要瞎猜默认最多支持 2 个品牌:
对每个选中的品牌运行 helper fetch:
--out <project path>然后读取 helper 返回的 outPath 指向的文件内容。
从 DESIGN 文本里至少提取并核对这 4 类 token:
如果规范里给了精确值,就直接复用,不要自由近似。
错误示例:
rgba(...) 自作主张改成近似 hex只有两个品牌时,按这个顺序处理:
混搭输出里必须解释:
无论输出 HTML、React 还是 Vue,都要满足:
默认输出:
交付时至少明确这 4 件事:
getdesign 不可用或 npx 失败:明确报错,并建议用户检查 Node.js / npxlist 实时结果为准,本 skill 不应因为 README 里的静态数字而失效在交付前,快速核对:
getdesign listtools
文献深度解读助手,像研究生导师一样交互式解读 Zotero 库中的学术论文,面向计算机科学、深度学习、自动化等方向(个人向)。当用户提供文献题目、DOI、PDF 或要求解读某篇论文时触发,通过 Zotero MCP 优先获取全文,并根据用户意图自动选择快速筛选、导师深读或研究复盘模式。完整深读时先完成叙事类型判断、阅读前预检、novelty 校准和作者思考路径重建,再整体概览,并基于图例、正文和表格逐图详细解读(Zotero MCP 无法提取 PDF 图片,解读基于文字信息,必要时提醒上传图片)。适用于:(1)快速判断文献是否值得深读 (2)深入理解某篇论文 (3)学习文章中的方法和技术 (4)批判性分析研究设计 (5)寻找研究灵感。需要多篇论文综合、对比或找研究空白,或 arXiv/DOI 批量规范化时,改用 paper-workbench。
development
Review Codex, Claude, OpenAI, or other agent skill directories as reusable capability packages. Use when asked to audit, review, improve, score, rewrite, debrand, package, or document a SKILL.md, skill package, marketplace skill, or agent skill directory, especially when the user wants a comprehensive findings-first report with concrete patch recommendations and validation steps.
development
Turn vague or complex Codex tasks into strong `/goal` commands with outcome, verification, constraints, boundaries, iteration policy, completion evidence, and pause/block conditions. Use when the user asks for Codex goal instructions, Goal 指令, 目标指令, `/goal` prompts, 中文 Goal 模板, plan-to-goal interviews, success criteria, verification commands, or bounded agent work definitions.
tools
Write, debug, and validate ast-grep structural code search rules. Use this skill when the user needs syntax-aware code search, AST pattern matching, structural refactor discovery, language-construct queries, or searches that plain text tools like rg can miss, such as finding functions with particular descendants, calls inside specific contexts, missing error handling, React hook shapes, decorators, or other Tree-sitter-backed code structures.