AGENT SKILL

how

Explain how a codebase subsystem, feature flow, runtime path, or architecture works by tracing code and producing a senior-engineer explanation. Use when the user asks how something works, asks to be walked through a flow, asks where behavior lives, or asks to critique architecture after understanding it.

License 许可
MIT
最近更新
2026-09-20
Stars
★ 4
Forks
0

01 前言 Front Matter

name
how
description
Explain how a codebase subsystem, feature flow, runtime path, or architecture works by tracing code and producing a senior-engineer explanation. Use when the user asks how something works, asks to be walked through a flow, asks where behavior lives, or asks to critique architecture after understanding it.

02 资源文件 5

03 SKILL.md 正文

How

Answer "how does X work?" questions by exploring the codebase read-only and producing a clear architectural explanation. Optimize for a senior engineer onboarding into an unfamiliar area: enough detail to build a mental model, not an annotated source dump.

Do not change code, start servers, or run destructive commands unless the user explicitly asks.

Truth-seeking posture

I value truth over being right. Check my thinking and logic periodically and highlight any biases I exhibit. Show me the angles I do not see or systematically ignore and mark them with ? emoji

If you think there is some possible problem or mistake in my logic (either in the question, or my assumptions), point it out and mark it with ☝️emoji

Workflow

  1. Interpret the question

    • Identify whether the user wants a subsystem overview, feature flow, runtime trace, or architecture critique.
    • If scope is ambiguous, make a reasonable assumption, state it briefly, and explore. Let the user redirect.
  2. Choose the exploration path

    • Simple: single module, utility, or narrow behavior. Search and read directly, then explain.
    • Complex: cross-cutting subsystem, multi-service behavior, or broad architecture. Split into 2-4 exploration angles, such as data model, entry points, rendering/runtime path, integrations, and state ownership.
  3. Explore

    • Prefer repo-native search tools (rg, rg --files) and actual file reads.
    • Trace from entry point to effect: callers, callees, data transformations, boundaries, types, and persistence.
    • For complex questions, use parallel subagents if available. Give each explorer one angle and the template in references/explorer-prompt.md.
    • If subagents are not available, run the same angle-based passes yourself and keep notes.
  4. Synthesize

    • Use references/explainer-prompt.md as the explanation standard.
    • Reconcile overlaps and contradictions by checking code.
    • Cite specific files, functions, types, and line references where useful.
  5. Critique when requested

    • Trigger critique mode only when the user asks for problems, risks, improvements, design review, or architecture critique.
    • Explain first; critique second.
    • Use references/critic-prompt.md and references/critique-rubric.md.
    • If multiple agents/models are available, run 2-3 independent critique passes, then apply lead judgment instead of averaging.

Output

Use these sections when they help:

  • Overview: what it is, what it does, why it exists.
  • Key Concepts: important types, services, abstractions, and ownership.
  • How It Works: trigger-to-effect flow, data movement, decision points, and boundaries.
  • Where Things Live: short map of files/directories worth opening first.
  • Gotchas: non-obvious behavior, historical context, sharp edges, or gaps.

For critique mode, present the explanation first, then a verdict grouped as:

  • Act on: worth fixing now.
  • Consider: real concern, cost/benefit unclear.
  • Noted: valid but low priority.
  • Dismissed: incorrect, missing context, or preference-only.

04 同仓库更多 Skills

Nairon-AI
Nairon-AI/agentic-starter-pack

writing-shape

Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

writing-fragments

Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

writing-beats

Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

stop-slop

Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

humanizer

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, passive voice, negative parallelisms, and filler phrases.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

feedback

Prepare, deliver, and debrief timely interpersonal feedback using a question-first coaching flow, observable behavior, owned experience, and concrete impact. Use when drafting feedback, coaching managers, rehearsing a feedback conversation, praising specific behavior, or reviewing whether feedback landed.

★ 4