AGENT SKILL

teach

Explain what a concept means or how code works today, from the current code and docs. Use for how-it-works questions, including why code behaves as it does, not why a design was chosen or introduced (use why) or diagnosing failures.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
teach
description
Explain what a concept means or how code works today, from the current code and docs. Use for how-it-works questions, including why code behaves as it does, not why a design was chosen or introduced (use why) or diagnosing failures.

02 资源文件 1

03 SKILL.md 正文

Teach

Start with the user's question and intended understanding. Reuse context already provided and match their vocabulary and demonstrated knowledge; do not assume a beginner audience. Ask only when missing material context would change the explanation. Otherwise answer directly, stating any necessary assumptions.

Teaching or explanation alone stays read-only. Inspect relevant permitted code and documentation without editing files, running commands that change state, or creating learning workspaces. An illustrative snippet in the response does not authorize implementing it. Follow the authorization of any separately requested implementation work.

Build the explanation

  • Lead with the minimum complete answer to the actual question. Define the key concept in plain language and explain what problem it solves, using only the prerequisites needed for this question.
  • Explain the mechanism incrementally: what starts it, what changes at each step, and what result follows. Connect each step to the previous one instead of listing terms or jumping between abstraction levels.
  • Ground the mechanism in one concrete example. For code, trace a representative input through the relevant functions or state changes to its output; point to useful source locations. Keep snippets small and distinguish illustrative code from code actually inspected.
  • Separate observed facts from inferred intent, analogies, and uncertainty. Code can establish what happens without establishing why its author chose it. Qualify unsupported explanations and identify missing evidence rather than inventing a rationale. When the user wants that rationale or its history, use the why skill instead.
  • Use a small diagram only when relationships or flow become easier to understand and a suitable format is available. Plain text or a short trace is enough when rendering is unavailable; do not require image generation or extra tooling.

Protect attention

Keep depth proportional to the question. Omit trivia, tangents, repeated summaries, and long lectures. Use an analogy only when it helps, and explain its limits when they matter. Include edge cases or trade-offs when they change the user's understanding or decision, rather than surveying every possibility.

Stop once the question is answered. Let follow-up questions guide further depth; do not require quizzes, exercises, a curriculum, or a separate learning session.

Source

Adapted from pstack teach by Lauren Tan in cursor/plugins, under the MIT License. The upstream notice is retained in LICENSE. This adaptation keeps the explanation practices without its mandatory delegation, skill calls, or image generation.

04 同仓库更多 Skills

scruffydan
scruffydan/AI-Agents

writing-for-agents

Author or revise agent instruction artifacts such as AGENTS.md, skill instructions, and agent prompts. Use for their triggers, structure, constraints, and completion criteria, not ordinary coding answers or general prose editing.

★ 0
scruffydan
scruffydan/AI-Agents

why

Investigate why a design or architectural choice was made, using code history and decision records. Use for rationale questions like why X was built this way or chosen over Y, not how code works today (use teach), debugging failures, or Five Whys process analysis.

★ 0
scruffydan
scruffydan/AI-Agents

unslop

Edit prose to remove AI writing patterns such as stock vocabulary, filler, hedging, and mannered phrasing. Use when asked to unslop or de-AI text, or to polish a substantial prose draft; not for code, short routine replies, or deciding the content and structure of documentation or agent instructions.

★ 0
scruffydan
scruffydan/AI-Agents

to-tickets

Turn an established plan into independently verifiable vertical implementation slices with acceptance criteria, verification, and true dependencies. Use when breaking planned work into tickets; small changes can stay as one task.

★ 0
scruffydan
scruffydan/AI-Agents

technical-writing

Write or revise technical documentation, tutorials, how-to guides, reference material, and explanations so readers can understand and complete their task.

★ 0
scruffydan
scruffydan/AI-Agents

takeover

Finish someone else's pull request, branch, or agent thread while preserving the original contributors' credit. Use when the user asks to take over existing work or requests a takeover.

★ 0