Skip to content
Agentmart
Submit a tool

ha-blueprint-scaffold

Scaffolds a single Home Assistant blueprint (automation, script, or template domain) as a self-contained, spec-conformant YAML file — by gathering the intent…

Skill by nolte

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nolte-ha-blueprint-scaffold

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Scaffolds a single Home Assistant blueprint (automation, script, or template domain) as a self-contained, spec-conformant YAML file — by gathering the intent, running a pre-flight, and dispatching the ha-blueprint-author agent for the draft-validate-iterate loop, then relaying its conformance report. Activate on phrasings like "scaffold a blueprint for X", "create an automation blueprint", "turn this automation into a blueprint", "draft a motion-light blueprint", "schreibe ein Blueprint für X", "erstelle ein Automations-Blueprint", "mach aus dieser Automation ein Blueprint". Do not activate for custom-integration scaffolding (ha-integration-scaffold), Lovelace cards (ha-lovelace-card-scaffold), integration services (ha-service-definition-add), or importing/deploying into a running HA instance.

Use cases: documents, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ha-blueprint-scaffold

What's inside

Skill name
ha-blueprint-scaffold
Description
Scaffolds a single Home Assistant blueprint (automation, script, or template domain) as a self-contained, spec-conformant YAML file — by gathering the intent, running a pre-flight, and dispatching the ha-blueprint-author agent for the draft-validate-iterate loop, then relaying its conformance report. Activate on phrasings like "scaffold a blueprint for X", "create an automation blueprint", "turn this automation into a blueprint", "draft a motion-light blueprint", "schreibe ein Blueprint für X", "erstelle ein Automations-Blueprint", "mach aus dieser Automation ein Blueprint". Do not activate for custom-integration scaffolding (ha-integration-scaffold), Lovelace cards (ha-lovelace-card-scaffold), integration services (ha-service-definition-add), or importing/deploying into a running HA instance.
License
MIT
Instructions
74 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# HA Blueprint Scaffold

Spec: `spec/claude/ha-blueprint-scaffold/en.md` (EN canonical) / `spec/claude/ha-blueprint-scaffold/de.md` (DE translation).

This skill is the **entry point** for creating a blueprint. It does not generate the YAML itself — it gathers parameters, runs a pre-flight, and dispatches the [`ha-blueprint-author`](https://github.com/nolte/claude-home-assistant/blob/develop/agents/ha-blueprint-author.md) agent, which owns the draft → validate → iterate loop and the conformance report against `spec/ha/blueprint-patterns/en.md`.

## Why this is a skill, not an agent

- **Orchestrator role (decisive):** the procedure gathers intent interactively, runs the pre-flight, and then dispatches the `ha-blueprint-author` agent for the heavy authoring — per `skill-vs-agent`, the orchestrator in the hybrid pattern is always a skill.
- **Mid-flow interactivity:** blueprint intent (domain, inputs, trigger shape) is elicited from the operator before any file exists; that dialogue lives in the main conversation.
- **Counter-dimension considered:** the YAML authoring itself is self-contained (agent bias) — which is exactly why it is delegated to the sibling agent instead of making this wrapper an agent.

## When this skill activates

Use this skill when the user wants to create one Home Assistant blueprint (automation, script, or template) from a described intent — typically to package a reusable automation for sharing or for their own home.

## When NOT to activate

- scaffolding a Python custom integration → `ha-integration-scaffold`
- scaffolding a Lovelace card → `ha-lovelace-card-scaffold`
- defining an integration service → `ha-service-definition-add`
- importing, deploying, or pushing a blueprint into a running HA instance → out of scope (generation only)

## Hard rules

1. **Never generate the blueprint inline.** The `ha-blueprint-author` agent is the sole generation path; this skill gathers inputs, pre-flights, dispatches, and relays. Do not rebuild the agent's loop here.
2. **Intent is mandatory.** Without a described intent there is no dispatch. Everything else may fall back to a documented default.
3. **Never overwrite an existing blueprint.** If the resolved path already exists, abort with the path quoted. Collision is a user-disambiguation problem.
4. **Never silently default.** When the user is silent on `domain`, `target_dir`, `author`, or `source_url`, use the documented defaults — but state every default in the dispatch and in the relayed report.
5. **One blueprint, one domain, one run.** No multi-blueprint batches, no Python, no live-HA import.
6. **Verify HA internals against the official docs.** Don't reproduce HA API signatures, lifecycle hooks, conventions, or schemas from memory — when uncertain, consult the official docs before generating or relying on it: Developer docs [`developers.home-assistant`](https://github.com/home-assistant/developers.home-assistant), architecture/blueprint/YAML docs [`home-assistant.io`](https://github.com/home-assistant/home-assistant.io) (see `spec/ha/upstream-docs-verification/en.md`).

## Inputs

| Field | Required | Default | Notes |
|---|---|---|---|
| `intent` | yes | — | What the blueprint should do, in prose |
| `domain` | no | `automation` | One of `automation`, `script`, `template` |
| `target_dir` | no | repo root | Where to write; an HA config tree triggers the `blueprints/<domain>/<author>/` path derivation |
| `author` | no | git user or `local` | Namespace folder + `author` key |
| `file_name` | no | derived from name (`snake_case`) | The `.yaml` filename, per `spec/ha/naming-conventions/en.md` |
| `source_url` | no | — | Canonical origin; set only when the blueprint is meant to be shared |

If the user is silent on any optional field, use the default but state it explicitly in the output.

## Pre-flight (every run, in order — abort on first failure)

1. `intent` is present and non-empty. If not, ask for it; do not dispatch.
2. `target_dir` exists (or its parent is writable). If the path is unusable, abort and say why.
3. Resolve the target path. When `target_dir` is an HA config tree, derive `blueprints/<domain>/<author>/<file_name>.yaml`; otherwise honor the caller's path.
4. The resolved blueprint file does not already exist. If it does, abort with the path quoted.

## Workflow

### 1) Resolve and confirm

Print one paragraph stating: domain, resolved file path, author, whether `source_url` is set, and every default that was assumed. Wait for user confirmation.

### 2) Dispatch the agent

Dispatch the `ha-blueprint-author` agent, passing every gathered parameter (`intent`, `domain`, `target_dir`, `author`, `file_name`, `source_url`). The agent reads `ha/blueprint-patterns`, drafts the inputs/selectors/body, wires the `!input` → `variables`/`trigger_variables` bridge, validates offline, repairs, and returns a CONFORMANT / NEEDS-WORK report.

### 3) Relay the report

Surface the agent's report verbatim plus the relative path to the written file. Do not echo the full blueprint YAML unless the user asks. When the report is NEEDS-WORK, forward the agent's named caller follow-ups as the user's next decisions.

## Boundaries

- The generative loop and all spec conformance → `ha-blueprint-author` agent
- Blueprint authoring rules (schema, selectors, templating, modes, versioning) → `ha/blueprint-patterns`
- Custom-integration scaffold → `ha-integration-scaffold`
- Backward-compatible edits to an existing blueprint → no owning skill yet; edit manually against `spec/ha/blueprint-patterns/en.md`

From nolte/claude-home-assistant, MIT.

More from nolte/claude-home-assistant

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
Jul 23, 2026 (3 months ago)
Last release
Jul 23, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nolte

Cite this page

ha-blueprint-scaffold skill. Agent Mart. https://agentmart.dev/skills/nolte-ha-blueprint-scaffold (last updated 2026-10-24)