Command Palette

Search for a command to run...

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

factory

Gateway skill and playbook router for working in the Factory style: enforces floor invariants, loads only the matching principle-* skills, and routes…

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

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

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

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

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

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

Factory Gateway

Single entry point that pairs AGENTS.md (the Factory floor) with concrete execution playbooks and on-demand principle-* skills.

Non-Negotiables

  • Floor precedence: AGENTS.md / shared/floor.md always wins (Owned Paths, Never auto-merge, escalate_paths, Blocked + factory notify, no git stash in worktrees, ## Handoff).
  • Ticket tripwire: Before the first file edit on meaningful trackable work, find or file the ticket and work in a dedicated worktree (bin/worktree-up.sh). Skip only for read-only investigations and inconsequential edits (or when the user says "no ticket").
  • Proceed vs. stop: Load ../principle-proceed-with-gates/SKILL.md when unsure. Proceed autonomously on reversible local work; stop pre-push only on Blocked conditions (out-of-scope security entanglement, missing credentials, inseparable Owned Paths gaps, or genuine unrecorded product-intent forks). For in-scope changes touching Never auto-merge or escalate_paths, implement, verify, and open an escalated PR without auto-merging.
  • Empirical forks: Before asking the user "which approach?" or "how does X behave?", check if running a quick experiment (playbooks/prototype.md) or reading the code answers it objectively.
  • On-demand principles: Read only the ../principle-<name>/SKILL.md files named by the active playbook (see ../principles/SKILL.md for the full index). Never load every principle into context at once.
  • Non-blocking coordinator default: Keep the main session unblocked for steering, cross-slice seams, and final gates. Delegate multi-file edits, independent reviews, and heavy checks to isolated subagents routed by difficulty tier (tier:light, tier:standard, tier:strong) with reviewer != implementer as a hard invariant. Check factory pulse (CAPACITY & FLOW) before widening parallel dispatch.
  • Evidence-only reporting: Cite exact file paths, symbol names, commit refs (origin/<base>@<sha>), and observed test/command output.

Route the Task

Match the user's request to one mode below, read its playbook (or invoke the matching factory-* command), and follow its steps in order:

Interactive Coding & Verification Playbooks (playbooks/)

  • Investigation (playbooks/investigation.md) — Read-only question, architecture trace, code/principles audit, or empirical comparison (how does X work, why, review; pairs with /factory-how, /factory-why, /factory-teach).
  • Bug fix (playbooks/bug-fix.md) — Reproduce a defect, observe a failing test first, trace and fix the root cause.
  • Feature (playbooks/feature.md) — New or changed behavior, domain-first types, UI visual polish loop, and verification.
  • Refactoring (playbooks/refactoring.md) — Behavior-preserving structural cleanup, decomposition, or deduplication.
  • Prototype (playbooks/prototype.md) — Throwaway spike in $TMPDIR (never git stash) to settle an empirical or UI design fork.
  • Formal verification (playbooks/formal-verify.md) — Model-checking races/state machines or property-testing pure invariants via /factory-formal-verify-create, /factory-formal-verify-maintain, and /factory-statechart.

Understanding, Orchestration & Reflection Skills (../factory-*/SKILL.md)

  • How (../factory-how/SKILL.md): Trace how a subsystem works today (origin/<base> freshness, codegraph_explore / rg, bounded file:line flow).
  • Why (../factory-why/SKILL.md): Decision archaeology (git log -S/-L, PRs, Linear/GitHub issues, docs/product-decisions.md) before changing load-bearing code.
  • Teach (../factory-teach/SKILL.md): Layer factory-how + factory-why + factory-unslop into progressive explanations with incremental Mermaid diagrams for 3+ interacting parts.
  • Unslop (../factory-unslop/SKILL.md): Edit or write prose, PRs, docs, and skills with zero AI tells while preserving technical precision.
  • No Comments (../factory-no-comments/SKILL.md, /factory-no-comments): Spawn the read-only factory-comment-sicko reviewer on a diff or scoped module, strip non-keep-list comments, fix accepted MUST KILL workarounds/suppressions, and offer structural encodings for claimed constraints.
  • Orchestrate (../factory-orchestrate/SKILL.md): Interactive Swarm partitions, Arena bakeoffs in isolated sandboxes, or Producer -> Critic pipelines (distinct from /factory-work standing queue dispatch).
  • Reflect (../factory-reflect/SKILL.md): Mine the active session transcript via 3 read-only lenses + synthesizer into project-local .claude/skills/, AGENTS.md, or structural Triage tickets (distinct from harness /factory-friction and log metrics /factory-retro).
  • Verify (../factory-verify-create/SKILL.md, ../factory-verify-maintain/SKILL.md, /factory-verify): Generate and maintain repo-local .claude/skills/verify-<app>/ control skills and run pre-merge human-like E2E PR/branch
Полный SKILL.md на GitHub

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

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

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

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

  • playbooks/bug-fix.md
  • playbooks/feature.md
  • playbooks/formal-verify.md
  • playbooks/investigation.md
  • playbooks/prototype.md
  • playbooks/refactoring.md

FAQ

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

Gateway skill and playbook router for working in the Factory style: enforces floor invariants, loads only the matching principle-* skills, and routes interactive work to a concrete playbook or factory-* command. Use for /factory, or when starting a non-trivial investigation, bug fix, feature, refactor, prototype, or formal verification.

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

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

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

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

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

Сравнить factory с