atomic
flowstate-dojo-community-epicdm-flowstate-domain-context
Package-local agent skill for @epicdm/flowstate-domain-context.
Tags
Publisher
Versions
1 version published — latest: 1.0.7
- 1.0.7publishedInvalid Date
Skill
Use this skill when a task touches packages/flowstate-domain-context, imports @epicdm/flowstate-domain-context, or needs to teach humans/agents how this package works.
Package identity:
- Package: @epicdm/flowstate-domain-context
- Repository: epic-flowstate-community
- Version authority: package.json (1.0.7)
- Dojo course: flowstate-dojo-community-epicdm-flowstate-domain-context
How to use the package:
- Purpose: # @epicdm/flowstate-domain-context Domain context helpers for multi-tenant FlowState services.
- Start with package-local docs when present.
- Verify details against source and tests before changing behavior.
- Use the Dojo course lessons as the teaching path: setup, mental model, core workflow, integration, feature labs, maintenance.
Public surfaces discovered:
- DomainContextError
- MissingDomainIdError
- requireDomainId
- sanitizeOrgId
- sanitizeWorkspaceId
- extractDomainFromHeaders
- extractOrgFromHeaders
- extractWorkspaceFromHeaders
Composable feature skilllets:
- Domain Context Error: use feature labs for workflow, source anchor, and regression risk.
- Extract Domain From Headers: use feature labs for workflow, source anchor, and regression risk.
- Extract Org From Headers: use feature labs for workflow, source anchor, and regression risk.
- Extract Workspace From Headers: use feature labs for workflow, source anchor, and regression risk.
- Missing Domain Id Error: use feature labs for workflow, source anchor, and regression risk.
- Require Domain Id: use feature labs for workflow, source anchor, and regression risk.
- Sanitize Org Id: use feature labs for workflow, source anchor, and regression risk.
- Sanitize Workspace Id: use feature labs for workflow, source anchor, and regression risk.
Agent operating rules:
- Treat package.json as the Dojo version authority.
- Do not turn feature inventory into user-facing lessons without workflow context.
- Update this Dojo package when package behavior, docs, examples, or feature inventory changes.
- Verify downstream packages when package use and connection metadata shows inbound dependencies or references.
- Never mark publish status passed without successful cloud publish and catalog lookup.
Usage
Use this Dojo skill with package human docs, package-local feature inventory, agent-skillset.md, and the generated course.json in this folder. Keep this manifest version aligned with package.json.
Install
Run this in your project to install via CLI:
fscloud dojo skill install flowstate-dojo-community-epicdm-flowstate-domain-context --target <target> --out ./skillsReplace <target> with your agent target identifier. See the CLI docs for details.