A meta-skill that teaches your AI agent how to build operational skills for each module and system in your project — so it loads only the context it needs, when it needs it.
Instead of one massive AGENTS.md, your agent gets a routing system:
it classifies the task, loads the right skill, executes deterministically,
and hands off to the next step. Less tokens, more precision.
npx skills add devton/agentic-workflow-blueprintThen call the agent in your target repository with a direct prompt like:
blueprint this project.
After that, wait for the agent to finish the scaffold. The expected first
deliverable is the main project skill file at skills/<projectSlug>/SKILL.md.
You have a project with multiple modules. Your AI agent loads everything every time — all rules, all context, all history. That burns tokens and dilutes focus.
This blueprint lets the agent build scoped skills per module, each with its own contract, inputs, outputs, and review gates. The agent only loads what's relevant to the current task.
Without this blueprint: You tell your agent "add a payment module". It loads your entire AGENTS.md (500+ lines), guesses conventions, and wings it.
With this blueprint:
- You trigger this skill once: "set up my project" — it asks a few
questions and scaffolds
skills/<project>/with routing, contracts, and workflows. - Next time you say "add a payment module", the agent classifies the
task → loads only
skills/<project>/workflows/modules/SKILL.md→ follows the deterministic procedure → passes the review gate → hands off. - You adjust any workflow in plain conversation — it's just markdown the agent reads and follows.
- Scoped loading — agent loads only the skill for the current step, not the whole project context.
- Bounded contracts — clear inputs, outputs, and pass/fail gates keep the agent deterministic.
- Focused retries — when something fails, the agent retries only the failed gate, not the entire conversation.
- Structured handoffs — steps communicate via defined inputs/outputs, not free-form context dumps.
flowchart TD
A[Entry Skill: Orchestrator] --> B["Execution chain<br/>Workflow 1 → Workflow 2 → Workflow 3 → Delivery"]
B -. "loads only current contract" .-> C[Context Slice 1]
B -. "loads only current contract" .-> D[Context Slice 2]
B -. "loads only current contract" .-> E[Context Slice 3]
C --> F[Compact handoff to next step]
D --> F
E --> F
When you trigger this blueprint, the agent will ask:
- projectSlug — short name for the repo (e.g.
my-backend) - baseBranch — main integration branch (e.g.
main,develop) - techStack — what's the stack? (e.g.
NestJS + PostgreSQL + Redis) - workflowsWanted — which workflows to scaffold
(e.g.
modules,specs,document,review) - constraints — hard rules (e.g. "no ORM, raw SQL only", "all API calls go through service layer")
Then it generates the full structure and wires everything into your
AGENTS.md or CLAUDE.md — no manual wiring needed.
skills/<projectSlug>/
SKILL.md ← Orchestrator (entry point)
reference/
routing-matrix.md ← Task → workflow mapping
role-contracts.md ← Roles, boundaries, handoffs
hook-blueprint.md ← Optional automation hooks
workflows/
<workflowName>/SKILL.md ← One per workflow
docs/runbooks/
agent-role-system.md ← Operator-facing playbooks
agent-role-hooks.md ← Optional hook runbook
These are templates — copy, rename, and adapt to your project's actual workflows (deploy, test, migrate, etc).
| Workflow | What it does | When to use |
|---|---|---|
document |
Builds docs from git diff evidence | After implementation is done |
review |
Validates docs with deterministic pass/fail | Auto-step after document |
changelog |
Generates changelog from approved docs | After review passes |
linear |
Creates Linear projects/issues via MCP | Multi-PR initiatives |
mcp-linear-planner |
Preflight check + execution plan for Linear | When you need stricter control |
mcp-linear-sync |
Executes planned Linear operations | After planner validates |
attempt = 1
while attempt <= 3:
doc = run(document)
review = run(review, input=doc)
if review.pass:
run(changelog, input=doc)
break
attempt += 1
documentproduces docs from implementation evidence.reviewvalidates against the evidence.- If fail → feed findings back to
document, retry (max 3). - If pass →
changeloggenerates the entry.
Every workflow is an executable contract the agent follows:
Goal → 1 sentence: what this workflow does
Scope → applies to / does not cover
Triggers → file patterns + intent phrases
Inputs → what the workflow needs
Invariants → hard rules that cannot be violated
Procedure → deterministic steps (evidence-driven)
Outputs → what must be produced
Review gate → pass/fail checklist
References → links to parent skill and related workflows
This format keeps each workflow self-contained, linkable, and bounded. Agents don't need to reason over the entire project — they follow the contract for the current step.
Runbooks are operator-facing execution playbooks (for humans managing agent runs). Workflow SKILL files are agent-facing contract definitions.
document-review-changelog.md— operational guide for the 3-step doc loop with retry logic.linear-mcp.md— operational guide for direct Linear workflow.mcp-linear-sync.md— operational guide for the planner → sync decomposition.
- Read
SKILL.mdfor the full blueprint procedure. - Trigger the skill in your agent with your project details.
- The agent scaffolds the structure and wires it into your root doc.
- Adjust workflows as needed — it's markdown, edit in conversation.
- Add new workflows over time by following the contract format.
Stack-agnostic by design. Stack-specific rules (ORM patterns, testing conventions, deployment quirks) go in the project skill and get linked from individual workflows.