ワンクリックで
blueprint-engine
Hybrid DAG execution primitive combining deterministic and agentic nodes with hard iteration caps
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Hybrid DAG execution primitive combining deterministic and agentic nodes with hard iteration caps
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| id | blueprint-engine |
| name | blueprint-engine |
| type | skill |
| version | 1.0.0 |
| created | 20/03/2026 |
| modified | 20/03/2026 |
| status | active |
| description | Hybrid DAG execution primitive combining deterministic and agentic nodes with hard iteration caps |
| context | fork |
Inspired by Stripe Minions: deterministic scaffolding + bounded agentic intelligence. Hard caps are non-advisory — they are enforced by iteration-counter.py.
Commands executed directly with no iteration cost:
git-branch — git checkout -b minion/{task-id}git-commit — git add -A && git commit -m "minion: {message}"git-push — git push -u origin HEADcreate-pr — gh pr create --title "minion: {task}" --body "{template}" --label "minion-generated"lint — pnpm turbo run linttype-check — pnpm turbo run type-checktest — pnpm turbo run testcircular-deps-check — pnpm turbo run lint (includes circular dep detection)system-supervisor-quick-audit — read .claude/memory/current-state.md + grep for violations (deterministic)execution-guardian-check — evaluate risk level from task keywords (deterministic mapping)implement — Implement the requested feature. Cap: 1 pass onlyreproduce-bug — Write a failing test that reproduces the bug. Cap: 1 pass onlyimplement-fix — Fix the reproduced bug. Cap: 1 pass onlyimplement-migration — Execute a database or code migration. Cap: 1 pass onlyimplement-refactor — Refactor per system supervisor audit findings. Cap: 1 pass onlyfix-ci — Fix CI/test failures. Cap: 2 rounds maximumfix-lint — Fix non-auto-fixable lint errors. Cap: 1 round maximum| Node | Cap |
|---|---|
implement | 1 pass |
reproduce-bug | 1 pass |
implement-fix | 1 pass |
implement-migration | 1 pass |
implement-refactor | 1 pass |
fix-ci | 2 rounds |
fix-lint | 1 round |
| Total agentic per blueprint | 3 max |
When any cap is reached → output BLUEPRINT_ESCALATION block, halt, write to .claude/memory/current-state.md, stop.
These are applied automatically before any agentic node. They do NOT count against caps:
| Error Pattern | Auto-Fix Command |
|---|---|
Cannot find module | pnpm install |
ModuleNotFoundError | uv sync |
| Auto-fixable ESLint errors | pnpm turbo run lint -- --fix |
| Auto-fixable Python lint | uv run ruff check src/ --fix |
| Missing type stubs | pnpm add -D @types/{package} |
When a cap is reached or a blocking error occurs, output this exact block and halt:
BLUEPRINT_ESCALATION
task_id: {id}
node: {failing-node}
iteration: {n}/{max}
reason: {what failed in one line}
evidence: {last 5 lines of error output}
next_action: Human review required — do not retry automatically
Then write to .claude/memory/current-state.md:
## Minion Escalation — {DD/MM/YYYY HH:MM AEST}
task_id: {id}
status: ESCALATED
node: {failing-node}
reason: {reason}
.claude/data/minion-state.json.create-pr.node-type → node-type → [optional-node] → node-type
Brackets [...] indicate conditional nodes (only executed if the preceding deterministic check fails).
Route complex requests to the right specialist agent or chain of agents. This skill acts as the central brain of an agent swarm — it analyses what the user needs, determines which specialist domain(s) are required, and coordinates parallel or sequential agent execution. Use this skill when a request spans multiple domains (e.g., "research competitors and create a pitch deck"), when you need to decide which specialist should handle an ambiguous request, or when a task requires a multi-step pipeline across different skills. Triggers on: multi-step requests, cross-domain tasks, "coordinate", "plan this out", "I need help with multiple things", or any complex request that touches more than one specialist area. Also triggers when the user seems unsure which tool or approach to use.
>-
">"
Act as a brand ambassador — create authentic, platform-specific social media content that embodies a brand's identity and connects with audiences. Use this skill whenever the user asks to "create social media content for a brand", "act as a brand ambassador", "write ambassador posts", "promote [brand] on social media", "create influencer-style content", "write authentic brand content", "social media ambassador", or any request involving representing a brand through social content. Also triggers on "ambassador voice", "brand promotion posts", "influencer content", "authentic brand posts", "UGC-style content", or when someone wants social media content that sounds like a real person recommending a brand rather than corporate marketing copy. Even if the user just says "help me promote [brand]" or "I need content for [brand]'s social channels" — use this skill.
>-
Override generic LLM code output patterns. Replaces generic variable names, over-commented code, and placeholder patterns with domain-specific naming, clean architecture, and production-ready structure.