Agentic Workflows Blueprint

VerifiedSafe

Blueprint to scaffold agent-oriented documentation with progressive disclosure and executable contracts.

Sby Skills Guide Bot
DocumentationIntermediate
7/22/2026
Claude CodeCodex
#agent-workflows#progressive-disclosure#executable-contracts#doc-scaffolding#skill-routing

Recommended for

Automated summary

This skill scaffolds an agent-oriented documentation structure (entry skill, workflows, references, runbooks) with progressive disclosure and executable contracts for any repository.

Strengths

  • Generates a minimal, navigable tree: entry SKILL.md, workflows/<name>/SKILL.md, reference/ and docs/runbooks/
  • Enforces uniform per-workflow contracts (Goal, Scope, Triggers, Inputs, Invariants, Procedure, Outputs, Review gate, References)
  • Command routing is explicit: /<skillName> <cmd> loads only the matching workflow contract
  • Prevents duplication by linking to a single source of truth and keeping template.json aligned with routing-matrix.md

Limitations

  • Restricted to documentation scaffolding; it does not implement product features
  • Assumes the agent can parse subcommands or read a routing file, which depends on the host harness
  • Requires you to pick and maintain the requested workflow ids and exact file paths
When to use it

Use it when an existing repository needs agent-readable documentation with workflows wired into a root AGENTS.md or CLAUDE.md.

When not to use it

Avoid it if you want to change application code or a plain README is enough, since the added structure would be overhead.

Security analysis

Safe
Quality score84/100

This is a pure documentation-scaffolding blueprint. It produces markdown and JSON manifests and updates a root doc by adding links. There are no shell commands, no curl|sh, no secret handling, no base64 payloads, and no attempts to disable safety controls. The only side effect is file creation/editing, which is benign and expected for a scaffolding skill.

Findings
  • •Writes/scaffolds files and appends links to an existing root instruction doc (AGENTS.md/CLAUDE.md); no destructive or network actions.
How this analysis is made

Examples

Set up agentic workflow structure
Create an agentic workflow structure for this repo (slug: my-backend, base branch: develop, stack: NestJS + MikroORM + Graphile Worker). Scaffold the modules, specs and document workflows, and link them from AGENTS.md.
Refactor AGENTS.md into linked skills
Refactor our long AGENTS.md into a progressive-disclosure skill layout: a short root doc plus workflows/ with executable contracts, and keep a routing matrix that maps each command to its workflow folder.
Make docs agent-friendly
Make our documentation agent-friendly: create skills/my-backend/SKILL.md as the router entrypoint with /my-backend <cmd> routing, plus reference/routing-matrix.md and role contracts, without duplicating rules across files.

name: workflow-blueprint description: Blueprint workflow to scaffold agent-oriented documentation with progressive disclosure and executable contracts.

agentic-workflows.blueprint

Goal

Provide a reusable blueprint workflow that scaffolds an "agentic workflows" documentation structure for any codebase, with progressive disclosure and executable contracts (workflows).

Scope

  • Applies to: any repository that wants an agent-oriented documentation system (orchestrator + workflow skills + references + runbooks).
  • Does not cover: implementing product features; this is scaffolding/documentation only.

Triggers

  • "Create agentic workflow structure"
  • "Set up skills folder + workflows"
  • "Make docs agent-friendly"
  • "Refactor AGENTS.md into linked skills"

Inputs

  • projectSlug: short identifier for the repo (e.g. my-backend)
  • baseBranch: default integration branch (e.g. develop, main)
  • techStack: short list (e.g. NestJS + MikroORM + Graphile Worker)
  • existingRootDoc: root instruction file path (AGENTS.md, CLAUDE.md, etc.)
  • workflowsWanted: list of workflow ids to scaffold (e.g. modules, specs, document, plan-to-blueprint)
  • constraints: project hard rules (e.g. "no emojis", "mock external boundaries only")
  • skillName (optional): slash-invocation name for the project entry skill; defaults to projectSlug (lowercase, hyphens only)

Outputs

Creates a minimal, navigable structure:

skills/<projectSlug>/
  SKILL.md
  template.json                     ← Declarative manifest (commands, entry)
  reference/
    routing-matrix.md
    role-contracts.md
    hook-blueprint.md (optional)
  workflows/
    <workflowName>/
      SKILL.md
      template.json (optional)      ← Per-workflow manifest when useful
docs/runbooks/
  agent-role-system.md
  agent-role-hooks.md (optional)
  plan-to-blueprint.md (when workflow included)

And updates the root doc (AGENTS.md or equivalent) to link to the new entrypoints.

This blueprint folder can also carry example workflows (document, review, changelog, linear, plan-to-blueprint) to demonstrate chained execution, plan-to-skill transformation, and MCP integration patterns. Optional decomposition workflows (such as mcp-linear-planner and mcp-linear-sync) can be added when needed.

It can also carry runbook examples under runbooks/ to show operator-facing execution playbooks for those workflows.

