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/capstone/exercise/deploy/base/deployment.yaml
View on GitHub# Carried forward from deploying-go, with two edits: the namespace is gone
# (the overlays set it, one per environment) and the image now names a
# registry repository instead of a local build.
#
# Everything else is the contract you earned in that lesson and must not lose
# here — the budget below especially:
# preStop 10s + SHUTDOWN_TIMEOUT 20s + margin <= terminationGracePeriodSeconds 45s
apiVersion: apps/v1
kind: Deployment
metadata:
name: timesvc
labels:
app: timesvc
spec:
replicas: 2
selector:
matchLabels:
app: timesvc
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
revisionHistoryLimit: 10
minReadySeconds: 5
template:
metadata:
labels:
app: timesvc
spec:
terminationGracePeriodSeconds: 45
containers:
- name: timesvc
# A bootstrap value: the last revision anyone deployed by hand. The
# pipeline overwrites it per environment at deploy time — never
# "latest", which would make every revision of this Deployment point
# at the same moving target and every rollback a no-op.
image: ghcr.io/ada/timesvc:sha-0000000
ports:
- name: http
containerPort: 8080
# envFrom, not per-key configMapKeyRef as in kubernetes-config: that
# lesson's objection was a ConfigMap carrying features.yaml, which
# has no sane environment-variable form. This one holds nothing but
# scalar settings, so importing all of it is honest and stays right
# when a key is added.
envFrom:
- configMapRef:
name: timesvc-config
env:
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
resource: limits.cpu
divisor: "1"
# A literal, and therefore the one number an overlay has to keep in
# step by hand when it changes the memory limit.
- name: GOMEMLIMIT
value: "110MiB"
startupProbe:
httpGet:
path: /healthz
port: http
periodSeconds: 5
failureThreshold: 12
livenessProbe:
httpGet:
path: /healthz
port: http
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 3
readinessProbe:
httpGet:
path: /readyz
port: http
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 2
lifecycle:
preStop:
sleep:
seconds: 10
resources:
requests:
cpu: 100m
memory: 64Mi
limits:
cpu: 500m
memory: 128Mi
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: 470k | 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 |