/accordo:create-crm-modulefrom Accordo — agent-native CRM framework
Create or extend an Accordo domain module. Use for new CRM objects, fields, service operations, module metadata, API exposure and tests. Do not use for cross-module business processes; use create-crm-workflow instead.
Ships in Accordo — agent-native CRM framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
npm run crm -- app inspect --json
Read valid, then problems[], then limitations[], in that order. Every problem is fixed or reported before anything is built on top of it, and every limitation is a hard boundary on what you may claim. Then read packages[], capabilities[], resources[], actions[], policies[] and providers[]: that list is what exists. A capability absent from the report does not exist, whatever a record name, a label or a document suggests.
If the repository documents this skill names are absent, you are in a project built from this framework rather than in the framework itself. The inspection report is then the source of truth and those documents are optional background — do not guess at their contents, and do not assume a path exists because this skill names it.
modules[] is where you check whether the record you are about to create already exists, which package owns it, its checked-in revision and its declared fields — read it before writing a manifest, not after.
Preferred path — module factory (manifest-driven):
ARCHITECTURE.md, DECISIONS.md, docs/MODULE_MANIFEST.md
and docs/MODULE_FACTORY.md. The commands in the steps below carry the contract
themselves — module validate refuses a manifest these documents would have
refused — so read them for the reasoning, and proceed without them if they are
not in this project.examples/modules/partner.module.json); validate it:
npm run crm -- module validate <manifest.json>.npm run crm -- module plan <manifest.json>.npm run crm -- module create <manifest.json> then --apply.
Apply writes service, migration, module definition, tests and registers the
module automatically — no manual MIGRATIONS or create-app edits. The module
is then served at /api/modules/<name>/…, discoverable via GET /api/schema
(generatedModules), usable via client.module('<name>') in the SDK, and
shown automatically in the Admin under "Generated modules" (list/create/
detail/edit, no page code — see docs/ADMIN.md).{"type":"reference","references":"<target-table>"}. Apply the target module
first; the generated service validates the target at runtime via the
application reference resolver (ADR-010) and the Admin renders a target
selector. Generated-to-core references are not supported yet.docs/ACTIONS.md, ADR-011). Mark the fields the action owns
"writable": "managed" in the manifest so generic CRUD cannot reach that
state, and write the managed fields from execute via ctx.managed. The
runtime supplies one atomic transaction, events released only after commit,
and an automatic trace; it does not deduplicate, so express idempotency in
data (a unique key), as in
examples/starters/b2b-lead-qualification/.npm run verify.Manual path (custom shapes the factory does not cover):
packages/modules/.npm run verify and update docs."revision" bump — one step at a time. Edit the manifest, set "revision": <previous + 1>, and re-run module create … --apply; the factory appends one new migration and the next boot applies it.writable or default (a metadata evolution — the revision advances, the source is regenerated, no migration is emitted). Refused before any write: removing or renaming a field, changing a type, narrowing an enum, adding a required or unique field, changing unique, changing a reference target, renaming the table — and a rebuild while another table holds a foreign key into this one.packages/modules/<name>/module.state.json. It is the checked-in source of truth for the next evolution, and a hand edit is refused by fingerprint and per-migration checksum.migrations[].CHECK and are re-emitted by every rebuild.Full guide: docs/MODULE_EVOLUTION.md.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/build-commercial-operationsAdd or extend Commercial Operations in an Accordo project - catalog providers, products and price books, quotes with server-priced lines, immutable quote versions, and versioned discount policies with human approval. Use for catalog/quote/discount/CPQ work. Do not use for CRUD module changes (create-crm-module) or lead scoring/routing (build-lead-intelligence)./build-contract-activationAdd or extend contract activation and renewal/amendment execution in an Accordo project - turning a signed immutable Order into a Commercial Contract, Contract Version and Lines, a Subscription with its lines and pending delivery/service obligations through a versioned Order Activation Policy, and executing a governed SUCCESSOR agreement from a later signed Order with immutable lineage. Use for contract, subscription, obligation, activation-policy, renewal, amendment, successor or contract-lineage work, and for building a new optional domain package. Do not use for signature/order work (build-signature-order), catalog/quote/discount work (build-commercial-operations), billing or cancellation (neither exists) or CRUD module changes (create-crm-module)./build-custom-domain-packageCreate or extend a domain package in an Accordo repository - a bounded domain with its own resources, actions, policies, capabilities and schema metadata, registered statically and removable without touching the kernel. Use for "add a custom package", package contract, package dependency/capability, package validation or new-domain work, including customer-specific packages. Do not use for a single custom object (create-crm-module) or one lifecycle step on an existing record (create-crm-workflow).npx claudepluginhub khaoss85/agent-crm --plugin accordo