self-testlisted
Install: claude install-skill turqoisehex/cc-sentinel
# /self-test — Verify Installation Integrity
**Trigger:** `/self-test`
Run diagnostic checks to verify cc-sentinel is correctly installed and configured.
## Procedure
Run each check below. Report PASS/FAIL for each. At the end, summarize with total pass/fail counts.
### 1. Settings.json hooks
Read the project's `.claude/settings.json` (or `~/.claude/settings.json` for global installs). For each installed module, verify that its hooks are registered:
- **Core:** `anti-deferral.sh` in PreToolUse, `session-orient.sh` in SessionStart, `pre-compact-state-save.sh` in PreCompact, `post-compact-reorient.sh` in SessionStart (compact matcher), `agent-file-reminder.sh` in PreToolUse, `auto-checkpoint.sh` in Stop and PreCompact
- **Context Awareness:** `context-awareness-hook.sh` in PreToolUse, `context-awareness-reset.sh` in SessionStart (compact matcher), statusLine configured
- **Verification:** `stop-task-check.sh` in Stop, `comment-replacement.sh` in PostToolUse (Edit|MultiEdit matcher)
- **Commit Enforcement:** `auto-format.sh` in PostToolUse
- **Governance Protection:** `file-protection.sh` in PreToolUse
- **Notification:** platform-appropriate flash script in Stop + Notification
For each hook: check the command path exists as a file on disk. PASS if registered AND file exists. FAIL if either is missing.
### 2. Skill files
Check that `.claude/skills/` contains all expected skill directories for installed modules (each skill is a directory containing `SKILL.md`):
- **Cor