~ / rigs / sheptalo / py_clean_template

sheptalo/py_clean_template

Clean architecture with codegen for any python applications

↗ GitHub ★ 3 no license updated 5d ago project Claude CodeCodex
field: unknown workflow: PR / code review
stack: DockerPython
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~141 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit sheptalo/py_clean_template/.claude ./rig-py_clean_template  # inspect, then merge into .claude/

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 sheptalo/py_clean_template/.agents/skills/code-review .claude/skills/code-review
$ npx degit sheptalo/py_clean_template/.agents/skills/karpathy-guidelines .claude/skills/karpathy-guidelines
$ npx degit sheptalo/py_clean_template/.agents/skills/ponytail .claude/skills/ponytail

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR}/.claude/hooks/layer_conventions.py\""
          },
          {
            "type": "command",
            "command": "python3 \"${CLAUDE_PROJECT_DIR}/.claude/hooks/arc_ignore.py\""
          }
        ]
      }
    ]
  }
}

Skills (3)

Hooks (3)

eventmatcherruns
PreToolUseEdit|Write|MultiEdit|Bashpython3 "${CLAUDE_PROJECT_DIR}/.claude/hooks/layer_conventions.py"
PreToolUseEdit|Write|MultiEdit|Bashpython3 "${CLAUDE_PROJECT_DIR}/.claude/hooks/arc_ignore.py"
PostToolUseRead|Bashpython3 "${CLAUDE_PROJECT_DIR}/.claude/hooks/layer_conventions.py"

Similar rigs

copied ✓