Skip to content
Agentmart
Submit a tool

how

Explain how a subsystem works, trace a runtime flow, or determine where code and ownership belong before making a change.

Skill by painhardcore

IndexedMIT★ 12
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/painhardcore-how

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Explain how a subsystem works, trace a runtime flow, or determine where code and ownership belong before making a change.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/how

What's inside

Skill name
how
Description
Explain how a subsystem works, trace a runtime flow, or determine where code and ownership belong before making a change.
License
MIT
Instructions
53 lines in SKILL.md · view on GitHub

Files (5)

  • SKILL.md
  • critic-prompt.md · references/
  • critique-rubric.md · references/
  • explainer-prompt.md · references/
  • explorer-prompt.md · references/

SKILL.md (first lines)

# How

Build a working mental model from the code. Explain entry points, data flow, ownership, boundaries, and non-obvious behavior. Use **why** when the user wants historical motivation.

## Choose the mode

- **Explain**. Trace and explain the current system.
- **Critique**. Explain first, then identify architectural problems and practical improvements.

Treat one module or symbol as simple. Treat a flow across several modules or services as complex.

## Explore

For a simple question, inspect and explain inline.

For a complex question, divide the system into two to four non-overlapping slices. If the host supports subagents and the user permits them, assign each slice to a read-only subagent using the parent model. Use different available models only for an explicitly requested multi-model critique. If delegation is unavailable or forbidden, inspect the slices inline in the same order.

Each slice must:

1. Find the real entry point.
2. Trace callers, callees, state, and types from input to output.
3. Read code instead of inferring behavior from file names.
4. Record specific files and symbols.
5. Note behavior a newcomer would probably misunderstand.

Use `references/explorer-prompt.md` for delegated exploration and `references/explainer-prompt.md` for synthesis.

## Explain

Reconcile the slices into one account. Resolve contradictions by reading the code. Do not paste raw exploration reports.

Use only the sections the question needs:

- **Overview**. What the subsystem does and why it exists.
- **Key concepts**. The small set of types, services, or abstractions needed to follow the flow.
- **How it works**. The trigger, ordered steps, decisions, state changes, and output.
- **Where things live**. The files and symbols a maintainer should open first.
- **Gotchas**. Hidden state, surprising coupling, or edge cases.

## Critique

Explain the system before judging it. When permitted, ask two or more read-only critics to assess the same explanation and source files independently. Prefer different available model families when the host supports model selection. Otherwise perform one inline critique against the same rubric.

Read `references/critique-rubric.md` and `references/critic-prompt.md`. Classify each finding:

- **Act on**. A current correctness, security, or maintainability problem.
- **Consider**. A real concern whose value is uncertain.
- **Noted**. Valid but low priority.
- **Dismissed**. Incorrect, context-free, or only stylistic.

Present the explanation first. Then present the critique and cite the files that support each finding.

From painhardcore/pstack, MIT.

More from painhardcore/pstack

Signals

Stars
12
Forks
3
Open issues
0
Last commit (this folder)
Aug 27, 2026 (2 months ago)
Last release
Aug 26, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from painhardcore

Cite this page

how skill. Agent Mart. https://agentmart.dev/skills/painhardcore-how (last updated 2026-10-24)