Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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

  1. Read the spec/design doc thoroughly
  2. Scope analysis — identify what's v1 vs nice-to-have. Cut aggressively. A 921-line MVP beats a 7K monolith.
  3. Extract pipeline phases (plan, setup, implement per feature, verify, commit, review, release)
  4. Map dependencies — which components depend on others? Model with fan-out/join nodes, not linear chains.
  5. Determine core tech stack (language, framework, deps) — bake into every prompt
  6. Ask user: Where should human approval gates go? (suggest based on complexity)
  7. Ask user: Which LLM models? (generate model_stylesheet)
  8. Select pipeline topology — see Pipeline Topology Guide below
  9. Generate the DOT file following the reference below, incorporating Proven Patterns
  10. Reconcile DOT against spec — see Spec Reconciliation below
  11. Run dotfile validate <file>.dot — fix ALL errors
  12. Save to project root (e.g., pipeline.dot or build_<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",
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить dotfile-from-spec с