К основному содержанию
скилл CX Codex

flow-next-prime — скилл для Claude Code: оценка проекта и установка

Скилл flow-next-prime оценивает готовность кодовой базы к работе ИИ-агентов и эксплуатации: проверяет, выполняются ли команды, и выдаёт вердикт с приоритетными следующими шагами.

MIT ★ 730 обновлён 2026-10-29

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-next
Открыть на GitHub

Что делает flow-next-prime

Скилл классифицирует проект и оценивает готовность кодовой базы. Он проверяет, работают ли команды, и смотрит на содержимое файлов, а не только на их наличие: например, учитывает, может ли агент собрать и проверить изменения. В отчёте сначала идёт вердикт, затем ранжированные действия.

Оценка разделена на два уровня: готовность для агентов оценивается с предложениями по исправлению, а готовность к эксплуатации приводится для сведения. Режим --report-only ограничивает запуск отчётом; --classify-only выводит классификацию и завершает работу. Скилл не должен менять файлы кода или коммитить изменения. Для правок существующих файлов обычно требуется согласие; --fix-all снимает это ограничение только для некоторых изменений конфигурации, документации и скриптов.

Какие задачи решает

  • проверить, выполняются ли команды сборки и проверки
  • оценить готовность кодовой базы для ИИ-агента
  • найти пробелы в инструкциях и обратной связи при проверке изменений
  • получить вердикт и упорядочить следующие действия

Примеры запросов агенту

  • Оцени готовность текущего проекта для ИИ-агента и эксплуатации.
  • Проверь другой репозиторий: /flow-next:prime ~/other-project.
  • Классифицируй ~/other-project без полного отчёта: /flow-next:prime --classify-only ~/other-project.

Как установить flow-next-prime

1Через маркетплейс плагинов

/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-next

Команда ставит плагин flow-next целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add gmickel/flow-next --skill flow-next-prime -a claude-code

3Вручную: положить файлы

~/.claude/skills/flow-next-prime/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/flow-next-prime/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о flow-next-prime

Как установить flow-next-prime в Claude Code?

Выполните команды по порядку: /plugin marketplace add gmickel/flow-next, затем /plugin install flow-next@flow-next.

Что делает flow-next-prime?

Скилл оценивает готовность проекта для ИИ-агентов и эксплуатации, проверяет выполнение команд и предлагает приоритетные следующие действия.

Чем отличаются уровни оценки?

Готовность для агентов сопровождается оценкой и предложениями по исправлению. Готовность к эксплуатации приводится для сведения, без предложений исправлений.

Исходный текст

SKILL.md · MIT
---
name: flow-next-prime
description: Assess codebase agent and production readiness. Classifies the project, verifies commands run, leads with a verdict and ranked next actions.
user-invocable: false
---

# Flow Prime

