/lisa-harper-fabric:harper-component-modelfrom lisa-harper-fabric
Explains the Harper (HarperDB) Fabric component hierarchy — applications, plugins, extensions — and where code belongs. Use before adding a capability, wiring an extension, or placing a file.
Ships in lisa-harper-fabric. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Harper (formerly HarperDB; the product and company now at harper.fast) is an open-source Node.js platform that fuses database, cache, application logic, and messaging into a single in-memory process. Fabric is Harper's distributed deploy network: you develop locally, then deploy the same component to Fabric.
Everything you build is a component. Understanding the component hierarchy is the prerequisite for every other Harper decision — config, resources, schema, and deploy all hang off it.
Harper organizes functionality into three tiers, top to bottom:
handleApplication(scope)
method and always runs on worker threads. The deprecated Extension API used
start, handleFile, handleDirectory, and setupDirectory instead.
handleApplication() cannot coexist with Extension API methods — defining
both throws. Prefer the Plugin API for any custom building block.An application is the component you ship. Extensions/plugins are the capabilities it consumes. Built-in extensions (
graphqlSchema,jsResource,rest,static, …) are provided by core; you only enable them inconfig.yaml. See [[harper-config-yaml]].
These ship with Harper and are enabled (not installed) via config.yaml:
graphqlSchema — define database tables/types from GraphQL schema files. See [[harper-schema-graphql]].jsResource — load custom JavaScript resources (resources.js). See [[harper-resources]].rest — auto-generate REST endpoints for exported resources/tables.static — serve static files (the web/** directory) over HTTP.roles — role-based access control from roles.yaml.loadEnv — load environment variables from .env.dataLoader — seed Harper tables from JSON/YAML.fastifyRoutes — custom Fastify route handlers.This project wraps Harper's native model with a fixed layout under harper-app/:
| Path | Role | Source or generated |
|---|---|---|
harper-app/config.yaml | Component config — which extensions are active | Source |
harper-app/schema.graphql | Table/type definitions | Source |
src/** (TypeScript) | Resources, browser modules, shared libs, scripts | Source |
harper-app/resources.js | Loaded by jsResource | Generated — never edit; build from TS |
harper-app/web/** | Served by static | Generated — never edit; build from TS |
The TypeScript under src/ is the source of truth. resources.js and web/**
are deploy artifacts produced by bun run build. Never hand-edit them — change
the matching TypeScript and rebuild. See [[harper-build-and-deploy]].
config.yaml. Don't ship a
client-side workaround for missing backend behavior — make the Harper change.pluginModule), not application code.web/** (generated from src/ UI code), served
by the static extension.config.yaml,
schema.graphql, resources.js, and web/** at the component root that Fabric
packages. If your change touches that surface, build before packaging.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub codyswanngt/lisa --plugin lisa-harper-fabric-devin12 skills in this plugin
/e2e-coverage-gapsFind end-to-end paths the Playwright suite doesn't cover — untested routes or happy-path-only flows — confirm each in the running app, and file build-ready tickets. For usability problems use lisa-exploratory-qa./harper-authAdd or debug Harper (HarperDB/Fabric) authentication and authorization: roles.yaml, users and roles, Basic auth, JWT tokens, resource permissions, and context.user checks./harper-build-and-deployBuild, run locally, or deploy a Harper (HarperDB/Fabric) component, including the TypeScript build, packaging, Fabric deploys, and deploy-time secrets. Use for any change to the deployable surface or dev loop./harper-cachingImplement Harper (HarperDB/Fabric) caching tables: external-source caches, TTLs, stale revalidation, invalidation, and verification. Use when caching an upstream API or expensive computation./harper-config-yamlCreate or edit a Harper (HarperDB/Fabric) config.yaml: enable built-in extensions, wire components, and debug extensions that don't load. Warns that a custom config.yaml replaces Harper's defaults rather than merging./harper-operationsOperate, monitor, or debug a deployed Harper (HarperDB/Fabric) component: Operations API, component inventory, logs, health checks, jobs, and local 500s.4 plugins in one repository ship this exact skill · first indexed Nov 15, 2026