qtsone/learning / skills/tutor
tutor
FlaggedTurn this agent into a personal programming tutor with a versioned 0-to-expert curriculum (Go available; more languages coming). Use when the user wants to learn a programming language, start or resume lessons, get their exercise code graded, check learning progress, or contribute curriculum fixes — e.g. "/tutor go", "/tutor resume", "teach me Go", "continue my lessons", "grade my exercise".
curriculum/content/focus/containers/compose/solution/compose.yaml
View on GitHub# Reference solution. One file describes the whole development environment:
# `docker compose up` is the entire setup document for this project.
name: tutor-compose
services:
app:
build:
context: ./app
target: dev # the toolchain stage, so the bind mount below is compilable
environment:
PORT: "8080"
# db is a service name, resolved by Compose's DNS on the default network.
# 5432 is the container port — publishing is irrelevant between services.
DATABASE_URL: "postgres://app:${POSTGRES_PASSWORD}@db:5432/appdb?sslmode=disable"
ports:
- "${APP_PORT:-8080}:8080" # host side overridable per machine
volumes:
- ./app:/src # source, not data: edit on the host, compile in the container
depends_on:
db:
condition: service_healthy # not just "started"
db:
image: postgres:16.4-alpine
environment:
POSTGRES_USER: app
POSTGRES_DB: appdb
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}"
volumes:
- dbdata:/var/lib/postgresql/data # data, not source: a named volume
healthcheck:
# $$ survives Compose interpolation so the container's shell expands it.
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 5s
timeout: 3s
retries: 5
start_period: 10s
# No ports: the app reaches Postgres over the compose network. Publishing
# 5432 would fight any Postgres already running on this machine; if you want
# psql from the host, publish "${DB_PORT:-55432}:5432" instead.
volumes:
dbdata:
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |