Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

factory

/factory

Prowadzi zmianę w repozytorium przez etapy od przyjęcia do zamknięcia, z potwierdzeniami człowieka przed wdrożeniem.

Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

95/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Prowadzi zmianę w repozytorium przez etapy od przyjęcia do zamknięcia, z potwierdzeniami człowieka przed wdrożeniem.

Oryginalny opis (EN)

Run a change through the software factory: intake → route → isolate → build → prove → judge → ship → close, with a person confirming the card, approving the route, answering stop-and-ask questions and merging. Use for any task in this repo ("/factory add dark mode", "/factory #42"), and for "/factory status" and "/factory resume T-0003". Also use when asked what's left to do in the repo (`factory audit`).

Jak działa

  1. Rules
  2. /factory status
  3. /factory resume <id>
  4. /factory <task text or issue>
  5. What's left in this repo?
Sekcje z nagłówków SKILL.md, w oryginale · 99 linii, 845 słów
Podgląd SKILL.md
---
name: factory
description: >-
  Run a change through the software factory: intake → route → isolate → build →
  prove → judge → ship → close, with a person confirming the card, approving the
  route, answering stop-and-ask questions and merging. Use for any task in this
  repo ("/factory add dark mode", "/factory #42"), and for "/factory status" and
  "/factory resume T-0003". Also use when asked what's left to do in the repo
  (`factory audit`).
---

# /factory

This repo runs on the software factory (AGENTS.md is the contract). You drive the
`factory` CLI and talk to the person. The CLI does the work: it writes the task
card and the ledger, makes the worktree, runs the sector agent, produces the proof,
judges the change and opens the PR. You don't edit code for a factory task yourself.

## Rules

- Never edit `.factory/**` (the ledger included) or anything in `.worktrees/`.
  The runtime and the sector agent own them. A hook refuses edits to
  `.factory/**`, and to this checkout while it's on the default branch, whether
  through an edit tool or a shell command. It also refuses git commands that
  destroy work (force push, `reset --hard`, `clean -f`, `branch -D`). Don't work
  round it; if the session starts with "factory guard: OFF", tell the person.
- Every approval belongs to the person. Ask the question in the chat and wait for a
  clear yes. Only then run the command with `--yes`, which the ledger records as
  approved through you. Never pass `--yes` on your own judgment.
- Report what the CLI prints. Don't summarise a failure as a success or invent a
  next step: every command ends with `next: …`, and that is the next step.
- The factory never merges. Neither do you.

## /factory status

Run `factory task status` and show each open task with its next step. Tasks live
on the repo's `factory/tasks` branch, so this lists the whole team's tasks.

## /factory resume <id>

Run `factory task resume <id>`. It verifies the ledger and prints it with the next
step, and who holds the task. Carry on from that step in the flow below. If
verification fails, stop and show the problems: a ledger that fails verification
has been tampered with, or was signed with a key this machine doesn't have.

A task is held by one machine at a time. If someone else holds it, say who and
until when, and don't try to work round it. They can hand it over with
`factory task release <id>`; run that yourself only when the person asks to hand
their task over.

## /factory <task text or #issue>

1. **Sync.** Run `factory doctor`. On a ✗, do what it says (usually
   `factory skills sync`) and run it again. Don't start a task on a failing doctor.

2. **Intake.** Work out the card with the person:
   - title, type (`feature | fix | chore | refactor | spike`), and a description of
     what and why. For an issue, read it with `gh issue view <n>` and use
     `--source issue#<n>`.
   - acceptance criteria. Each one is a concrete, checkable sentence with a verify
     kind: `e2e | unit | manual | screenshot | contract | review`. If the task is
     vague, interview the person one question at a time until every criterion is
     concrete. Don't guess criteria.
   - optional: `--touches <glob>` for the paths it will change, `--page /path` for
     the pages a UI proof should shoot, `--out-of-scope`, `--constraint`,
     `--risk low|medium|high`.

   Then draft it:

   ```bash
   factory task new "<title>" --type fix --description "<what and why>" \
     --accept "<criterion>::unit" --accept "<criterion>::e2e" --touches "src/x/**"
   ```

   Show the card (`.factory/tasks/<id>/card.yml`, which `factory task confirm` prints
   too) and ask: "Confirm this card?" On a clear yes, run
   `factory task confirm <id> --yes`. To change an unconfirmed card, either the
   person edits `card.yml` themselves, or you draft a corrected card with
   `factory task new` and drop the old one with
   `factory task close <old id> --abandon "redrafted as <new id>"`.

3. **Route.** Run `factory task route <id>`. Show the sectors with their reasons,
   the skills, the checks, the proof and the budget. Mention any sectors that fell
   under the threshold. Ask: "Approve this assembly?" On a clear yes, run
   `factory task approve <id> --yes`. If the person wants changes, they edit
   `.factory/tasks/<id>/assembly.yml` themselves before approving. You don't edit it.

4. **Run.** Run `factory task run <id>`. It isolates, builds, proves, judges and
   ships, printing each ledger entry as it lands. It stops when a person is
   needed, and its last line says why:
   - **stop-and-ask** (exit 2): show the question (a new dependency, a schema
     change, a protected path, the budget, or the judge needing a person) and ask
     the person. Then run `factory task answer <id> --allow "<their note>"` or
     `--deny "<what to do instead>"`, and run `factory task run <id>` again.
   - **shipped** (exit 0): show the draft PR link. The person reviews it, marks it
     ready and merges it. You don't.
   - **an error** (exit 1): show it and stop. Don't work around it by doing the
     beat's work yourself.

5. **Close.** After the person says the PR is merged (or closed), run
   `factory task close <id>`. To drop a task at any point, run
   `factory task close <id> --abandon "<why>"`. Close seals the ledger.

## What's left in this repo?

When asked about the repo's state rather than a task, run
`factory audit --format json`. Report the `fail` and `needs-evidence` controls,
highest severity first, and suggest starting the fixes as `/factory` tasks.

Wersje

RepozytoriumWynikLicencja
Ta strona · arynbht/software-factory95MIT
fayssal-elmofatiche/factory-sandbox100GPL-3.0
andriiklymiuk/corgi100MIT
uiverify/uiverify100MIT
BuilderIO/skills100MIT
chrisgagne/grounded-forge100MIT
TDSchreur/tds-factory100MIT
momoathome/software-factory100MIT
hybridlabor-api/aos100Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki d8aaef0160e7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90factory-run
    Prowadzi poprawkę albo funkcję przez fabrykę aż do PR i pokazuje, co czeka na decyzję właściciela.
  • 82factory-config
    Pomaga napisać lub zmienić Pipeline albo graf Run w Software Factory, aż `factory check` zaakceptuje diagram.
  • 90factory-run
    Obsługuje lokalną fabrykę komendami start, stop, status, tick, pauza i wznowienie, a także dodaje cele do konfiguracji.
  • 90review
    Uruchamia recenzenta Factory na jednym PR w bieżącym repozytorium i zwraca komentarze przypisane do linii.
  • 100eminzo-factory
    Prowadzi fabrykę oprogramowania Eminzo: zgłoszenie z etykietą factory staje się zadaniem, przechodzi przez specyfikację, budowę, bramki i przeglądy do scalonego PR.
  • 90software-factory
    Prowadzi oprogramowanie od zgłoszenia przez repozytorium, testy i CI/CD do kontroli jakości na produkcji oraz pomiaru efektów.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.