Invariants (guardrails)

  • Progressive disclosure: root doc stays short; details live behind links.
  • Executable contracts: every workflow is written as a contract the agent can follow:
    • Goal, Scope, Triggers, Inputs, Invariants, Procedure, Outputs, Review gate, References.
  • No duplication: do not copy/paste long rules across files; link to the source of truth.
  • Consistency: workflow ids and file paths must match exactly across all references.
  • Minimal surface: only add the workflows actually requested.
  • Source of truth: SKILL.md is authoritative; template.json is a complementary declarative layer for agents/tools that expose command interfaces.
  • Command routing: router-only — users invoke /<skillName> <cmd>; the entry skill resolves cmd to workflows/<cmd>/SKILL.md and loads only that contract.
  • Manifest sync: every command in template.json must map to an existing workflow folder and match routing-matrix.md.

Procedure

1) Create the project entry skill

Create skills/<projectSlug>/SKILL.md as the global entrypoint:

  • A short description of what the skill is for.
  • An "orchestrator" section that explains:
    • how to classify a task
    • how to select one workflow
    • how to close (validation gate if applicable)
  • A Command routing section (router-only):
    • invocation pattern: /<skillName> <cmd> (e.g. /my-backend document)
    • map each cmd in workflowsWanted to workflows/<cmd>/SKILL.md
    • if the agent does not parse subcommands, read cmd from the user message and load the mapped workflow contract
    • do not create flat alias skills unless explicitly requested
  • A list of internal workflow helpers:
    • workflows/<name>/SKILL.md links
  • Project constraints and hard rules (short bullets).

Create skills/<projectSlug>/template.json as the declarative manifest:

{
  "name": "<skillName>",
  "version": "1.0.0",
  "entry": "SKILL.md",
  "routing": "router-only",
  "commands": [
    {
      "name": "<workflowName>",
      "description": "Short trigger description",
      "skill": "workflows/<workflowName>/SKILL.md"
    }
  ]
}
  • Include one commands[] entry per item in workflowsWanted.
  • Keep name aligned with skillName (folder may remain projectSlug).

2) Create references (progressive disclosure)

In skills/<projectSlug>/reference/, create:

  • routing-matrix.md: task category -> workflow mapping; include slash form /<skillName> <cmd> alongside intent triggers.
  • role-contracts.md: roles, boundaries, handoffs.
  • Optional hook-blueprint.md: opt-in automation checklist.

Keep each file self-contained and linkable.

3) Scaffold each workflow as an executable contract

For each workflow in workflowsWanted, create:

skills/<projectSlug>/workflows/<workflowName>/SKILL.md with:

  • id: "<projectSlug>.workflow.<workflowName>" (as the first header line)
  • Goal: 1 sentence
  • Scope: applies/does not cover
  • Triggers: file triggers + intent triggers
  • Inputs: baseBranch, diff scope, required config
  • Invariants: the project's hard rules + workflow-specific rules
  • Procedure: deterministic steps (evidence-driven; use git diff when documenting)
  • Outputs: what files/notes/checkpoints must be produced
  • Review gate: checklist with pass/fail criteria
  • References: links back to skills/<projectSlug>/SKILL.md and any deep dives

Optionally, for each workflow, add workflows/<workflowName>/template.json when an external tool needs a standalone command descriptor; keep it minimal (name, entry, parent).

4) Wire everything into the root doc

Update existingRootDoc to include:

  • "Start here": link to skills/<projectSlug>/SKILL.md
  • Under "Skills" (or similar), list:
    • the project skill
    • internal workflow skills (links to the new workflow SKILL.md files)
    • runbook links

Do not duplicate workflow contents in the root doc.

5) Optional: deprecate legacy skill locations (wrapper)

If there are existing skills in other directories:

  • Keep the file
  • Add a top banner:
    • "Moved: canonical workflow is at skills/<projectSlug>/workflows/..."
  • Leave the rest as a deep dive reference

6) Consistency verification (required)

Before declaring the scaffold done:

  • Verify every link path exists.
  • Verify workflow ids are consistent:
    • projectSlug.workflow.* matches the file it lives in.
  • Verify root doc points only to canonical locations.
  • Verify template.json commands[].name values exist under workflows/ and appear in Command routing + routing-matrix.md.
  • Verify router-only behavior is documented in the project entry SKILL.md (no undocumented flat aliases).

Review gate (must pass)

  • Root doc remains minimal and only links out.
  • Each workflow has the full contract sections (Goal..References).
  • Constraints are explicit and testable (no vague "best practices").
  • No duplication between root, project skill, and workflows.
  • All links resolve.
  • template.json is valid JSON and consistent with workflowsWanted.
  • Command routing resolves every listed subcommand to exactly one workflow contract.

Notes

  • This blueprint is intentionally stack-agnostic. For stack-specific rules (logging, ORM patterns, testing rules), keep them in the project skill and link them from workflows.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/agentic-workflows-blueprint-mrwakf6s' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/agentic-workflows-blueprint-mrwakf6s/download' --output '.skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md.part' && mv '.skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md.part' '.skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md' && test -s '.skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/workflow-blueprint' && cp -R '.skill-downloads/agentic-workflows-blueprint-mrwakf6s' '.claude/skills/workflow-blueprint'

Codex
test -f '.skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md' && test -s '.skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/workflow-blueprint' && cp -R '.skill-downloads/agentic-workflows-blueprint-mrwakf6s' '.agents/skills/workflow-blueprint'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/agentic-workflows-blueprint-mrwakf6s'

openskills read 'agentic-workflows-blueprint-mrwakf6s'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/agentic-workflows-blueprint-mrwakf6s/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills