dotfile-from-spec
БесплатноБез исполняемых скриптовНе проверенUse when you have a spec, design doc, structured plan, or prompt_plan and need to generate a pipeline Graphviz DOT file for headless autonomous building. The…
от harperreed★ 339 звёзд на GitHubОб этом скилле
dotfile-from-spec
Generate validated pipeline DOT files from structured specs and design docs. Every node prompt is packed with enough context for fully autonomous headless execution. Incorporates proven patterns from the dotpowers pipeline family.
Checklist
- Read the spec/design doc thoroughly
- Scope analysis — identify what's v1 vs nice-to-have. Cut aggressively. A 921-line MVP beats a 7K monolith.
- Extract pipeline phases (plan, setup, implement per feature, verify, commit, review, release)
- Map dependencies — which components depend on others? Model with fan-out/join nodes, not linear chains.
- Determine core tech stack (language, framework, deps) — bake into every prompt
- Ask user: Where should human approval gates go? (suggest based on complexity)
- Ask user: Which LLM models? (generate
model_stylesheet) - Select pipeline topology — see Pipeline Topology Guide below
- Generate the DOT file following the reference below, incorporating Proven Patterns
- Reconcile DOT against spec — see Spec Reconciliation below
- Run
dotfile validate <file>.dot— fix ALL errors - Save to project root (e.g.,
pipeline.dotorbuild_<project>.dot)
DOT Runtime Reference
Node Shapes → Handlers
| Shape | Handler | Purpose | Required Attributes |
|---|---|---|---|
Mdiamond |
start | Pipeline entry point (exactly one) | label |
Msquare |
exit | Pipeline exit, validates goal gates (exactly one) | label |
box |
codergen | LLM coding/reasoning tasks (DEFAULT) | prompt, label |
diamond |
conditional | Routes by edge conditions | prompt, label |
hexagon |
wait.human | Human approval gate | label, type="wait.human" |
parallelogram |
tool | Shell command execution | label, tool_command |
component |
parallel | Fan-out (parallel start) | label |
tripleoctagon |
parallel.fan_in | Fan-in (parallel join) | label |
CRITICAL: Hexagon nodes MUST have type="wait.human" — shape alone is not enough.
Graph Attributes
| Attribute | Type | Purpose | Example |
|---|---|---|---|
goal |
string | Pipeline success criteria | "Build working CLI with tests" |
label |
string | Pipeline display name | "Build URL Title CLI" |
model_stylesheet |
string | CSS-like model config | See Model Stylesheet section |
default_max_retry |
int | Global retry limit (default=50) | default_max_retry=3 |
retry_target |
string | Node to retry from on failure | retry_target=implement |
fallback_retry_target |
string | Fallback retry node | |
default_fidelity |
string | Context fidelity level | full, summary:high, summary:compact |
rankdir |
string | Layout direction | TB (top-bottom), LR (left-right) |
Node Attributes
| Attribute | Type | Purpose |
|---|---|---|
prompt |
string | LLM instruction (the core of headless building) |
label |
string | Display name |
shape |
string | Handler type (see table above) |
type |
string | Explicit handler override (e.g., "wait.human") |
class |
string | Model stylesheet class (e.g., class="code") |
goal_gate |
bool | Must pass for pipeline success |
max_retries |
int | Per-node retry limit |
timeout |
duration | Node timeout (e.g., "30m", "1h") |
retry_target |
string | Where to retry from on failure |
fallback_retry_target |
string | Fallback retry node |
llm_model |
string | Override model for this node |
llm_provider |
string | Model provider |
reasoning_effort |
string | low, medium, or high |
fidelity |
string | full, summary:high, summary:compact |
auto_status |
bool | Auto-report status |
allow_partial |
bool | Accept partial completion |
system_prompt |
string | System prompt override |
tool_command |
string | Shell command (for parallelogram tool nodes) |
thread_id |
string | Conversation thread ID |
Edge Attributes
| Attribute | Type | Purpose | Example |
|---|---|---|---|
label |
string | Edge display label | label="tests pass" |
condition |
string | Routing condition | condition="outcome=success" |
weight |
int | Preferred path (higher = preferred) | weight=2 |
fidelity |
string | Context fidelity for this edge | |
thread_id |
string | Thread for context | |
loop_restart |
bool | Restart loop detection |
Edge Condition Syntax
condition="outcome=success" // case-insensitive equality
condition="outcome=fail"
condition="outcome!=success" // inequality
condition="context.some_key=value" // context variable check
Operators: = (equality), != (inequality). Outcome and preferred_label comparisons are case-insensitive.
Human Gate Edge Labels
Use accelerator key format. Set higher weight on the preferred (happy) path:
human_review -> next_step [label="[A] Approve",
Установить dotfile-from-spec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dotfile-from-spec?
Use when you have a spec, design doc, structured plan, or prompt_plan and need to generate a pipeline Graphviz DOT file for headless autonomous building. The agent reads the spec, extracts build pipeline phases, determines tech stack, asks about human gates and model preferences, generates a validated DOT digraph with rich self-contained prompts, and saves it to the project root. Handles any language or framework.
Как установить скилл dotfile-from-spec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dotfile-from-spec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic