/outsystems-ai-skills:outsystems-data-modelfrom outsystems-ai-skills
Interviews developers to design OutSystems entities before they are built. Asks one question at a time about business terms, relationships, attributes, and sensitive data, checks against a project glossary and existing model, then writes an entity proposal with decisions and reasons.
Ships in outsystems-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Expensive mistakes are made before the first entity exists: a lookup modelled as a static entity, a reference modelled as many-to-many, an entity in the wrong _CS, two entities for the same concept. This skill settles those decisions in a short interview and writes them down.
On demand only. Start this skill only when the user types
/outsystems-data-modelor explicitly asks for a data model design interview. Agents withoutdisable-model-invocation(Antigravity, Cursor, Codex, Kiro) may load it on their own; if the user did not ask for it, don't start it: say in one line that it is available.
Based on the domain-modeling and grilling skills in Matt Pocock's skills, adapted to OutSystems.
Design only. This skill never creates or changes entities. When the proposal is accepted, outsystems-crud-conventions builds it, only when the user asks.
Decision tables, tests and examples: reference/decisions.md. Output templates: reference/output.md.
Collect what exists, so you don't ask what you can read:
GLOSSARY.md in the project, or the path the user gives. None → you'll create one in step 3.getDataModel (includeJson: "Never") on the _CS modules involved, read-only; otherwise ask for the entity list.
AddDependency lines) are a reuse map: the concept exists, and its owner is named.List the concepts you found and which already exist, and ask the user to confirm the list before the interview.
Details, tables and test questions for each: reference/decisions.md.
| # | Decision | Key rule |
|---|---|---|
| 1 | Name and meaning | One CamelCase singular term with a one-sentence definition; synonyms recorded as "avoid". Reuse before create |
| 2 | Owning module | The _CS (or _MCS) of the concept that owns it, not where it's first used. Never _BL, _CW or _FS |
| 3 | Static or regular | Static when values are known at design time and logic refers to them; regular when users manage them at runtime. Test: "Who adds a new value next month: a developer with a deployment, or a key user?" |
| 4 | Relationships | Foreign key for one-to-many; extension entity for one-to-one; junction A_B only for a real many-to-many. Test: "Can one B belong to two A at the same time?" |
| 5 | Delete rules | Per foreign key: Protect (default), Delete (child can't exist alone), Ignore (rare; record why). Deactivated records keep IsActive and are never deleted |
| 6 | Attributes | Name, type, explicit length or precision, mandatory, default. Names per outsystems-crud-conventions. Repeating values are their own entity. Standard attributes by default |
| 7 | Indexes | Every foreign key; frequent filters and sorts; a unique index for every natural key |
| 8 | Volume, retention, sensitive data | Rows now and in a year (indexes, archive or purge); retention and who deletes; personal data marked, with who may read it |
Ask where to save. Default: docs/data-model/<Feature>.md and GLOSSARY.md at the project root. Use the templates in reference/output.md: entities, attributes, a Mermaid relationship diagram, decisions with reasons, open questions; and one glossary row per term.
Show both to the user and get a yes before writing them. Update the glossary in place; never remove a term without asking.
outsystems-crud-conventions through the Service Studio MCP, only when the user says so, one _CS at a time.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub maiurnarendra/outsystems-ai-skills --plugin outsystems-ai-skills13 skills in this plugin
/outsystems-action-flowsStandards for OutSystems action logic (Server, Client and Service Actions) - singular action names and Get actions in _BL, flow layout (top to bottom, True down, False right, For Each Cycle to the right, straight connectors, Dummy routing), If/Assign/Switch labels, Is/Has Booleans, built-in functions and list actions before loops and JavaScript, descriptions, comments and exceptions. Use when creating, editing or reviewing any OutSystems action logic./outsystems-advanced-sqlFormatting, indentation and safety standards for OutSystems Advanced SQL nodes - uppercase clauses on the left, tab-indented fields, leading commas, explicit INNER JOIN, CamelCase aliases, {Entity}.[Attribute] syntax, parameters and Expand Inline safety. Use when writing, formatting or reviewing SQL inside an OutSystems SQL node./outsystems-architectureOutSystems architecture design rules based on the 3-layer Architecture Canvas (End-user, Core, Foundation) and allowed dependency directions. Use when designing a new OutSystems application, adding a dependency between modules, splitting or merging modules, or reviewing an architecture for violations./outsystems-code-reviewReview the OutSystems code changed for a work item on two independent axes - Standards (the team's naming, layout, CRUD, SQL and architecture rules) and Spec (does it do what the user story or bug asks, no more and no less). Reads modules live from Service Studio through the Service Studio MCP, never edits them, and returns one report with a verdict. Use when the user asks to code-review a work item, user story, bug or set of OutSystems actions before testing or deployment./outsystems-crud-conventionsOutSystems entities and _CS actions - entity and attribute naming (CamelCase, singular, A_B only for many-to-many, Is/Has Booleans), Public and Expose Read Only, static entities, <Entity>_CreateOrUpdate (Source/Id) and <Entity>_Delete wrappers, and specific or bulk actions such as <Entity>_UpdateStatusAll. Use when creating or renaming entities or attributes, or writing actions in a _CS module./outsystems-debuggingDiagnose OutSystems bugs to a confirmed root cause before fixing - runtime errors (Service Center / ODC logs, error IDs), performance (slow screens, queries, timers, integrations) and front-end issues, especially JavaScript in Reactive and Mobile apps. Gathers evidence from logs, the browser and the model (read-only), tests one hypothesis at a time, and reports root cause, fix and regression check. Use when the user reports an error, wrong data, a slow screen or a front-end problem.