Productivity
Maintenance Prompt for Design System
- Tested with:
- GPT-4o
- Effectiveness:
- 80/100
- Prompt archive
English version
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:
1. **New undocumented tokens**
- Color values in code not in CLAUDE.md
- Spacing values used but not defined
- New font sizes or weights
2. **Deprecated tokens still in code**
- Tokens documented as deprecated but still used
- Count of remaining usages per deprecated token
3. **New undocumented components**
- Components created after last CLAUDE.md update
- Missing from component library section
4. **Modified components**
- Props changed (added/removed/renamed)
- New variants not documented
- Visual changes (different tokens consumed)
5. **Broken references**
- CLAUDE.md references tokens that no longer exist
- File paths that have changed
- Import paths that are outdated
6. **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)Fill in and run
This prompt has 2 blanks. Fill them in and we will assemble the finished prompt for you.
2 still empty
Finished prompt
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:
1. **New undocumented tokens**
- Color values in code not in CLAUDE.md
- Spacing values used but not defined
- New font sizes or weights
2. **Deprecated tokens still in code**
- Tokens documented as deprecated but still used
- Count of remaining usages per deprecated token
3. **New undocumented components**
- Components created after last CLAUDE.md update
- Missing from component library section
4. **Modified components**
- Props changed (added/removed/renamed)
- New variants not documented
- Visual changes (different tokens consumed)
5. **Broken references**
- CLAUDE.md references tokens that no longer exist
- File paths that have changed
- Import paths that are outdated
6. **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)- Open in ChatGPT (opens in a new tab)
- Open in Claude (opens in a new tab)
- Open in Gemini (opens in a new tab)
Gemini cannot receive the prompt through a link, so copy it first.
- Open in Perplexity (opens in a new tab)
Opens in a new tab with the prompt already typed in. You may need to be signed in.
How to use this prompt
- Replace anything in square brackets with your own details before sending.
- Results differ between models. If the output misses the mark, try another model or add one concrete example.
- Keep the prompt in one message. Splitting it across turns weakens the instructions.