fft Dashboard 运维
- 作者仓库星标 3
- 作者仓库 FFT_nano
FFT Dashboard Ops
Use this skill for generating, staging, applying, and validating farm dashboards.
When to use this skill
- Use when creating or revising Home Assistant Lovelace dashboards.
- Use when applying dashboard changes through staged files and screenshot checks.
- Use when adapting dashboard layout to live farm-state context.
When not to use this skill
- Do not use for direct live YAML edits in Home Assistant config.
- Do not use for non-dashboard automation or device control requests.
- Do not use outside main/admin chat for dashboard apply operations.
- Do not use for runtime multi-card canvas composition; hand off to
fft-canvas-dynamic-ops.
Guardrails
- Never run destructive git commands unless explicitly requested.
- Preserve unrelated worktree changes.
- Dashboard apply operations are main/admin chat only.
- Always use the staging file flow; never modify live YAML directly.
Template Sources
- View/card/theme templates:
/workspace/dashboard-templates/ - Writable dashboard config mount:
/workspace/dashboard/
Use templates as a baseline, then adapt entity references using live discovery from /workspace/farm-state/devices.json.
Lovelace Structure Rules
- Top-level structure should include
titleandviews. - Each view should define
title, optionalpath, andcards. - Use supported custom cards when available:
custom:mushroom-*custom:apexcharts-card
- Prefer robust layouts (
grid,vertical-stack,horizontal-stack) with clear labels.
Workflow
- Read
/workspace/farm-state/current.jsonand/workspace/farm-state/calendar.jsonfor context. - Draft dashboard YAML to
/workspace/dashboard/ui-lovelace-staging.yaml. - Use
ha_dashboard_validatebefore apply. - Request apply via
ha_apply_dashboardwithstagingFileset to the staging path. - Request screenshot via
ha_capture_screenshotfor the relevant view. - Verify screenshot and iterate until readable and operational.
Skill Routing
- If the user asks for runtime canvas cards, card-level canvas edits, or spec-driven layout updates, use
fft-canvas-dynamic-ops. - If the user asks for full view composition, theme/view structure changes, or staged apply lifecycle management, stay in
fft-dashboard-ops.
Context-Reactive Theming
Use current.json.context.suggestedTheme to choose theme variants (for example: dawn, midday, dusk, night, storm, frost, harvest).
- High alert level: emphasize warnings/errors and simplify visual noise.
- Normal operations: prioritize trend visibility and quick actions.
- Calendar-heavy periods: feature timeline/task cards in primary views.
Safety Expectations
- Never bypass staging-to-live apply flow.
- Never execute shell-level infrastructure changes from dashboard tasks.
- Keep entity IDs explicit and avoid wildcard assumptions.
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @0-CYBERDYNE-SYSTEMS-0 · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use when creating or revising Home Assistant Lovelace dashboards. Use when applying dashboard changes through staged files and screenshot checks. Use when adapting dashboard layout to live farm-state context.
Do not use for direct live YAML edits in Home Assistant config. Do not use for non-dashboard automation or device control requests. Do not use outside main/admin chat for dashboard apply operations.
Never run destructive git commands unless explicitly requested. Preserve unrelated worktree changes. Dashboard apply operations are main/admin chat only.
View/card/theme templates: /workspace/dashboard-templates/ Writable dashboard config mount: /workspace/dashboard/ Use templates as a baseline, then adapt entity references using live discovery from /workspace/farm-state/devices.json.
Top-level structure should include title and views. Each view should define title, optional path, and cards. Use supported custom cards when available:
Read /workspace/farm-state/current.json and /workspace/farm-state/calendar.json for context. Draft dashboard YAML to /workspace/dashboard/ui-lovelace-staging.yaml. Use hadashboardvalidate before apply.
# FFT Dashboard Ops
Use this skill for generating, staging, applying, and validating farm dashboards.
## When to use this skill
- Use when creating or revising Home Assistant Lovelace dashboards.
- Use when applying dashboard changes through staged files and screenshot checks.
- Use when adapting dashboard layout to live farm-state context.
## When not to use this skill
- Do not use for direct live YAML edits in Home Assistant config.
- Do not use for non-dashboard automation or device control requests.
- Do not use outside main/admin chat for dashboard apply operations.
- Do not use for runtime multi-card canvas composition; hand off to `fft-canvas-dynamic-ops`.
## Guardrails
- Never run destructive git commands unless explicitly requested.
- Preserve unrelated worktree changes.
- Dashboard apply operations are main/admin chat only.
- Always use the staging file flow; never modify live YAML directly.
## Template Sources
- View/card/theme templates: `/workspace/dashboard-templates/`
- Writable dashboard config mount: `/workspace/dashboard/`
Use templates as a baseline, then adapt entity references using live discovery from `/workspace/farm-state/devices.json`.
## Lovelace Structure Rules
- Top-level structure should include `title` and `views`.
- Each view should define `title`, optional `path`, and `cards`.
- Use supported custom cards when available:
- `custom:mushroom-*`
- `custom:apexcharts-card`
- Prefer robust layouts (`grid`, `vertical-stack`, `horizontal-stack`) with clear labels.
## Workflow
1. Read `/workspace/farm-state/current.json` and `/workspace/farm-state/calendar.json` for context.
2. Draft dashboard YAML to `/workspace/dashboard/ui-lovelace-staging.yaml`.
3. Use `ha_dashboard_validate` before apply.
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to use this skill → When not to use this skill → Guardrails → Template Sources → Lovelace Structure Rules → Workflow
要点 -> Use this skill for generating, staging, applying, and validating farm dashboards. · - Use when creating or revising Home Assistant Lovelace dashboards. · - Do not use for direct live YAML edits in Home Assistant config. · - Never run destructive git commands unless explicitly requested. · Use templates as a baseline, then adapt entity references using live discovery from /workspace/farm-state/devices.json. · - Top-level structure should include title and views. · 1. Read /workspace/farm-state/current.json and /workspace/farm-state/calendar.json for context. · - If the user asks for runtime canvas cards, card-level canvas edits, or spec-driven layout updates, use fft-canvas-dynamic-ops.
文件/命令 -> fft-canvas-dynamic-ops · /workspace/dashboard-templates/ · /workspace/dashboard/ · /workspace/farm-state/devices.json · title · views · path · cards
内容 SHA-256 -> 80c5670ecf7b
方法与流程
适用与边界
原文中的明确线索
fft-canvas-dynamic-ops、/workspace/dashboard-templates/、/workspace/dashboard/、/workspace/farm-state/devices.json、title、views、path、cards