Generate operational runbooks by scanning project infrastructure files. Produces structured Markdown runbooks with procedures for common ops tasks.
bash
python3 scripts/generate_runbook.py /path/to/project
bash
# Markdown (default)
python3 scripts/generate_runbook.py /path/to/project
# JSON (structured)
python3 scripts/generate_runbook.py /path/to/project --format json
# Specific output file
python3 scripts/generate_runbook.py /path/to/project -o RUNBOOK.md
FileWhat It ExtractsDockerfileBase image, exposed ports, entrypoint, build stepsdocker-compose.ymlServices, ports, volumes, dependencies, env varssystemd units (.service)ExecStart/Stop/Reload, dependencies, restart policyMakefileTargets (build, test, deploy, clean, etc.)package.jsonScripts (start, build, test, dev, deploy).env / .env.exampleRequired environment variablesnginx.confUpstream servers, listen ports, locations