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/deploying-go/exercise/deployment.yaml
View on GitHub# Where you left this file at the end of the Kubernetes Configuration lesson,
# now deploying release 1.1.0. It schedules, it serves, it passes its probes —
# and it drops requests every single time a pod moves. Every TODO below is one
# of the ways it does that.
#
# Formatting: check.sh carries its own small YAML reader (PyYAML is not
# guaranteed on your machine), so stay in the subset it understands — spaces
# only, never a tab; two spaces per level; a space after every colon and after
# every "- "; no anchors (&), aliases (*) or merge keys (<<:).
apiVersion: apps/v1
kind: Deployment
metadata:
name: timesvc
namespace: timesvc
labels:
app: timesvc
spec:
replicas: 3
selector:
matchLabels:
app: timesvc
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
revisionHistoryLimit: 5
template:
metadata:
labels:
app: timesvc
spec:
# TODO: nothing here says how long this pod may take to stop, and nothing
# delays SIGTERM long enough for the dataplane to stop sending it traffic.
containers:
- name: timesvc
image: timesvc:1.1.0
ports:
- name: http
containerPort: 8080
env:
- name: PORT
valueFrom:
configMapKeyRef:
name: timesvc-config
key: PORT
- name: LOG_LEVEL
valueFrom:
configMapKeyRef:
name: timesvc-config
key: LOG_LEVEL
# TODO: the process needs its drain budget, and the Go runtime is
# about to size itself from the node instead of from this
# container's share of it — twice, once for CPU and once for memory.
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
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: 471k | 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 |