workflow-engine
БесплатноБез исполняемых скриптовНе проверенThe ai-dev-team workflow contract. ALWAYS consult this at the START of any development task and BEFORE EVERY handoff between agents — it decides which process…
от olehsvyrydov★ 18 звёзд на GitHubОб этом скилле
Workflow Engine — how the team works
You apply the team's workflow. The authoritative definition lives in workflow.yaml (resolved first-found: ./.aidevteam/workflow.yaml → ~/.aidevteam/workflow.yaml → the framework default in this repo's claude/workflow/workflow.yaml). Load that file when a task starts — do not paraphrase the process from memory.
Do this at the start of every task and before every handoff
- Load
workflow.yaml. Note the activepresetand itsalways_requiredgates. - Classify the change → pick the matching
track. Right-size it:- trivial (typo/comment/rename) →
floor_min; small (one file, no new deps) →floor; standard (a feature/story) →standard; significant (new service/dependency/schema/boundary, or anything security-sensitive) →full.
- trivial (typo/comment/rename) →
- Detect gate triggers from the change and require those gates even on a small change:
- auth/secrets/PII/upload/external-input/network/crypto → SECOPS_APPROVED; new dep/schema/service/boundary/public API → ARCH_APPROVED; visual change/new screen → DESIGN_APPROVED; etc.
- Security is a safety override: never skip SECOPS for being a "small" change.
- Write the result down. Record every triggered gate, plus the preset's
always_requiredgates, in the ticket'srequired_gatesin the ledger, copyingrefusal,ownerandphaseverbatim fromworkflow.yaml(SECOPS_APPROVEDishardwhenever a security trigger fired). Then point.aidevteam/state/active-ticket.jsonat the ticket:{"ticket": "TCK-001"}. Formats are inreferences/ledger.md.
- Check the ledger for gates already passed on this ticket (
.workflow-state.json→ Backlog.md → Jira; first available wins — seereferences/ledger.md). - Check each gate before crossing it. It must be
passed:refusal: hard+ unmet → STOP. Do not proceed. Name the gate and invoke its owner: e.g. "Blocked: SECOPS_APPROVED required — handing to /secops." This is an instruction you follow; only the commands listed under "What is enforced, and what is not" are also blocked mechanically.refusal: soft+ unmet → warn, record the skip + reason, may proceed.
- Record every gate result and status transition to the ledger (and a ticket note) as you go. When the ticket is Done or abandoned, or you switch to another ticket, set the active ticket to
null(or to the new ticket's id) in.aidevteam/state/active-ticket.json.
What is enforced, and what is not
When installed as the Claude Code plugin, the plugin blocks git commit, git push and gh pr create while the active ticket has an unmet hard pre-implementation gate (ARCH_APPROVED, SECOPS_APPROVED, APPROVAL_GATE). Review and verification gates (CODE_REVIEWED, VERIFIED), soft gates, and everything in Cursor, Kiro and VS Code remain instructions. It is a guardrail against forgetting, not a security boundary: bash -c, eval, aliases, other commit-creating commands and editing the ledger bypass it, and a missing python3, a crash or a timeout lets the command through.
- The hook only reads what you write. It looks at the active-ticket file and the
required_gatesof that ticket in the ledger. If this engine never writes them, the hook allows everything — it fails open. - Design docs and ADRs wait too. While a ticket is active, committing its design doc or ADR is blocked until its pre-implementation gates pass. Either pass them, or clear the active ticket — that is the user's decision, so ask before clearing it or marking a gate passed.
- A malformed ledger or active-ticket file blocks (the reason names the file and the problem), rather than being ignored.
- The ledger is found from the git top level of the session's working directory, not from any directory the command itself names.
Proportionality (why the workflow stops getting ignored)
The default preset: solo forces nothing — gates fire only on trigger or change-class, so a solo dev gets a light path and won't route a typo through architecture + security. small-team adds always-on code review; regulated runs the full gauntlet and uses Jira/Confluence. Switch by editing preset: in workflow.yaml.
Tickets & docs — no Jira required
Default = markdown tickets (Backlog.md) + a markdown knowledge base (Obsidian-compatible). Jira / Confluence / a knowledge-graph backend are optional MCP overlays — use them only when configured in workflow.yaml.
Where progress is tracked — a convenience call, not a rule
Either a local folder or Jira/Confluence is correct. Pick by the size of the project and what is actually convenient, and say which is in force:
- Local markdown suits a solo or small effort: the tracker sits next to the code, is edited in the same commit as the change it describes, and needs no network. It is also the honest choice while the work is still churning — a doc rewritten five times a day is cheaper as a file
Установить workflow-engine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл workflow-engine?
The ai-dev-team workflow contract. ALWAYS consult this at the START of any development task and BEFORE EVERY handoff between agents — it decides which process applies (proportional to the size of the change), which approval gates are required, and whether work may proceed or must stop. Triggers whenever you begin a ticket/feature/fix/bug, hand off between roles (/po /ba /arch /secops /ui /fe /be /rev /qa /e2e ...), or are about to advance a ticket, commit, or mark work done. If you are doing development work and have not consulted the workflow, you are doing it wrong — load it first.
Как установить скилл workflow-engine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workflow-engine запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic