/devteam:devteam-design-drift runs instead · from devteam
Scans codebase for design inconsistencies and drift from the design system. Analyzes design token usage, hardcoded values, and component patterns with configurable scope and severity thresholds.
This skill never runs in Claude Code
It ships in devteam at skills/, but /devteam:devteam-design-drift (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Current session: !source "${CLAUDE_PLUGIN_ROOT}/scripts/state.sh" && get_current_session 2>/dev/null || echo "No active session"
Active sprint: !source "${CLAUDE_PLUGIN_ROOT}/scripts/state.sh" && get_kv_state "active_sprint" 2>/dev/null || echo "None"
Failure count: !source "${CLAUDE_PLUGIN_ROOT}/scripts/state.sh" && get_kv_state "consecutive_failures" 2>/dev/null || echo "0"
Command: /devteam:design-drift [scope] [options]
Detect design inconsistencies and drift from the design system. Launches the Design Drift Detector to analyze the codebase for deviations.
# Full codebase scan
/devteam:design-drift
# Scan specific directory
/devteam:design-drift --scope "src/components/"
# Check specific design aspect
/devteam:design-drift --check colors
/devteam:design-drift --check typography
/devteam:design-drift --check spacing
# Generate remediation plan
/devteam:design-drift --fix
| Option | Description |
|---|---|
--scope <path> | Limit scan to specific files/directories |
--check <aspect> | Focus on: colors, typography, spacing, layout, all |
--fix | Generate remediation tasks for detected drift |
--threshold <level> | Drift tolerance: strict, normal, relaxed |
source "${CLAUDE_PLUGIN_ROOT}/scripts/state.sh"
source "${CLAUDE_PLUGIN_ROOT}/scripts/events.sh"
SESSION_ID=$(start_session "/devteam:design-drift $*" "design-drift")
log_session_started "/devteam:design-drift $*" "design-drift"
Delegate to the ux:design-drift-detector agent, which will:
const result = await Task({
subagent_type: "ux:design-drift-detector",
prompt: `Design drift analysis:
Scope: ${scope || 'full codebase'}
Check: ${aspect || 'all'}
Threshold: ${threshold || 'normal'}
Analyze for:
1. Hardcoded colors/fonts/spacing that should use design tokens
2. Inconsistent component patterns
3. Deviations from established design system
4. Accessibility regressions
5. Cross-platform inconsistencies`
})
Output a drift report showing:
If --fix is specified, create remediation tasks for each drift instance.
/devteam:design - Coordinate design work/devteam:implement - Implement design fixes/devteam:status - Check progressWhat SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
Other plugins' skills for the same job
20 skills in this plugin
/devteam-bugFix a bug with structured diagnostic workflow. Uses interview to clarify details and Bug Council for complex issues./devteam-configView and modify DevTeam configuration settings./devteam-designCoordinate UX/UI design work across platforms. Launches the UX System Coordinator to orchestrate design specialists./devteam-helpGet help on DevTeam commands, concepts, and troubleshooting.npx claudepluginhub michael-harris/devteam --plugin devteam