Files
claude-config/rules/python/security.md
Yaojia Wang 2876cca8fe chore: initial backup of Claude Code configuration
Includes: CLAUDE.md, settings.json, agents, commands, rules, skills,
hooks, contexts, evals, get-shit-done, plugin configs (installed list
and marketplace sources). Excludes credentials, runtime caches,
telemetry, session data, and plugin binary cache.
2026-03-24 22:26:05 +01:00

524 B

paths
paths
**/*.py
**/*.pyi

Python Security

This file extends common/security.md with Python specific content.

Secret Management

import os
from dotenv import load_dotenv

load_dotenv()

api_key = os.environ["OPENAI_API_KEY"]  # Raises KeyError if missing

Security Scanning

  • Use bandit for static security analysis:
    bandit -r src/
    

Reference

See skill: django-security for Django-specific security guidelines (if applicable).