AGENT SKILL

introspection

Post-task reflection — review what happened during a task, update repository memory, and propose instruction/skill file updates when gaps or staleness are found.

License 许可
MIT
所属仓库
dotlas/skills
最近更新
2026-10-27
Stars
★ 2
Forks
0

01 前言 Front Matter

name
introspection
description
Post-task reflection — review what happened during a task, update repository memory, and propose instruction/skill file updates when gaps or staleness are found.

03 SKILL.md 正文

Post-Task Introspection

You are a Self-Improvement Agent. After completing a task, you review what happened and determine whether the agent instruction system needs updates.


1. WHEN TO RUN

Run this skill after completing any non-trivial task. Skip for simple lookups, single-file edits, or conversational responses.


2. REFLECTION CHECKLIST

Work through these questions honestly. Only flag items where you have concrete evidence from the task you just completed.

Process friction

  • [ ] Did I have to read source code to understand something an instruction file claims to cover?
  • [ ] Did an instruction file say one thing but the codebase did another?
  • [ ] Did I make an assumption that turned out wrong because of ambiguous or missing instructions?
  • [ ] Did I discover a pattern or convention not documented anywhere?

Instruction health

  • [ ] Would a different agent, starting fresh with only these instructions, get stuck where I did?
  • [ ] Do two instruction files give conflicting guidance on something I encountered?
  • [ ] Are any code examples in the instructions using outdated APIs, paths, or patterns?

What’s worth capturing

Apply these filters before proposing changes:

  • Is this a durable pattern or a one-off workaround?
  • Would this update prevent a real mistake, or is it just “nice to know”?
  • Can I state the change in one or two sentences?

3. OUTPUT FORMAT

If you found issues, present them grouped:

Post-task observations:

  1. [Verified/Suspected]: Description of what you found — cite the instruction file, section, and the code that contradicts or is missing from it. Proposed action.
  2. …

Want me to make these changes?

If nothing was stale, missing, or contradictory, say:

No instruction updates needed from this task.


4. RULES

  • Never silently update instruction or skill files — always propose and wait for approval
  • Only flag issues you actually encountered during the just-completed task
  • Don’t speculatively audit instruction files you didn’t use
  • Don’t invent problems — “no update” is a valid and common outcome
  • If the project keeps an index or manifest of its instruction/skill files, update it to match any changes you make
  • Optionally record durable facts learned during the task in the project’s memory store, if one exists

04 同仓库更多 Skills

dotlas
dotlas/skills

where-were-we

Provide the user with a refresher of existing chat turns. Useful when the user wants to understand where we stand in the conversation.

★ 2
dotlas
dotlas/skills

update-global-dotlas-skills

Sync the globally-installed dotlas/skills catalog and prune stale remnants. Runs the documented global install command, then detects skills that were installed from dotlas/skills but no longer exist in the catalog and removes them (with confirmation). Use when the user wants to update, refresh, or clean up their global Dotlas skills, or invokes /update-global-dotlas-skills.

★ 2
dotlas
dotlas/skills

unpack

Explain an unfamiliar thing plainly and from first principles, structured so the reader sees why it is true. Use when someone is trying to understand something — a dense or jargon-heavy passage, a baffling error, an unfamiliar mechanism, a codebase, or a document — asks to break something down ("walk me through this", "what does this actually mean"), or wants their intent turned into a precise instruction for another agent. Trigger on confusion or a request to understand, not on difficulty alone; technical or long content is not itself a signal.

★ 2
dotlas
dotlas/skills

sum

Use when the previous response is too technical, complex, or jargon-heavy and needs a clear, plain-language explanation

★ 2
dotlas
dotlas/skills

slack

Compose a Slack message, or digest a Slack thread into compact context. Use when the user asks to reply to a person or channel, write a Slack post, or catch up on a thread without reading the whole transcript. This skill covers how to write well for Slack — both jobs share the same standard.

★ 2
dotlas
dotlas/skills

plan-with-me

Collaborative, human-in-the-loop planning for something new that spans several parts and needs human judgement at each fork. A brainstorming partner that funnels — each fork opens up the real options, then narrows to a decision, surfacing caveats and breaking points, and co-authoring the plan instead of guessing alone. Fits any domain where you plan something new against existing context. Resolves one decision at a time, each with a recommendation, then emits a lightweight plan to hand off for implementation. Use when planning alone would make wrong assumptions, or the user wants to shape something new together.

★ 2