Develop
AI-assisted development
How to drive Cursor or another agent on Dominevo — skills first, CLI/MCP tools, one hypothesis at a time, deploy before believing a log line.
Agents fail on Dominevo when they improvise wiring. Use the skill pack and the shared develop tools; do not reconstruct the addon lifecycle from memory.
Preferred tools (same ops)
dominevo develop scaffold addon <name> --kind provider
dominevo develop find-example notifier
dominevo develop validate <name>
dominevo develop skill add-addonOr start the MCP server (npx @dominevo/mcp-develop) and call
scaffold_addon / find_example / validate_addon / get_skill. Details:
MCP and skills.
Required skills
| Task | Skill |
|---|---|
| New / extended addon | add-addon |
New / changed *.cap.ts | add-capability |
| After any meaningful change | sync-docs |
| Architecture pointers | architecture |
Load from @dominevo/develop/skills/ (or dominevo develop skill <id>). In a
the Dominevo server checkout, the same skills are also in .claude/skills/.
Working rules for agents
- Read the page for the area (
docs/architecture/…in the server repo) before editing. - One hypothesis at a time; trace the real code path.
- No
as any; noconsole.log; no base64 byte fields on caps. - After cap edits:
npm run codegen. - After addon edits: deploy — local
dist/is not what the hub loads. - Prefer a guard over a paragraph when a rule keeps getting broken.
- Append
docs/history/sessions.mdwhen you learn something expensive.
Green tests are not proof
A test can pass because its fake supplies a value that production never fetches. When you fix a gate, remove the fix and confirm the test fails.