Claude-skill-registry alerts
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/alerts" ~/.claude/skills/majiayu000-claude-skill-registry-alerts && rm -rf "$T"
manifest:
skills/data/alerts/SKILL.mdsafety · automated scan (low risk)
This is a pattern-based risk scan, not a security review. Our crawler flagged:
- references .env files
Always read a skill's source content before installing. Patterns alone don't mean the skill is malicious — but they warrant attention.
source content
Alerts
Overview
This skill provides comprehensive system health reporting by aggregating alerts from multiple sources. It surfaces issues that would otherwise be hidden in collapsed hook output or scattered across multiple files.
Usage
/alerts # Limited mode (default) - quick health check /alerts --full # Full mode - comprehensive reporting
Modes
Limited Mode (Default)
Quick health check covering the most critical categories:
- Code Health - Test failures, TypeScript errors, ESLint, pattern violations
- Security - npm audit vulnerabilities, security patterns, secrets status
- Session Context - MCP memory status, cross-session warnings, pending TODOs
Full Mode (--full)
Comprehensive reporting including everything in Limited plus:
- Current Alerts - Deferred PR items, Backlog S0/S1/S2, encrypted secrets
- Documentation Health - Orphaned docs, stale docs, CANON violations
- Roadmap/Planning - Overdue items, blocked tasks, stale SESSION_CONTEXT
Workflow
To run alerts check:
- Determine mode (limited or full based on user request)
- Run the appropriate checks using the script
- Present results in a clear, actionable format
- Offer to help resolve any issues found
Alert Categories
1. Code Health
| Check | Command/Source | Severity |
|---|---|---|
| Test failures | | Error |
| TypeScript errors | | Error |
| ESLint warnings | | Warning |
| Pattern violations | | Warning |
| Circular deps | | Warning |
2. Security
| Check | Command/Source | Severity |
|---|---|---|
| npm audit high/critical | | Error |
| Security patterns | | Warning |
| Encrypted secrets | exists | Warning |
| Exposed secrets | Search for hardcoded tokens | Error |
3. Session Context
| Check | Source | Severity |
|---|---|---|
| MCP memory status | | Info |
| Cross-session warning | | Warning |
| Unfinished TODOs | Previous session state | Info |
4. Current Alerts (Full Mode)
| Check | Source | Severity |
|---|---|---|
| Deferred PR items | | Warning |
| Backlog S0 items | | Error |
| Backlog S1 items | | Warning |
| Backlog S2 items | | Info |
5. Documentation Health (Full Mode)
| Check | Command/Source | Severity |
|---|---|---|
| Orphaned docs | | Info |
| Stale docs (>30 days) | File modification dates | Warning |
| CANON violations | | Warning |
| Cross-doc violations | | Warning |
6. Roadmap/Planning (Full Mode)
| Check | Source | Severity |
|---|---|---|
| Overdue roadmap items | dates | Warning |
| Blocked tasks | blocked markers | Warning |
| Stale SESSION_CONTEXT | File modification date | Info |
Output Format
Present alerts grouped by severity:
## System Health Report ### Errors (must fix) - [Code] 3 TypeScript errors in src/components/... - [Security] 2 high vulnerabilities found ### Warnings (should address) - [Code] 5 ESLint warnings - [Alerts] 4 deferred PR items (2 aging) ### Info (for awareness) - [Session] MCP memory is empty - [Docs] 12 orphaned documentation files
Scripts
scripts/run-alerts.js
Main script that runs all checks and outputs JSON results. Usage:
node .claude/skills/alerts/scripts/run-alerts.js --limited node .claude/skills/alerts/scripts/run-alerts.js --full
The script outputs JSON that can be parsed and presented to the user.
Integration
This skill integrates with the Session Start Protocol in
claude.md. At session
start, Claude should:
- Run
(limited mode) automatically/alerts - Present any errors or warnings to the user
- Offer to run
for comprehensive check/alerts --full