Loading...
Loading...
Initializes or refreshes the Domain Registry in CLAUDE.md by scanning the project for library directories. Run this once per project, or after adding new libraries. Creates the registry table that domain-context skill uses for auto-loading.
npx skill4agent add bogusweb/workspace-context-skills domain-initCLAUDE.mdproject.jsonpackage.jsonng-package.json## Domain RegistryCLAUDE.mdbash .claude/skills/domain-init/scripts/scan_domains.sh 2>/dev/null \
|| node .claude/skills/domain-init/scripts/scan_domains.js 2>/dev/nulllibs/project.jsonpackage.jsonproject.jsonnametargets.build.options.projectpackage.jsonnameng-package.jsonpackage.json| Field | Source |
|---|---|
| Relative directory path from workspace root |
| |
| First line of existing |
widget-**-domaindomain*-featurefeature*-uiui*-utilutilshared/*CLAUDE.md<!-- domain-registry-start -->CLAUDE.md
## Domain Registry
> Auto-maintained by domain-init skill. Run `/domain-init` to regenerate.
<!-- domain-registry-start -->
| Path | Import Path | Description |
|------|-------------|-------------|
| <path> | <import-path> | <description> |
<!-- domain-registry-end -->CLAUDE.mddomain-init skillDomain Registry
## Domain Context Loading
The `domain-init` skill is active. Before working on any library listed in the
Domain Registry above, silently read its `README.md` for architecture context.✓ Domain Registry updated in CLAUDE.md
Found N domains:
- libs/widget-chat → @scope/widget-chat
- libs/shared/... → @scope/shared/...
...
Domains without README.md (consider running /domain-readme <path>):
- libs/dashboards-manager
- libs/widget-map$ARGUMENTSlibs//domain-initlibs//domain-init libs/sharedlibs/shared//domain-init packagespackages/CLAUDE.md