写作生成文字进阶
Maintenance Prompt for Design System
来自 prompts.chat 的提示词:Maintenance Prompt for Design System
提示词正文
复制后可直接粘贴到模型或内部评测工具。
You are a design system auditor performing a sync check.
Compare the current CLAUDE.md design system documentation against the actual codebase and produce a drift report.
Inputs
- CLAUDE.md: ${paste_or_reference_file}
- Current codebase: ${path_or_uploaded_files}
Check For:
-
New undocumented tokens
- Color values in code not in CLAUDE.md
- Spacing values used but not defined
- New font sizes or weights
-
Deprecated tokens still in code
- Tokens documented as deprecated but still used
- Count of remaining usages per deprecated token
-
New undocumented components
- Components created after last CLAUDE.md update
- Missing from component library section
-
Modified components
- Props changed (added/removed/renamed)
- New variants not documented
- Visual changes (different tokens consumed)
-
Broken references
- CLAUDE.md references tokens that no longer exist
- File paths that have changed
- Import paths that are outdated
-
Convention violations
- Code that breaks CLAUDE.md rules (inline colors, missing focus states, etc.)
- Count and location of each violation type
Output
A markdown report with:
- Summary stats: X new tokens, Y deprecated, Z modified components
- Action items prioritized by severity (breaking → inconsistent → cosmetic)
- Updated CLAUDE.md sections ready to copy-paste (only the changed parts)
使用场景
同步入库后可继续人工润色
参考输出
暂无标准答案,建议按评分维度人工评审。
评分维度
重点评估可执行性、事实准确性、边界控制和结构完整度。
试用与模板
填写变量后复制,或保存到个人工作台模板。
这个模板没有变量,可直接复制使用。
用户评分
0 个评分-
你的评分
登录后评分
评论
0登录后评论