Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- Monorepo managed by Nx and pnpm. Key roots:
Sign in to like and favorite skills
packages/ core publishable npm packages (e.g., core, triggers, hass-ts, hass-mqtt, plugins).apps/ runnable apps (e.g., bens-flat, docs-site).hass-blocks-addon/ - a Home Assistant addonhass-blocks-integration/ - a Home Assistant custom componentplugins/ custom Nx plugin(s) and executors (e.g., publisher).coverage/, dist/, .nx/ are generated outputs; don’t edit@hass-blocks/core - the core framework package containing most of utilities needed to build a hass-blocks automation
@hass-blocks/triggers - a set of trigger blocks that (will) cover most of the triggers provided in the Home Assistant documentation
@hass-blocks/mqtt - a simple library that connects to an MQTT orchestrator and allows users to create entities within Home Assistant using the MQTT integration
@hass-blocks/hass-ts - a strongly typed, comprehensively documented client for the Home Assistant APIs. This is the core client used by @hass-blocks/core, but it can be used independently
@hass-blocks/local-hass - a private utility package that allows scripts to easily spin up and spin down a local version of Home Assistant for testing
@hass-blocks/terminal-ui-plugin - a plugin for blocks that provides a more advanced TUI visualisation of executing automations
@hass-blocks/typed-socket-client - a package which allows you to create a backend based on socket.io, with with handlers and clients that preserves strong typing across the API boundary
@hass-blocks/websocket-plugin - a plugin for Hass Blocks that creates a websocket server to allow interaction with Hass Blocks along with a react hook that can communicate with that server
Monorepo managed by Nx and pnpm. Key roots:
Install:
pnpm install
Affected targets (fast path):
pnpm test → nx affected -t test --coveragepnpm build → nx affected -t buildpnpm lint → nx affected -t lintpnpm e2e-test → nx affected -t e2e-testpnpm generate-types → nx affected -t generate-typesPer-project targets:
pnpm exec nx run <project>:<target>
pnpm exec nx run @hass-blocks/core:testpnpm format; CI enforces pnpm check-style.pnpm lint.*.spec.ts or *.test.ts alongside sources.packages/hass-ts/src/e2e-tests).pnpm test for coverage; project-specific via nx run <project>:test.feat: add mqtt sensor).