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
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.
About
Use cases: documents, agent-building
Reviews
Write a reviewNo 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
- 0.497score
ha-conversation-agent-augment
nolte
Augments an existing Home Assistant Custom Integration with one or more Voice & AI surfaces — intent handlers, a conversation agent, and/or LLM API tools —…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-automation-solution
nolte
Plans and orchestrates a complete Home Assistant YAML solution from a result-oriented requirement, so the user never has to pick which authoring skill to use.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-badge-add
nolte
Adds a custom Lovelace badge to an existing Home Assistant frontend module, conforming to spec/ha/lovelace-badges.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-bluetooth-augment
nolte
Augments an existing Home Assistant Custom Integration with Bluetooth support, conforming to spec/ha/bluetooth.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-card-editor-add
nolte
Adds an ha-form-based visual configuration editor to an existing custom Home Assistant Lovelace card, conforming to spec/ha/lovelace-card-editor.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-card-features-add
nolte
Augments an existing Home Assistant frontend module with one custom tile/card feature — the interactive control row rendered inside the tile card and other…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-automation-author
nolte
Authors one Home Assistant automation-logic or command artifact as spec-conformant YAML (or a sandboxed .py) from a described intent — an automation, script…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-card-sizing-determine
nolte
Determines the optimal size declaration for an existing custom Lovelace card or panel — getGridOptions() (sections) and getCardSize() (masonry/panel/stacks) —…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-config-entry-migrate
nolte
Adds or extend async_migrate_entry in an existing Home Assistant Custom Integration to migrate stored config entries across a schema change — bump…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-config-flow-augment
nolte
Augments an existing Home Assistant Custom Integration config flow with an additional pattern — multi-step tenant / account selection, zeroconf discovery…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-coordinator-add
nolte
Appends a new DataUpdateCoordinator to an existing Home Assistant Custom Integration — separate role, separate update interval, full integration with…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-derived-sensor-author
nolte
Authors one Home Assistant derived or statistical helper sensor as a spec-conformant YAML block from a described intent — bayesian, derivative, filter…
SkillCFreshness: C★ 1Claude Code +9
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
- Repository
- github.com/nolte/claude-home-assistant
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nolte
- 0.497score
ha-automation-solution
nolte
Plans and orchestrates a complete Home Assistant YAML solution from a result-oriented requirement, so the user never has to pick which authoring skill to use.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-badge-add
nolte
Adds a custom Lovelace badge to an existing Home Assistant frontend module, conforming to spec/ha/lovelace-badges.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-bluetooth-augment
nolte
Augments an existing Home Assistant Custom Integration with Bluetooth support, conforming to spec/ha/bluetooth.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-card-editor-add
nolte
Adds an ha-form-based visual configuration editor to an existing custom Home Assistant Lovelace card, conforming to spec/ha/lovelace-card-editor.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-card-features-add
nolte
Augments an existing Home Assistant frontend module with one custom tile/card feature — the interactive control row rendered inside the tile card and other…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
ha-automation-author
nolte
Authors one Home Assistant automation-logic or command artifact as spec-conformant YAML (or a sandboxed .py) from a described intent — an automation, script…
SkillCFreshness: C★ 1Claude Code +9
Cite this page
ha-blueprint-scaffold skill. Agent Mart. https://agentmart.dev/skills/nolte-ha-blueprint-scaffold (last updated 2026-10-24)