Skip to content
Auto
English

Author a module

A Trykatch module is a full-stack capability package with an explicit contract. The Projects reference feature demonstrates the complete path, while Federation demonstrates an optional packaged adapter.

  • API services and controllers;
  • EF Core model configuration and migrations;
  • stable permissions and safe role defaults;
  • React routes, navigation, and named UI extensions;
  • outbox events, subscribers, and workers;
  • explicitly allowlisted assistant tools.

Identity, organization resolution, RLS, antiforgery, permission enforcement, audit integrity, and module validation are not extension points.

  1. Declare stable module and contribution identifiers.
  2. Register backend and React contributions in the paired module catalog.
  3. Implement domain, application, infrastructure, API, and UI behavior inside the module boundary.
  4. Add permissions, organization defaults, migrations, RLS policies, audit events, and outbox behavior.
  5. Run the module doctor, dependency checks, disablement tests, and the generated-template matrix.
Terminal window
trykatch module list --root ./Horizon
trykatch module doctor --root ./Horizon