Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
Read `README.md` first for architecture, components, and workflows.
Sign in to like and favorite skills
Read
README.md first for architecture, components, and workflows.
cd'd in subdirs. Use (cd dir && command) with relative paths./var/lib/opensnitch/opensnitch.sqlite3; read-only SELECTs only. No mv/cp/rm; handle via whitelist/iptables instead.bin/format.sh → bin/lint.sh → bin/test.sh.bin/format.sh before committing to avoid formatting loops.bin/format.sh (isort + black on api/ and lib/)bin/lint.sh (pylint + mypy)bin/test.sh (all *_test.py)make install (installs deps and installs/enables systemd bringup service that runs itsup run && itsup apply on boot; itsup down --clean on shutdown; also enables timers: itsup apply at 03:00, backup at 05:00, and pi-healthcheck every 5 minutes).source env.sh (activates venv, adds bin/ to PATH, enables completion). Add to shell rc if desired.itsup init (clones projects/secrets if needed; copies samples: samples/env→.env, samples/itsup.yml→projects/itsup.yml, samples/traefik.yml→projects/traefik.yml, samples/example-project/→projects/example-project/, samples/secrets/itsup.txt→secrets/itsup.txt). Idempotent.itsup apply (all configs regen + deploy in parallel; hash-based change detection); itsup apply <project> (single).itsup run (orchestrated startup dns→proxy→api→monitor, monitor report-only).itsup down (orchestrated shutdown monitor→api→ALL projects→proxy→dns); itsup down --clean also removes stopped itsUP containers.dns/docker-compose.yml): itsup dns up|down|restart|logs.proxy/docker-compose.yml): itsup proxy up [traefik] | down | restart | logs [traefik].itsup monitor start [--report-only|--use-opensnitch] | stop | logs | cleanup | report.itsup svc <project> <cmd> [service]
up (all or specific service), down, restart, logs -f [svc], exec <svc> sh.make help | install | test | lint | format | clean.git config core.hooksPath bin/hooks to enable post-merge hook that auto-installs dependencies when requirements*.txt changes.itsup apply (all or single project).bin/write_artifacts.py (regen proxy & upstream configs without deploy).bin/backup.py (backup upstream/ to S3)bin/requirements-update.sh (update Python deps)itsup --help | --version | --verbosebin/test.sh (all Python unit tests *_test.py)bin/lint.sh, bin/format.sh as abovelib/data_test.py, lib/upstream_test.py, bin/backup_test.pyprojects/ itsup.yml # infra config with ${VAR} traefik.yml # overrides merged onto template output example-project/ docker-compose.yml # services with ${VAR} secrets ingress.yml # IngressV2 routing config
secrets/itsup.txt 2) secrets/{project}.txt (optional).${VAR} in generated files; at deploy time itsup apply/run loads env so compose expands.get_env_with_secrets(project) from lib.data:
subprocess.run(cmd, env=get_env_with_secrets(project), check=True) # infra stacks (no project): subprocess.run(cmd, env=get_env_with_secrets(), check=True)
tpl/proxy/traefik.yml.j2 and tpl/proxy/docker-compose.yml.j2 produce minimal bases; merged with projects/traefik.yml.ingress.yml auto-generates Traefik labels (router rules, TLS, service ports).bin/start-api.sh), CLI itsup, monitoring scripts.@~/.claude/docs/development/coding-directives.md~/.claude/docs/development/testing-directives.md