reflect
Reflect on the conversation and update the brain. Use immediately when the user adds or clarifies constraints, preferences, or quality standards, even when phrased as a new instruction rather than a correction. Also use after mistakes, failures, user corrections, user steering, negative reviews, discovered workarounds, understanding gaps, and at session wrap-up. Review may conclude no write is needed. Use when the user says "reflect", "remember this".
- License 许可
- MIT
- 所属仓库
- japurcell/skills
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- reflect
- description
- Reflect on the conversation and update the brain. Use immediately when the user adds or clarifies constraints, preferences, or quality standards, even when phrased as a new instruction rather than a correction. Also use after mistakes, failures, user corrections, user steering, negative reviews, discovered workarounds, understanding gaps, and at session wrap-up. Review may conclude no write is needed. Use when the user says "reflect", "remember this".
03 SKILL.md 正文
Reflect
Review the conversation and persist learnings - to brain/, to skill files, or as structural enforcement.
Process
Track the review in the active plan when one exists; otherwise use the available planning tools or a short checklist.
- Scan the conversation for:
- Mistakes made and corrections received
- User preferences and workflow patterns
- Codebase knowledge gained (architecture, gotchas, patterns)
- Tool/library quirks discovered
- Decisions made and their rationale
- Friction in skill execution, orchestration, or delegation
- Repeated manual steps that could be automated or encoded
- Identify lessons that will matter in a future session. If none qualify, finish here.
- Route and persist each remaining learning during this reflection. Before a brain write, read
brain/index.mdand the relevant topic notes. Write only what those notes do not already cover; keep reusable guidance in indexed topic notes, skill instructions, or structural enforcement. An existing active plan may link to the saved guidance when useful to its task. - Reconcile navigation using the brain skill after a brain write. Hooks own the root inventory.
Routing
Not everything belongs in the brain. Route each learning to where it will have the most impact.
Structural enforcement check
Before routing a learning to brain/, ask: can this be a lint rule, script, metadata flag, or runtime check? If yes, encode it structurally and skip the brain note. See brain/principles/encode-lessons-in-structure.md.
Brain files (brain/)
Codebase knowledge, delegation principles, gotchas - anything that informs future sessions. This is the default destination. Activate the brain skill for writing conventions.
- One topic per file. File name = topic slug.
- Group in directories with index files using standard Markdown links.
- No inlined content in index files.
Skill improvements (.agents/skills/<skill>/)
If a learning is about how a specific skill works - its process, prompts, or edge cases - update the skill directly. Activate the create-skill or skill-creator skill when available; otherwise preserve its invocation controls, keep resources self-contained, and verify the affected procedure directly.
Orchestration workflow improvements
If the session revealed systemic orchestration issues, route to:
- Brain principle (new delegation heuristic) →
brain/principles/, linked frombrain/principles.md - Skill mechanics change (monitoring loop, review step) → relevant skill file
- New skill opportunity (recurring workflow that could be encoded) → note in summary for the user
Backlog items (brain/todos.md)
Follow-up work that can't be done during reflection - bugs, non-trivial rewrites, tooling gaps. Activate the todo skill to file.
Summary
## Reflect Summary
- Brain: [files created/updated, one-line each]
- Skills: [skill files modified, one-line each]
- Structural: [rules/scripts/checks added]
- Todos: [follow-up items filed]
04 同仓库更多 Skills
spec-create
Create or revise a portable behavioral SPEC for a feature or whole product. Use when specifying a new idea, documenting an existing system for reimplementation, or defining a change while preserving compatibility. Implementation planning is a separate task.
prd-ralph
Complete at most one eligible unfinished PRD task, verify it, log progress, and optionally create one scoped commit.
fsdp-style-guide
Mandatory for all UI/UX design, implementation, review, audit, or visual regression tasks. Always use for any work that affects user-facing appearance, behavior, accessibility, branding, layout, navigation, forms, dialogs, alerts, tables, or visual design.
agency-priorities
Provide self-contained USDA strategic goals and Forest Service priorities for agency briefings, proposals, and work-plan alignment. Use when explaining agency direction or evaluating how a project contributes to USDA and Forest Service priorities.
accomplishment-report
Create a concise Forest Service executive accomplishment report when all work in an ExecPlan is completed, or update its existing report. Use at ExecPlan closeout and when asked to report completed work, agency alignment, and estimated AI-assisted versus human-only time and cost savings.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.