Comprehensive codebase assessment inspired by [Factory.ai's Agent Readiness framework](https://factory.ai/news/agent-readiness).

**Role**: readiness assessor, improvement proposer
**Goal**: full visibility into codebase health, targeted fixes for agent readiness

Read [working-rules.md](../../references/working-rules.md) first unless you already have this run; it holds for every step of this skill.

## Two-Tier Assessment

| Category | Pillars | What Happens |
|----------|---------|--------------|
| **Agent Readiness** | 1-5 | Scored, maturity level calculated, fixes offered |
| **Production Readiness** | 6-8 | Reported for awareness, no fixes offered |

This gives you **full visibility** while keeping remediation focused on what actually helps agents work.

**Criteria counts live in [pillars.md](pillars.md), never here.** pillars.md is the single census source (the legacy scored criteria feeding the maturity level, the informational rows, and the new agent-readiness tier groups AO/DR/TO/HP). Do not restate a count in this file - a hardcoded number drifts the moment a criterion is added. The classification, operability ladder, per-shape playbooks, per-stack matrix, and harness check-set live in the four reference files: [classification.md](classification.md), [playbooks.md](playbooks.md), [stacks.md](stacks.md), [harness.md](harness.md).

## Why This Matters

Existence checks lie. A repo can carry a CLAUDE.md, a hook file, and a `lint` script yet be un-agentic in practice - the file is an empty template, the build is broken, imports don't resolve, or it is really one of 99 sibling repos. Prime judges **substance**, not existence, and names the single highest-leverage next action.

Agents waste cycles when:
- **No closed verify loop** → can't confirm a change works without a full CI round-trip; the feedback gate belongs at the RIGHT layer (edit-time/commit format+lint, tests via the verify command + acceptance requirements + CI required check - never a test-running pre-commit hook agents `--no-verify` around or stall on)
- **Undocumented env vars** → guesses, fails, guesses again
- **No agent instruction file (or a generic/stale one)** → doesn't know project conventions, the operability tier, or which files are off-limits
- **The app can't be built or driven** → can't verify changes work; a legacy stack with no headless build has no feedback loop at all

These are **environment problems**, not agent problems. Prime grades them as layered gates and helps fix the ones that help agents work.

## Input

Full request: $ARGUMENTS

Accepts:
- No arguments (scans current repo)
- `--report-only` or `report only` (skip remediation, just show report)
- `--fix-all` or `fix all` (apply all agent readiness fixes without asking)
- `--classify-only` or `classify only` (print the Phase 0.5 classification block and EXIT - the cheap portfolio-triage sweep over many repos; see classification.md)
- A path to a different repo root (first non-flag argument)

Examples:
- `/flow-next:prime`
- `/flow-next:prime --report-only`
- `/flow-next:prime --classify-only ~/other-project`
- `/flow-next:prime ~/other-project`

**Resolve `ROOT` from `$ARGUMENTS`** (the first non-flag token; default `.`). If `ROOT` is not the
cwd, resolve it first (`ROOT=$(cd "$ROOT" && pwd)`), then it MUST thread through everything: `cd "$ROOT"` before the `.flow/meta.json` pre-check, the
Phase 0.5 classification probes (the `flowctl prime classify` emitter takes `ROOT` as its positional
argument, e.g. `flowctl prime classify --json "$ROOT"`), and the Phase 2 verification commands; and
every scout dispatch prompt in Phase 1 starts "Assess the repo at `ROOT`" (scouts scan cwd by default
- without this they'd scan the wrong repo and the report would be confidently wrong end-to-end). If
threading `ROOT` isn't feasible, error rather than silently scan cwd.

## Route Before Reading References

Parse the mode before loading any reference:

- **`--classify-only`:** read [classification.md](classification.md) directly,
  run its emitter + judgment-layer contract, print its fixed classification block,
  and EXIT. Do **not** read `workflow.md`, `pillars.md`, `playbooks.md`, or
  `remediation.md`; never ask, dispatch scouts, verify, report, or remediate.
- **All other modes:** read [workflow.md](workflow.md) and execute it. The
  workflow loads classification, pillars, playbooks, stacks, harness, and
  remediation guidance only at their consuming phases. `--report-only` stops
  after the report and must never load remediation templates.

This dispatch is fail-open for an unknown/malformed mode: use the full workflow,
never silently skip assessment or safety instructions.

## Workflow

The mode router above selects the entry reference. Do not pre-read references
for branches that will not execute.

## Guardrails

### General
- Never modify code files (only config, docs, scripts)
- Never commit changes (leave for user to review)
- Never delete files
- Respect .gitignore patterns

### User Consent
- **MUST ask via the plain-text numbered prompt described below** for consent.

**Ask the user via plain text.** Render the options below as a numbered list `1.` … `N.`, followed by a final option `N+1. Other — type your own answer`. Print the question, then the numbered list, then **stop and wait for the user's next message before continuing**. Parse the reply as: a bare number `1`–`N+1` → that option; the literal text of an option label → that option; free text after `Other` → custom answer.
- Always ask before modifying existing files — **except** under `--fix-all`, which waives the prompt for **append/merge** edits (adding a `.gitignore` line, augmenting an agent file, appending a hook) INCLUDING their required devDependencies for the Critical/High/Medium tiers. `--fix-all` still does NOT: overwrite/replace existing file content unseen, touch the Bonus tier (devcontainer, CI workflow — those stay explicit-request-only), or bypass the glossary read-back gate. A destructive overwrite always needs consent even under `--fix-all`.
- Don't add dependencies without consent (a Critical/High/Medium fix's own devDeps are covered by that fix's consent, incl. `--fix-all`; never add unrelated deps)
- **Glossary terms are never written unseen** — the Phase 5.5 bootstrap shows the full proposal (term + definition + file-ref evidence) at read-back before any `flowctl glossary add`; `--fix-all` does not bypass this gate, and a populated glossary (`total_terms > 0`) is never rewritten

### `--fix-all` boundaries

`--fix-all` auto-applies ONLY **in-`ROOT`, non-structural, non-harness** fixes at the Critical/High/Medium tier - the in-root Pillars 1-5 fixes PLUS scored-group agent-file content whose catalog row is marked `--fix-all`-eligible in its consent column (the ranked catalog carries the tier AND consent columns and **is authoritative** on which scored-group items qualify - see [playbooks.md](playbooks.md)). It NEVER waives consent for:
- **Anything outside the repo `ROOT`** - the home-base / constellation kit (parent instruction file, `repos.yaml`, run-everything scripts) is always explicit-consent-only.
- **Any harness settings/hook file** - deny/ask rule scaffolds, hook wiring, MCP config. A scaffolded hook is exercised in the same pass (never a stub); the offer itself still needs explicit consent.
- **All structural / playbook artifacts** - a generated map, nested per-package instruction files, the home base, the greenfield bootstrap plan. Structural = restructures the repo → explicit consent regardless of tier.
- **On greenfield**, `--fix-all` applies ONLY to exercised hygiene files (`.gitignore`, lockfile, `.env.example`, `.editorconfig`) - never structural or generated artifacts, and never a bulk-generated instruction file (measured harm).

**Re-run reuse:** a Phase 7 re-assessment reuses the session's Phase 0.5 classification and Phase 0.6 answers; only the affected criteria/gates re-verify. The ranked catalog is re-ranked from the updated scores, not re-derived from scratch, and prime does not re-ask a question the user already answered this session.

### Scope Control
- **Never create LICENSE files** — license choice requires explicit user decision
- **Never offer Pillar 6-8 fixes** — production readiness is informational only
- Focus fixes on what helps agents work (not team governance)

© Gordon Mickel · MIT · gmickel/flow-next

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
groove-utilities-prime andreadellacorte Скилл groove-utilities-prime загружает контекст рабочего процесса groove в текущую сессию. Запускайте его в начале работы с проектом. CX Codex +1 540установок ora eralabs-ai MCP-сервер ora для Claude Code проверяет готовность доменов и продуктов к работе с ИИ-агентами, показывает оценки и отзывы. Помогает сравнивать сервисы и проверять результаты сканирования. CX Codex +1 831установок turva-mcp info-4gh4 MCP-сервер отвечает на вопросы о сервисах, принципах работы и публичных проверках turva.dev. Подключите его, чтобы получать эти сведения прямо в чате с ИИ-агентом. CX Codex +1 176установок Sourcey sourcey Sourcey — MCP-сервер для Claude Code, который ищет стартап-кредиты и скидки, показывает условия и карточки Agent Readiness с доказательствами. CX Codex +1 sandbox-next cloudflare Скилл для разработки приложений Cloudflare Sandbox на превью-версии SDK 1.0 (@cloudflare/sandbox@next). Даёт агенту правила работы с новым API процессов и терминалов. CX Codex +1 85 100установок prime disler Команда prime готовит контекст перед началом сессии: запускает обход репозитория через Git, изучает документацию и выдаёт сводку по проекту. CX Codex +1 ★ 3 990звёзд репо

Из того же набора70

Весь набор →
flow-next-impl-review Запускает ревью реализации в стиле Джона Кармака через указанный бэкенд — claude, codex, copilot, cursor или человека. Вызывается командой /flow-next:impl-review. CX Codex +1 ★ 730звёзд репо flow-next-work Скилл flow-next-work исполняет задачи и спецификации Flow-Next по шагам: готовит ветку Git, ведёт трекинг через flowctl, запускает тесты и фиксирует коммиты. CX Codex +1 ★ 730звёзд репо flow-next-spec-completion-review Скилл flow-next-spec-completion-review сверяет готовую спеку с её требованиями: закрывают ли все задачи вместе то, что было задумано. Пригодится перед тем, как считать работу по спеке законченной. CX Codex +1 ★ 730звёзд репо flow-next-capture Скилл flow-next-capture превращает текущий диалог с агентом в готовую спецификацию .flow/specs/<spec-id>.md через внутреннюю утилиту flowctl без потери договорённостей. CX Codex +1 ★ 730звёзд репо repo-scout Субагент repo-scout сканирует репозиторий и находит готовые паттерны, конвенции и смежный код перед тем, как агент начнёт писать новую фичу. CX Codex ★ 730звёзд репо flow-next-features Скилл flow-next-features для Claude Code создаёт и обновляет карту пользовательских функций в .flow/features/. QA и drive используют её, чтобы повторно находить маршруты к функциям. CX Codex +1 ★ 730звёзд репо flow-next-sync Скилл flow-next-sync обновляет спеки нижестоящих задач, когда код ушёл вперёд: скилл вручную запускает plan-sync и правит todo и blocked задачи. CX Codex +1 ★ 730звёзд репо flow-next-visual Скилл flow-next-visual превращает спецификацию, задачу, diff или тему разговора в компактную Markdown-схему. Запустите его, когда длинное объяснение удобнее просмотреть глазами. CX Codex +1 ★ 730звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой