Command Palette

Search for a command to run...

Назад к скиллам
скилл № 06261

factory-reflect

Analyze the current session transcript using three parallel read-only lenses (judgment, tooling, divergent) and a synthesizer to harvest durable…

БесплатноБез исполняемых скриптов
watt-mindот watt-mind★ 25 звёзд на GitHub

Установить factory-reflect в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Reflect (project-specific session learning)

Mine the current session transcript with three independent read-only lenses and a cold synthesizer so hard-won repo knowledge becomes durable project skills, AGENTS.md / docs/product-decisions.md updates, or structural check tickets instead of disappearing when the context window closes.

Choose the right reflection tool

Tool Signal & Scope Destination
/factory-reflect (this skill) Current session transcript (user corrections, repo gotchas, wasted searches, missed checks) Project-specific <repo>/.claude/skills/<area>/SKILL.md, repo AGENTS.md / docs/product-decisions.md, structural Triage tickets, or truly cross-repo $FACTORY_ROOT/shared/skills/
/factory-friction Interactive Factory harness pain (sleep N, broken bin/worktree-*, wrong label, CLI/MCP bug) OPS Triage (FIP:) or repo harness issue
/factory-retro ~/.factory/logs/ JSONL + CI runs across autonomous dispatches factory friction, factory economics, and factory ci metrics

If a reflection finding is purely a Factory harness defect (bin/worktree-*, shared/floor.md, factory CLI), route it to /factory-friction instead of patching project skills.

Routing precedence (keep learnings narrow)

Route every accepted finding to the narrowest durable home that matches its scope:

  1. Structural check first (synthesizer ## Backlog -> tracker Triage): Per ../principle-encode-lessons-in-structure/SKILL.md, if a mistake can be prevented mechanically (lint rule, AST check, CSS token check, JSON schema, bundle ratchet, pre-commit hook), prefer filing a concrete Triage ticket over writing another prose warning.
  2. Existing project skill (<repo>/.claude/skills/<name>/SKILL.md): Domain invariants, verification recipes, API/SDK quirks, build budgets, or formal-verify helpers scoped to this repository. Update existing sections or tune description before creating a new skill.
  3. New project skill (<repo>/.claude/skills/<kebab-name>/SKILL.md): Only when no existing skill owns the domain and the workflow will genuinely recur across future sessions.
  4. Repo docs (<repo>/AGENTS.md or <repo>/docs/product-decisions.md): Repo-wide commands, layout contracts, or human product decisions recorded cleanly under origin/<base>.
  5. Factory shared skills ($FACTORY_ROOT/shared/skills/<name>/SKILL.md): Only when the lesson applies across multiple repositories and harnesses.

Workflow

Step 1: Locate the session transcript and repo skill inventory

Do not write files or edit anything yet. Gather read-only inputs:

  1. Resolve repo context: Identify <REPO_ROOT> (git rev-parse --show-toplevel), configured base, existing <REPO_ROOT>/.claude/skills/*/SKILL.md (names + description lines), and <REPO_ROOT>/AGENTS.md / docs/product-decisions.md.
  2. Locate the active session transcript:
    • Antigravity: <appDataDir>/brain/<conversation-id>/.system_generated/logs/transcript.jsonl (read compact first; inspect the matching line in transcript_full.jsonl when truncated_fields appears).
    • Claude Code: ~/.claude/projects/<project-slug>/<session-id>.jsonl (latest non-trivial JSONL for this workspace).
    • Codex / Cursor / Pi or ephemeral session: Check the active harness session log if exposed; otherwise build a factual, chronological Session Digest citing turns, exact commands/errors, user corrections, files changed, and tests/CI outcomes (never fabricate unprinted details).

Step 2: Launch three parallel read-only reviewers

Spawn three parallel read-only subagents (research or equivalent non-writing agent; or parallel read-only T3Code delegate_task mode: "async" runs across models from orchestrator_capabilities when inside T3Code, then end turn for reactive wakeup) in one turn, filling in <TRANSCRIPT_PATH> (or <DIGEST>), <REPO_ROOT>, and the repo/shared skill catalog list:

  1. Judgment reviewer — Read and pa
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/divergent-reviewer.md
  • references/judgment-reviewer.md
  • references/synthesizer.md
  • references/tooling-reviewer.md

FAQ

Что делает скилл factory-reflect?

Analyze the current session transcript using three parallel read-only lenses (judgment, tooling, divergent) and a synthesizer to harvest durable project-specific skills, repo rules, or structural lint/check tickets. Contrasts with /factory-friction (Factory harness bugs) and /factory-retro (orchestrator logs/CI metrics). Use for /factory-reflect or 'what should we teach the repo from this session'.

Как установить скилл factory-reflect?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл factory-reflect запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить factory-reflect с