skills/how/SKILL.md
Walk through how a subsystem works. Use for "how does X work", code walkthroughs before changing something, and placement or ownership questions. Explains architecture, runtime flow, and onboarding mental models. Can critique architecture. Use why for motivation.
npx skillsauth add shipshitdev/library howInstall 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.
Explore the codebase to answer "how does X work?" Produce an architectural explanation at the level of a senior engineer onboarding onto a subsystem.
Two modes:
Companion to why. This skill answers what the code does. why answers
what forces led to its shape.
Inputs:
Outputs:
Creates/Modifies:
External Side Effects:
Confirmation Required:
Delegates To:
Parse the ask. If ambiguous, state the best-guess interpretation and proceed. Do not ask. Let the user redirect.
Simple (one module, a narrow function): skip explorer agents. The explainer explores and explains in one pass.
Complex (multiple files or services, a cross-cutting feature): spawn 2-4 parallel explorers, then one explainer. When in doubt, lean simple.
Decompose into 2-4 distinct slices so explorers do not duplicate work. Spawn all explorers in one message on the fast cheap tier, read-only. Each explorer gets references/explorer-prompt.md plus its slice. Each traces input to output without hand-waving.
Spawn one read-only explainer on the strongest judgment tier. It explores and writes the explanation. Use references/explainer-prompt.md.
Once explorers return, spawn one explainer on the strongest judgment tier with all findings. It reconciles overlap and contradictions.
Present the explainer's output. Light edits for clarity are fine. Do not substantially rewrite.
Overview. 1-2 paragraphs. What it is, what it does, why it exists.
Key Concepts. The types, services, or abstractions needed to follow the rest.
How It Works. The flow: trigger, steps, data, decision points. Prose, not pseudocode. Cite files and functions.
Where Things Live. A brief map of the relevant files.
Gotchas. Non-obvious edges and historical scars.
Triggered when the user asks for architectural issues, not just understanding.
development
Coordinates a weekly engineering review of board accuracy, recent code changes, operational health, and scoped cleanup. Use for a recurring repository health review or a review of the last several days.
testing
Audits project board configuration and prepares explicitly requested setup, copy, or normalization changes while preserving the existing workflow and provider boundaries. Use when inspecting a board's fields, columns, scope, or configuration.
testing
Reconciles a project board with current work and delivery evidence, reports incomplete coverage and metadata gaps, and applies only approved provider-supported field changes. Use when auditing board drift, reviewing blocked work, or assessing upcoming delivery.
tools
Independent second-opinion code review through the Grok CLI. Builds a self-contained review prompt from the exact diff, runs one headless Grok invocation on the CLI's own default model and effort, then verifies every returned finding against the code before reporting. Use when asked to review with Grok, get a second opinion on a branch, worktree, or PR from another CLI, or cross-check a review with an independent engine.