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/cli-tooling/flags-config/exercise/main.go
View on GitHubpackage main
import (
"errors"
"flag"
"fmt"
"os"
"strings"
)
// main is the only place that knows about the real process: the real
// arguments, the real environment, the real stderr. Everything below it is
// injected, which is why the loader is testable at all.
func main() {
loader := Loader{
Args: os.Args[1:],
LookupEnv: os.LookupEnv,
ConfigPath: "toolkit.json",
Stderr: os.Stderr,
}
res, err := loader.Load()
if err != nil {
if errors.Is(err, flag.ErrHelp) {
return // asking for help is not a failure
}
fmt.Fprintln(os.Stderr, "toolkit:", err)
os.Exit(2)
}
// The payoff of tracking origins: "where did this value come from?" is a
// question the tool can answer itself.
fmt.Printf("endpoint %-28q (from %s)\n", res.Config.Endpoint, res.Origins["endpoint"])
fmt.Printf("timeout %-28s (from %s)\n", res.Config.Timeout, res.Origins["timeout"])
fmt.Printf("retries %-28d (from %s)\n", res.Config.Retries, res.Origins["retries"])
fmt.Printf("verbose %-28t (from %s)\n", res.Config.Verbose, res.Origins["verbose"])
// A width verb applies per element on a slice, so join first.
fmt.Printf("tags %-28s (from %s)\n", strings.Join(res.Config.Tags, ","), res.Origins["tags"])
}
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 |