house-lights

中文文档
1.9.4发布于 2026/11/04MITES Module零依赖

The command behind the house-lights skills: draw a lesson or a pitch, play an incident drill, map a way of working or a customer journey, compare Copilot Studio agents — one offline HTML file each.

原始使用文档

house-lights

The command behind the house-lights skills: six ways of showing an idea to people, each one an HTML page that opens offline. See the gallery.

npx house-lights <skill> <file> [options]      # the options are the skill's own; with no skill, the list
npx house-lights cast-list <agents-folder> [options]
SkillWhat it makes
chalk-talka hand-drawn lesson that appears stroke by stroke, with chapters and values to move
back-of-napkina drawing to present: a pitch, an architecture, a decision, data, a timeline or a story
dress-rehearsalan incident drill to play, made from a runbook, and its debrief
gates-and-handoffsa team's way of working: stages, gates, roles and outputs, with a workbook
service-blueprinta customer journey and who makes each moment happen, with a workbook
cast-listCopilot Studio agents compared: what repeats, who is off a pattern, what is missing, with a workbook
npx house-lights chalk-talk lesson.chalk                       # lesson.html, checked and offline
npx house-lights chalk-talk lesson.chalk --svg                 # an SVG that draws itself, for a README
npx house-lights back-of-napkin pitch.chalk                    # pitch.html, opens presenting (PageDown, speaker notes)
npx house-lights back-of-napkin pitch.chalk --pptx steps       # pitch.pptx: static, steps or video, notes included
npx house-lights dress-rehearsal checkout.drill.yaml --all     # the game and the facilitator's script
npx house-lights gates-and-handoffs team.way.yaml --all        # the map, the workbook (.xlsx) and the lesson
npx house-lights gates-and-handoffs team.way.yaml --from edited.xlsx   # what the edited workbook changes
npx house-lights service-blueprint returns.blueprint.yaml --all       # the map, the workbook and the lesson
npx house-lights cast-list agents/ --profile team.cast.yaml --all     # the agents compared: map, workbook, lesson
npx house-lights cast-list agents/ --from filled.xlsx --take all      # the decisions filled in Excel, kept

Exit codes: 0 made and checked; 1 the file breaks its format (each problem with its line); 2 the command line is wrong; 3 made, with something to fix. Chrome, Chromium or Edge, when installed, lets a build check the drawing and make snapshots and PowerPoint. Node.js 18 or later, nothing else to install.

The drawing engine alone (to embed lessons in a page, VS Code or Obsidian) is the chalk-talk package.

Em português: os mesmos comandos, com --lang pt nas quatro que fazem mapa e jogo. As receitas podem ser escritas em português; a tela segue o locale da receita.

MIT.

版本与发布记录

house-lights 共发布 15 个版本,首次发布于 2026/11/02;过去 12 个月发布了 15 个版本。

版本发布日期距今
1.9.4latest2026/11/04今天
1.9.32026/11/03今天
1.9.22026/11/03今天
1.9.02026/11/03今天
1.6.02026/11/03今天
1.5.12026/11/03今天

关于 house-lights 的常见问题

house-lights 是什么?

室内灯光技能背后的命令:吸取教训或推销,播放事件演习,绘制工作方式或客户旅程,比较Copilot Studio代理-每个都有一个离线HTML文件。

如何安装 house-lights?

在项目目录运行 npm install house-lights,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 house-lights,可以用 npx house-lights 直接运行。

house-lights 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/house-lights 是否存在。

house-lights 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

house-lights 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

house-lights 可以商用吗?

house-lights 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

house-lights 还在维护吗?

最新版本 1.9.4 发布于 2026/11/04(今天);至今共发布 15 个版本,其中过去 12 个月发布了 15 个;首次发布于 2026/11/02。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。