developer-extension
Guides contributors modifying or extending Viseron components, domains, reload behavior, entities, docs, tests, and source-root imports.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- developer-extension
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Guides contributors modifying or extending Viseron components, domains, reload behavior, entities, docs, tests, and source-root imports.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/component-domain-api.md11.0 KB
- 参考文档references/docs-tests-and-packaging.md6.7 KB
- 参考文档references/reload-and-lifecycle.md8.9 KB
- 参考文档references/troubleshooting.md9.6 KB
03 SKILL.md 正文
Developer Extension
Use this sub-skill when the task is to modify or extend Viseron backend code rather than only configure an existing camera, detector, recorder, or integration.
Route here for
- Adding or changing a component package, domain implementation, domain dependency, entity, event/data-stream publisher or subscriber, config schema, or unload hook.
- Diagnosing component/domain lifecycle states,
DomainNotReadyretries, hot reload behavior, or stale entities/listeners after reload. - Updating schema-backed component documentation or choosing focused backend tests for a component/domain/reload change.
- Investigating source-root/import failures around subprocess workers and top-level
manager.py.
Do not use for
- User-level Viseron configuration recipes, camera stream tuning, detector labels/zones, notification delivery, or deployment operations; route those to the corresponding sibling workflow sub-skill.
- Full release engineering, CI image maintenance, or container builds except as reference-only context.
Operating references
Read only the references needed for the current change:
- Component and domain API for component shape,
CONFIG_SCHEMA,setup()/setup_domains(), domain registration,RequireDomain/OptionalDomain, entities, events, andViseroncore APIs. - Reload and lifecycle for component/domain state transitions, unload order, hot reload rules, identifier-level changes, and retry behavior.
- Docs, tests, and packaging for schema-derived docs, focused tests, safe schema inspection, and the source-root
manager.pyimport caveat. - Troubleshooting for owned failure modes before proposing code changes.
Bundled helper
Use scripts/inspect_component_schema.py as a read-only helper to summarize one component's CONFIG_SCHEMA and, when requested, supported domain schemas. It prints to stdout and never writes Docusaurus files.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.