21 lines
2.8 KiB
Markdown
21 lines
2.8 KiB
Markdown
---
|
||
name: isa-extension-development
|
||
description: Build, debug, package, and update standalone ISA Warden iframe extensions, their manifests, bridge calls, project persistence, and dashboard workers.
|
||
---
|
||
|
||
# ISA extension development
|
||
|
||
Work in the extension repository. Read its AGENTS.md and package scripts first. The host checkout is optional for extension builds; do not change or publish the host to deliver an extension update.
|
||
|
||
Read [the specification index](references/README.md) and only the chapters relevant to the requested work. These references are a versioned snapshot: use `isa-ext update-skill` to refresh them intentionally. Treat undocumented host capabilities as unavailable; check `get_app_info` before relying on optional capabilities. Never import private host application modules or call Tauri directly from iframe code.
|
||
|
||
Preserve manifest IDs and persisted/wire formats unless the task requires a migration. Request only needed permissions. Keep canonical workspace inventory separate from explicit group availability; do not silently fall back to workspace-wide resources in group context. For project persistence read [project sync](references/20-dashboard-backed-project-sync.md) and [workspace files](references/dashboard-workspace-files.md). Never interpret unavailable inventory as confirmed deletion.
|
||
|
||
Use the extension's vendored shared UI contracts and host theme tokens; do not introduce Tailwind, copy host internals, or hardcode a competing theme. Keep copy minimal, English/Dutch strings synchronized where supported, and errors readable. Read [styling](references/14-strict-styling-requirements.md) for notification and state behavior.
|
||
|
||
For a new extension or a change to shared data, document the business question chat can answer and the collection’s scope, source, fields and stable identity. Verify discovery, the answer and access revocation with the packaged extension. Record why a private or demonstration extension has no search collection when applicable. [Searchable extension data and runnable example](references/25-searchable-extension-data.md)
|
||
|
||
Run the repository's full build/package command, then relevant existing tests. A successful bundle alone does not prove host bridge behavior. Add regression coverage for parsing, persistence, isolation, cancellation, or other concrete risks; skip tests that merely assert copy, CSS, or fixed catalog values. Verify the generated `.isax` manifest and payload, and report which host interactions were actually exercised. Do not commit build output, node_modules, targets, credentials, or user project data.
|
||
|
||
For native host interaction use the installed `isa-extension-ui-control` skill. Plain Vite preview can verify layout but cannot prove native host capabilities. Extension builds and unit tests must remain usable without locating or launching the native app.
|