MA
manage-infra
Starts or stops the Docker Compose infrastructure (Postgres 17).
Install
mkdir -p .claude/skills/manage-infra && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14176" && unzip -o skill.zip -d .claude/skills/manage-infra && rm skill.zipInstalls to .claude/skills/manage-infra
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Starts or stops the Docker Compose infrastructure (Postgres 17).64 charsno explicit “when” trigger
About this skill
Skill: Manage Infrastructure
Visual Studio Code Tasks
- To Start: Run the VS Code task:
"Start Docker Compose".- This builds and starts containers in detached mode using
./docker/docker-compose.yaml.
- This builds and starts containers in detached mode using
- To Stop: Run the VS Code task:
"Stop Docker Compose". - To Reset (Wipe Data): Run the VS Code task:
"Stop & Remove Volumes".
Docker Compose
From the project root directory:
-
To Start: Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml up -d -
To Stop: Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml down -
To Reset (Wipe Data): Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml down -v
Verification
-
Make sure the arch-stats container started successfully before starting the Backend or Frontend servers:
docker compose -f ./docker/docker-compose.yaml ps --allThis means:
- arch-stats-db-1 is healthy
- arch-stats-migrations-1 exited successfully (exit code 0)
Logs
-
To View Logs: Run the Docker Compose command:
docker compose -f ./docker/docker-compose.yaml logs # or docker compose -f ./docker/docker-compose.yaml logs db # or docker compose -f ./docker/docker-compose.yaml logs migrations