원클릭으로
doc-sync-enforcer
Ensures documentation matches code when committing or pushing changes. Triggers on "commit", "push", "ready to commit".
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Ensures documentation matches code when committing or pushing changes. Triggers on "commit", "push", "ready to commit".
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build accessible React components with WCAG 2.1 Level AA compliance for Hara Vital. Use when creating interactive elements, forms, modals, bottom sheets, or any user-facing components. Triggers on "accessibility", "a11y", "ARIA", "keyboard", "focus", "screen reader", "WCAG".
Helps write conventional commit messages following Hara Vital standards. Triggers on "commit", "ready to commit", "push".
Hara Vital Supabase patterns — service-role client, RLS policies, attribution tokens, event tracking, and PQL billing flow. Triggers on "supabase", "database", "query", "API route", "service role", "RLS", "attribution", "token", "event", "PQL", "billing".
Hara Vital design system knowledge — tokens, liquid-glass patterns, animation easings, and UI conventions. Triggers on "style", "design", "component", "card", "button", "animation", "glass", "token", "color", "shadow", "UI".
Map Hara Vital's Codex commands, including start-session/end-session, audits, bug hunts, feature starts, PR prep, and test scaffolding, so they trigger automatically from chat requests.
Structured workflow for complex tasks requiring deliberate planning, step-by-step execution with pros/cons analysis, and built-in testing. Use when tasks involve multiple interdependent steps, code modifications, file operations, or any work where incremental validation prevents cascading errors. Particularly valuable for debugging, refactoring, system integration, or building complex features. Includes explicit triggers for consistent application across conversations and Codex CLI.
| name | doc-sync-enforcer |
| description | Ensures documentation matches code when committing or pushing changes. Triggers on "commit", "push", "ready to commit". |
Ensures code changes have corresponding documentation updates before committing.
Auto-triggers when you:
Files: app/api/**/*.ts
If API routes were modified:
FINAL_SPEC.md needs updating (it's the single source of truth)README.md API documentation section needs updatingFiles: app/components/**/*.tsx, app/r/**/components/**/*.tsx
If components were added or significantly modified:
CLAUDE.md "Project Structure" section needs updatingFiles: app/globals.css
If design tokens were modified:
CLAUDE.md "Design Tokens" table.claude/rules/tailwind-tokens.md token listFiles: app/**/hooks/*.ts, lib/**/*.ts
If hooks or utilities were added:
CLAUDE.md "Project Structure" sectionFiles: __tests__/**/*
If tests were added or modified:
CLAUDE.md and README.md is still accurate| Change Type | Doc Action |
|---|---|
| Bug fix (behavior unchanged) | No doc update needed |
| Refactor (API unchanged) | No doc update needed |
| New component or hook | Update CLAUDE.md structure + reuse-enforcer inventory |
| Changed API route | Update FINAL_SPEC.md if schema/behavior changed |
| New design token | Update CLAUDE.md tokens table + tailwind-tokens rule |
| Deleted file or export | Search docs for stale references |
| New pending task discovered | Add to docs/TODO.md |
| Task completed | Move from docs/TODO.md to docs/DONE.md |
| File | Update when... |
|---|---|
CLAUDE.md | Project structure, tokens, patterns, or locked files change |
FINAL_SPEC.md | Database schema, API specs, or core data flow changes |
PRODUCTION_READINESS.md | Deployment requirements or checklist items change |
SELF_QA_RULES.md | QA validation rules or test commands change |
KNOWN_ISSUES.md | New bugs discovered or existing bugs resolved |
README.md | Setup, commands, or architecture overview changes |
docs/TODO.md | New tasks found or tasks completed |
docs/DONE.md | Tasks completed |
When you're ready to commit:
Non-blocking — won't stop your commit, just reminds you.