afu-it/safe-code
Project memory that checks itself, for every coding agent. One AGENTS.md + one .safe-code/ folder: never guesses, reads before it edits, never pushes.
field: Developer tools workflow: Security reviewRefactoringTesting & TDDPR / code reviewPlanning & specs
stack: Shell
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit afu-it/safe-code/skills ./rig-safe-code/skills MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit afu-it/safe-code/skills/build-graph .claude/skills/build-graph $ npx degit afu-it/safe-code/skills/codebase-pruner .claude/skills/codebase-pruner $ npx degit afu-it/safe-code/skills/debug-issue .claude/skills/debug-issue $ npx degit afu-it/safe-code/skills/explore-codebase .claude/skills/explore-codebase $ npx degit afu-it/safe-code/skills/review-changes .claude/skills/review-changes $ npx degit afu-it/safe-code/skills/safe-code .claude/skills/safe-code $ npx degit afu-it/safe-code/skills/safe-refactor-code .claude/skills/safe-refactor-code $ npx degit afu-it/safe-code/skills/senior-dev .claude/skills/senior-dev
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} Skills (8)
Similar rigs
tirth8205/code-review-graph
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Pragmatist 6.3k tok · · Q5
apodal-cherry334/code-review-graph
Map code reviews as graphs to optimize token usage and improve analysis accuracy.
Pragmatist 2.7k tok · · Q0
shariski/ai-config
Cross-provider AI coding agent configs (opencode + Claude Code + shared). Single source of truth for provider switches. No secrets committed.
Pragmatist 4.4k tok · · Q5
exactbee/claude-code-workflow
Structured Claude Code workspace — Opus plans, Sonnet executes. Curated MCP stack with ~98% token savings on input. Drop-in template for developers.
Skill Collector 10.0k tok · · Q15