Back to list
RustyLindquist

drift-check

by RustyLindquist

An AI-Enhanced Online Academy for HR

0🍴 0📅 Jan 25, 2026

SKILL.md


name: drift-check description: Detect documentation drift (docs out of sync with code). Use after changes, periodically, or when something feels wrong. Returns severity-rated findings with specific fixes. allowed-tools: Read, Glob, Grep, Bash

Drift Check

Detect documentation rot by comparing code reality against documented expectations.

When to Use

  • After completing a feature or bug fix
  • Before starting work on unfamiliar area
  • When behavior doesn't match expectations
  • Periodically (weekly recommended)

Severity Levels

SeverityAreasAction Required
🔴 CriticalAuth/RLS wrong, billing docs incorrect, schema mismatchFix immediately
🟠 HighServer action undocumented, invariant violatedFix this session
🟡 MediumRoute missing from surfaces, stale checklistFix soon
🟢 LowMinor description inaccuracyTrack

Check Categories

  1. Server Actions vs Docs — Actions exist in code but not documented (or vice versa)
  2. Routes vs User Surfaces — Routes exist but not in feature doc tables
  3. Schema vs Data Model — Tables/columns don't match docs
  4. RLS vs Permissions Docs — Policies undocumented or incorrect
  5. Invariants vs Reality — Can't find code enforcing documented invariants
  6. Workflow Steps vs UI — Documented steps don't match actual UI

Quick Check Commands

# Count server actions
find app/actions -name "*.ts" | wc -l

# Count routes
find app -name "page.tsx" | wc -l

# Recent migrations (verify reflected in docs)
ls -lt supabase/migrations/ | head -5

Output

## Drift Check Report — [date]

**Scope**: [full / feature-name]

| Severity | Count |
|----------|-------|
| 🔴 Critical | [n] |
| 🟠 High | [n] |
| 🟡 Medium | [n] |
| 🟢 Low | [n] |

### Issues Found
[For each issue: category, location, finding, remediation]

### No Drift Found
[Areas checked with no issues]

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon