用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/theyoungastronauts/polaris --skill reflect命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | reflect |
| description | Session retrospective — capture learnings into the project context scaffold and per-project session memory. |
| disable-model-invocation | true |
Capture what you learned this session into persistent memory.
Run /reflect at the end of a productive session — especially when:
Skip for quick sessions or trivial changes.
Review the conversation history. Look for four categories:
Corrections (highest signal)
Debugging Insights
Patterns
Conventions
Each candidate must pass ALL four checks:
Discard anything that fails any check.
After filtering, do a second pass on the surviving findings. Ask: "Is this finding project-structural?"
A finding is project-structural if it describes:
decisions.md)conventions.md)patterns/)For any project-structural findings, check if .claude/context/ exists:
If the scaffold exists: Propose writing them with the remember skill's format — read the installed remember skill (.claude/skills/remember/SKILL.md, or skills/remember/SKILL.md in the repo) for its classify → format → write steps rather than guessing the scaffold format. Present each one:
**Context type:** Decision | Convention | Pattern
**Target:** .claude/context/<file>
**Entry:**
> [The formatted entry text]
Group these separately from session memory proposals (Step 4). The user approves context writes independently from memory writes.
If the scaffold doesn't exist: Skip this step. Mention that /intel can generate the scaffold if the user wants to persist project-level findings.
Non-structural findings (personal preferences, debugging tricks, tool configurations) stay in session memory only — continue to Step 4 for those.
For each surviving finding, present:
**Type:** User | Feedback | Project | Reference
**File:** <memory file slug — one fact per file, e.g. git-commit-style.md>
**Action:** Add | Update | Remove
> The exact text to write
**Evidence:** What happened in the session that produced this
Pick Type using the same taxonomy as Memory Organization below. Group by type, then by file.
Only write what the user explicitly approves.
Project context entries (from Step 3): Follow the installed remember skill (.claude/skills/remember/SKILL.md, or skills/remember/SKILL.md in the repo) — its classify → deduplicate → format → write process is the single source of truth for context-scaffold entries. Don't re-derive the format here.
Session memory entries (from Step 4):
name/description/metadata frontmatter from Memory Organization (create the file — don't append into an unrelated one)MEMORY.mdSession memory lives in the harness's per-project auto-memory store:
~/.claude/projects/<project-path>/memory/. The convention is one fact per
file, each file carrying frontmatter:
---
name: {short-kebab-slug}
description: {one-line summary — this is what future sessions scan to judge relevance}
metadata:
type: {user | feedback | project | reference}
---
{The memory itself — a few lines. Link related memories with [[other-slug]].}
Pick type by what the finding is: a fact or preference about the user → user;
guidance on how to work, or a correction → feedback; state about the current
work → project; a pointer to where information lives elsewhere → reference.
MEMORY.md is the index, not a store: one pointer line per memory file
(- [Title](file.md) — one-line hook), no frontmatter, kept short (it is always
loaded into context, and lines past ~200 are truncated). Never write memory
content directly into MEMORY.md.
Organize by topic, not by date. When a finding supersedes an earlier one, update or remove that memory file instead of appending a contradiction.