From productivity-skills
Use this skill when the user wants a code path, flow, pipeline, request lifecycle, trace, walkthrough, or part of a system explained step by step from start to finish. Explain where data comes from, what shape it has, who sends it, why it enters the flow, what calls what next, where branches and boundaries happen, how data transforms, and what comes out at the end. Also use this when the user asks things like “walk me through this,” “follow this through the code,” “show me the path,” “what calls this,” “where does this data come from,” “where does it go next,” “why is this shaped like this,” “how does this part work,” or when they want two flows compared.
How this skill is triggered — by the user, by Claude, or both
Slash command
/productivity-skills:explain-code-sliceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the user wants one bounded walkthrough of how part of a system works from start to finish. The canonical term is `slice`.
Use this skill when the user wants one bounded walkthrough of how part of a system works from start to finish. The canonical term is slice.
docs/architecture/SLICES.md after the explanation.slice: one bounded end-to-end walkthrough of a request, event, feature action, job, or data item.data shape: the meaningful structure of the data at a point in the slice, what it represents, and why it has that shape.boundary: a meaningful crossing such as caller/callee, module, package, process, service, client/server, queue, storage, or external API.branch point: any step that can route execution down different paths.Treat pipeline, execution flow, request lifecycle, data flow, trace, and walkthrough as compatibility language for the same underlying workflow unless the user clearly means something else.
quickstandardthoroughcompare slicesUse standard when no detail level is specified.
Use this when the user wants to compare:
First explain each slice clearly enough to stand on its own. Then compare:
Treat comparison requests as first-class trigger cases, not as an advanced follow-up.
Use the shared trigger and sandbox policy in docs/maintainers/codex-subagent-guidance.md. This skill is a good fit for code-slice-tracer, parallel code tracing, and bounded read-heavy discovery: mapping call sites, reading tests, checking docs, finding data-shape changes, or tracing one branch of a comparison, with each worker returning concise file references and findings.
Do not spawn subagents just because a slice is large. Keep the final explanation in the main thread so the user gets one coherent walkthrough, and keep any SLICES.md, write, or refactor follow-up outside the tracer role unless the user asks for that next step.
quick: keep each step brief, but still include every meaningful step in order.standard: default density for most walkthroughs.thorough: add fuller commentary for branch behavior, boundaries, contracts, and why each transformation exists.The detail level changes explanation density only. It must not remove meaningful steps from the slice.
Return a structured narrative in this order:
Slice summaryWalkthroughDiagramNotesThe writing should stay conversational and narrative-first. Avoid sterile dumps, but do not skip steps for brevity.
Use this when the user asks to save, record, maintain, update, or add a slice to repository architecture docs.
docs/architecture/SLICES.md exists. If it is missing, use the maintain-project-architecture structure: title, summary, slice index, and slices sections.## Slice: <Name> section.### Trigger### Data Shapes### Step Trace### Boundaries### Outputs### EvidenceSLICES.md.uv run --group dev python /Users/galew/.codex/skills/.system/skill-creator/scripts/quick_validate.py skills/explain-code-slice.agents/openai.yaml aligned with the final trigger wording in this skill.references/trigger-eval.md to audit whether the description is broad enough to catch natural phrasing and comparison requests.references/output-contract.mdreferences/detail-levels.mdreferences/diagram-format.mdreferences/comparison-workflow.mdreferences/example-prompts.mdreferences/trigger-eval.mdnpx claudepluginhub gaelic-ghost/socket --plugin productivity-skillsCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.