cc-safety-net
SolidConfigure CC Safety Net rulebooks for user, project, or shareable GitHub scope.
Code & Development 1,393 stars
64 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
<!-- Keep the workflow below in sync with src/opencode/builtin-commands/templates/cc-safety-net.ts. -->
## Workflow
Help the user configure custom blocking rules for CC Safety Net.
Use information already provided in the user's prompt. Ask only when the scope, action, rule intent, merge behavior, or target command is unclear.
1. Run `npx -y cc-safety-net rule doc` and treat that output as the complete source of truth for schema, paths, GitHub sources, matching behavior, and validation.
2. Determine the requested scope from the prompt when possible:
- User: applies to all projects.
- Project: applies only to the current project.
- GitHub: edits or creates a shareable rulebook structure in the current repository.
3. Determine whether to add a rule, edit a rule, disable a rule, override a reason, migrate legacy rules, or explain custom rules from the prompt when possible.
4. Inspect existing configs before modifying installed local rules:
- Run `npx -y cc-safety-net rule verify`
- Run `npx -y cc-safety-net rule list`
5. Inspect relevant project files only when the user asks for rule suggestions or the requested rule depends on project context. Look at manifests, scripts, task runners, CI, infrastructure, database, migration, and deployment files that explain risky commands.
6. Convert the request into valid CC Safety Net JSON using `rule doc`.
- For User or Project scope, add or edit the selected local `rule.json` and `<rulebook-name>/rulebook.json`.
- F...
Details
- Author
- kenryu42
- Repository
- kenryu42/cc-safety-net
- Created
- 5 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
cc-safe-setup
Safety hooks for Claude Code — 695 pre-built hooks that prevent file deletion, credential leaks, git disasters, and token waste during autonomous AI coding sessions. Install with npx cc-safe-setup.
48 Updated yesterday
yurukusa AI & Automation Solid
setup-rules
Set up and audit project rules — reads codebase, generates modular rules, documents MCP servers
1,749 Updated today
maxritter AI & Automation Listed
mission-control-safe-mode
Use when the user wants Mission Control to operate in a stricter approval-heavy safety posture.
1 Updated today
MN755