source/skills/tour/SKILL.md
Structured "before each task" preamble for a coding topic. Presents read-this-first doc pointers, key concepts, and common junior mistakes. From chiron's session preamble pattern — gives you the mental model before you start writing code. For topic overviews, NOT tutorials.
npx skillsauth add xDido/chiron tourInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Quick start:
{{command_prefix}}tour Go channels — preamble for a specific primitive{{command_prefix}}tour async/await in JavaScript — preamble for a language concept{{command_prefix}}tour database connection pooling — preamble for an architecture topic{{command_prefix}}tour — no argument: infer the topic from the current conversationCheck if .chiron-context.md exists in the project root. If it exists: read it. DO NOT scan the codebase or read additional files. If not: tell the user: "No project context found. Run {{command_prefix}}teach-chiron first." Then stop.
The user's topic:
$ARGUMENTS
If $ARGUMENTS is empty or whitespace-only: derive the topic from the current conversation instead of asking. Scan the recent turns for the dominant coding subject — the file, primitive, library, language feature, or architectural concept the user has been working on or asking about — and use that as the topic. Open the preamble with a one-line confirmation of what you inferred, e.g. "Inferring topic from conversation: Go errgroup. Say otherwise and I'll retarget." Then produce the normal 3-section output.
Inference rules:
errgroup.WithContext beats a vague category like "concurrency").{{command_prefix}}tour <specific concept> — e.g. {{command_prefix}}tour Go channels." Then stop.If the current project's {{config_files}} conflicts with the behavior below, follow those instructions instead. This command is opt-in.
Apply the voice level from .chiron-context.md. If missing or unrecognized, use default.
Given a coding topic or concept, produce a structured preamble covering:
Based on chiron's "Before each task" pattern. The output is a reading and mental-prep list — NOT a tutorial or a solution.
$ARGUMENTS empty? Infer the topic from the conversation per the rules above. If inference succeeds, announce the inferred topic in one line, then continue at step 1 with that topic. If inference fails, stop with the fallback message.{{command_prefix}}tour async programming), ask for specificity: "{{command_prefix}}tour works best with a specific concept or primitive. Try {{command_prefix}}tour Go channels or {{command_prefix}}tour async/await in JavaScript."{{command_prefix}}tour how do I implement a worker pool) Route to {{command_prefix}}chiron: "This looks like a task. Try {{command_prefix}}chiron implement a worker pool in Go for guided help, or {{command_prefix}}explain if you want to compare approaches first."{{command_prefix}}tour REST vs gRPC) Route to {{command_prefix}}explain: "This looks like a choose-an-approach question. Try {{command_prefix}}explain REST vs gRPC."Compact 3-section format. ~12 lines total instead of decorative ## headers and multi-line bullets:
Read first:
- <resource> <URL>
- <resource> <URL> [optional]
Key concepts:
1. <concept in one sentence>
2. <concept in one sentence>
3. <concept in one sentence> [optional, max 4]
Watch for:
- <mistake> — <brief "why it's wrong">
- <mistake> — <brief "why it's wrong">
- <mistake> [optional, max 4]
Ready? `{{command_prefix}}chiron <task>`
Style rules:
Read first:), not ## headers**bold names** — just name + URL<mistake> — <why wrong> on one line each; drop the — if the mistake name is self-explanatorypkg.go.dev etc.), then well-known secondary sources (Effective Go, Go Proverbs, MDN, etc.). Blog posts and StackOverflow only as last resort. If unsure of a URL, describe the resource without a URL rather than fabricate one: "the official errgroup package docs on pkg.go.dev".make(chan int) to create a channel" — no (implementation, belongs in {{command_prefix}}chiron).{{command_prefix}}chiron for when the user is ready to start writing.When the user's topic maps to a named pattern in {{pack_path}}/../chiron/references/engineering-arsenal.md, use that entry as the foundation for the "Key concepts" section. Read the reference file on first {{command_prefix}}tour invocation per session.
{{command_prefix}}tour circuit breaker), the preamble should cover that specific pattern's prerequisites, not the general category.{{command_prefix}}tour resilience), pick the 2–3 most foundational patterns and name the others as "also worth reading."{{command_prefix}}tour is a preamble, NOT a walkthrough. If the user wants step-by-step, they can run {{command_prefix}}chiron after.errgroup.WithContext) is allowed — that's a reference, not an example.The 3-section structure is the same at every level. Only the phrasing and the "Common mistakes" section header vary.
gentle{{command_prefix}}chiron <your task>."default{{command_prefix}}chiron ..."strict{{command_prefix}}chiron ..."{{command_prefix}}chiron's job.{{command_prefix}}chiron, don't refuse.~/.chiron/config.json for voice level.$ARGUMENTS empty (→ infer from conversation)? Is the topic well-defined? A "how do I" question in disguise? A "which way" question in disguise? Route appropriately.{{command_prefix}}chiron for implementation. If the topic lends itself to drills, also suggest {{command_prefix}}challenge <file> for hands-on practice.~/.chiron/profile.json. This command is read-only.development
One-time comprehensive project scan. Reads every important file in the codebase and writes .chiron-context.md — the persistent context file that all other chiron skills reference instead of re-scanning.
development
Guided refactoring with named patterns. Identifies code smells, names the refactoring, and guides the transformation via a domain-adapted hint ladder. Defers to {{config_files_plain}}.
development
Session-end review of recent chiron activity. Scores across 5 axes (design thinking, code quality, idioms, testing, engineering maturity) and names one concrete thing to practice next time. Read-only in v0.3.0 — does not persist scores.
testing
Set or show chiron's voice level (gentle, default, or strict). Zero-arg invocation prints the full config snapshot — voice level plus drill sizing and teaching dials — doubling as a health check. Persists to ~/.chiron/config.json across sessions.