Installs into .claude/skills of the current project.
Are you the author of Domain Tasks?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/insideout-ai-domain-tasks-make-it-work)
---
name: domain-tasks
description: "Task creation and completion logic and validation rules. Use when touching src/tasks/ or task status transitions."
---
## Summary
Owns creating and completing tasks: in-memory objects with a title, owner, and status.
## Domain Validation Rules and Business Logic
- `createTask` requires a non-empty `title`; throws otherwise.
- `completeTask` throws if the task's status is already `done`.
## Backend Functions
| Function | Import path | Called from | Key params/returns |
|---|---|---|---|
| `createTask` | `src/tasks/createTask.js` | UC-01 | `{ title, ownerId }` → task object with `status: 'open'` |
| `completeTask` | `src/tasks/completeTask.js` | UC-02 | task object → task object with `status: 'done'` |
## Cross-references
- Related Use Case Skills: `/uc-01-create-task`, `/uc-02-complete-task`
- Related Domain Skills: `/domain-notifications`