원클릭으로
sentinel-learn
Scan documentation files for conventions and generate draft Sentinel rules
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scan documentation files for conventions and generate draft Sentinel rules
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
View or update Sentinel configuration
Scaffold Sentinel config and rules directory in the current repository, installing prerequisites if needed
Create or edit a Sentinel rule through guided conversation
Show Sentinel telemetry stats — rule performance, latency, violations, and hottest targets
Dismiss a draft Sentinel rule and prevent re-proposal
List pending draft Sentinel rules with provenance
| name | sentinel-learn |
| description | Scan documentation files for conventions and generate draft Sentinel rules |
| user-invocable | true |
Scan repository documentation files (CLAUDE.md, ADRs, READMEs) for conventions that should be enforced as Sentinel rules.
Check that .claude/sentinel/config.yaml exists. If not, tell the user to run /sentinel-init first and stop.
python3 sentinel_scribe.py --learn
Parse the JSON output. It contains: files_scanned, conventions_found, drafts_created.
Report to the user:
The scribe scans files matching scribe.doc_globs in config.yaml. Default globs:
CLAUDE.md, AGENTS.md, README.md, docs/**/*.md, ADR*.mdUsers can customize via:
scribe:
doc_globs:
- "CLAUDE.md"
- "docs/architecture/**/*.md"
After scanning, suggest the most relevant action:
/sentinel-drafts — review the proposed draft rules (if any were created)/sentinel-config — customize scribe.doc_globs to scan additional documentation sources/sentinel-rule — create a rule manually for conventions that aren't captured in documentation