factory-reflect
Analyze the current session transcript using three parallel read-only lenses (judgment, tooling, divergent) and a synthesizer to harvest durable…
от 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:
- Structural check first (synthesizer
## Backlog-> trackerTriage): 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 concreteTriageticket over writing another prose warning. - 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 tunedescriptionbefore creating a new skill. - 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. - Repo docs (
<repo>/AGENTS.mdor<repo>/docs/product-decisions.md): Repo-wide commands, layout contracts, or human product decisions recorded cleanly underorigin/<base>. - 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:
- Resolve repo context: Identify
<REPO_ROOT>(git rev-parse --show-toplevel), configuredbase, existing<REPO_ROOT>/.claude/skills/*/SKILL.md(names +descriptionlines), and<REPO_ROOT>/AGENTS.md/docs/product-decisions.md. - Locate the active session transcript:
- Antigravity:
<appDataDir>/brain/<conversation-id>/.system_generated/logs/transcript.jsonl(read compact first; inspect the matching line intranscript_full.jsonlwhentruncated_fieldsappears). - 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).
- Antigravity:
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:
- Judgment reviewer — Read and pa
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…