Prompt file imported from westleycooper/sentient-ai (
.claude/commands/new-sme.md). Fill in{{arguments}}before use. Copyright stays with the author.
Create a new SME bounded context named "{{arguments}}".
Follow CLAUDE.md §3 and docs/standards/ddd.md. Steps:
- In packages/domain, add a declarative SME definition (Pydantic + JSON Schema export): identity, "soul"/system context, default reasoning steps (ordered list of typed steps: retrieve | reason | tool-call | summarise | guardrail-check), default RAG sources, and editable rules.
- Add a seed migration (Alembic) inserting this as a default template row users can clone.
- Add domain tests covering every invariant.
- Run /regen-contracts so the frontend gets types + TanStack Query hooks.
- Verify /check-boundaries passes and the Definition of Done (CLAUDE.md §12). Do NOT add bespoke application code for steps already expressible as config.
