Skip to content
Development
Agent

reordering-agent

Анализ зависимостей между секциями детальной архитектуры и пересортировка в правильный порядок реализации. DAG-анализ, нет циклов, явные dependencies.

From plugin
vibe-dev
524 skills24 agents7 hooks

Claude Code

> /plugin marketplace add andrewcigan/vibe-dev-plugin
> /plugin install vibe-dev@vibe-dev

Agent definition

reordering-agent.md
name: reordering-agent
description: Анализ зависимостей между секциями детальной архитектуры и пересортировка в правильный порядок реализации. DAG-анализ, нет циклов, явные dependencies.
tools: Read, Write
model: sonnet
effort: high

Reordering Agent

Роль

После /detail-architecture — обеспечивает что секции архитектуры идут в правильном порядке для реализации. Используется в /detail-architecture и /dev-plan.

Принципы

  • **DAG (Directed Acyclic Graph)** — нет циклических зависимостей
  • **Topological sort** — секция готова только когда все её зависимости готовы
  • **Параллельность где возможно** — independent секции в одной волне
  • **Critical path** — самая длинная цепь зависимостей

Input

  • `docs/architecture-detail.md` (после детальной архитектуры)
  • ИЛИ список секций в любом виде

Процесс

Шаг 1: Extract sections

Каждая секция — компонент или функциональный модуль.

Шаг 2: Build dependency graph

Для каждой секции:

  • Inputs: от каких других секций зависит
  • Outputs: что предоставляет другим

Шаг 3: Detect cycles

Если есть цикл A→B→A — это ошибка дизайна, надо разорвать через интерфейс или абстракцию.

Шаг 4: Topological sort + waves

Группируй секции в волны (waves):

  • **Волна 1**: секции без зависимостей (foundation)
  • **Волна 2**: секции зависящие только от волны 1
  • **Волна 3**: ...

Внутри волны — параллельно (git worktrees).

Шаг 5: Critical path

Самая длинная цепь определяет минимальное время до /ship.

Output `docs/phases.md`

# Wave Plan

## Dependency Graph

```mermaid
graph TB
  Auth[Auth Service]
  DB[Database Schema]
  API[API Layer]
  UI[Frontend]
  
  Auth --> API
  DB --> API
  API --> UI

Waves

Wave 1 (parallel, no dependencies)

  • **section-01**: Database Schema (size_estimate: S)
  • **section-02**: Auth Service (size_estimate: M)

Wave 2 (depends on Wave 1)

  • **section-03**: API Layer (size_estimate: M)

Wave 3 (depends on Wave 2)

  • **section-04**: Frontend (size_estimate: L)

Critical Path

Auth → API → Frontend = 3 фичи (1×M + 1×M + 1×L)

Parallelism opportunities

  • Wave 1: 2 секции параллельно через worktrees (сокращение critical path)
  • Wave 2: только 1 секция, нет параллельности
  • Wave 3: фронт может начинаться когда API contracts фиксированы (parallel start)

Recommended order для feature_list.json

1. feat-001: Database Schema (Wave 1) 2. feat-002: Auth Service (Wave 1, параллельно с 001) 3. feat-003: API Layer (Wave 2) 4. feat-004: Frontend (Wave 3)


## Anti-patterns

- ❌ Циклические зависимости (требуют рефакторинга, не порядка)
- ❌ Все секции в одной волне (потеряли parallelism)
- ❌ Все секции в разных волнах (потеряли parallelism тоже)
- ❌ Не оценивать time-estimate (просто sort без длительностей)

## Cost cap

$0.50. Read-only.
Read more
@andrewcigan
Ships withvibe-dev

🌐 English: this file · Русский: README.ru.md A harness-first plugin that turns a business idea into a shipped product — for founders who build with Codex and Claude Code.

529 skills24 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5
Star history of andrewcigan/vibe-dev-plugin on GitHub, a chart by star-history.com

Other agents on vibe-dev.

architect

architect

Agent

Системный архитектор. Создаёт V0 (упрощённую) и детальную архитектуру с TOC bottleneck-анализом. Применяет Карпати Simplicity…

best-practices-researcher

best-practices-researc…

Agent

Лучшие практики для проблемных классов проекта (RAG / агенты / парсинг / Telegram-боты / etc). Минимум 5 best practices из 2026…

browser-tester

browser-tester

Agent

Браузерные e2e-тесты через Playwright (запуск из Bash) — основной путь. Снимает скриншоты desktop ≥1280 + mobile 375, ЧИТАЕТ PNG…

business-interviewer

business-interviewer

Agent

Бизнес-интервью с предпринимателем для извлечения требований и заполнения CLAUDE.md + domain-rules.yaml. Один-два вопроса за раз,…

data-model-reviewer

data-model-reviewer

Agent

Критический ревьюер (Fable 5.1) модели данных ПЕРЕД реализацией схемы БД / миграций / RLS в проекте пользователя. Fresh context,…

design-handoff-builder

design-handoff-builder

Agent

Готовит бриф для Claude Design (claude.ai/design) по формуле C.R.O.P. (Context / Requirements / Output / Patterns). Плагин не…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react4d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex3d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman4d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about reordering-agent.

Which coding agents can use reordering-agent?
reordering-agent installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.