/outsystems-ai-skills:outsystems-crud-conventionsfrom outsystems-ai-skills
Enforces OutSystems entity and CRUD naming conventions: CamelCase singular entities, A_B for many-to-many, Is/Has booleans, Public/Expose Read Only, and _CreateOrUpdate/_Delete wrappers in _CS modules.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Core rules. Good/bad naming tables are in reference/examples.md; the _CreateOrUpdate flow, _DeleteAll SQL and specific-action examples in reference/flows.md.
_CS actions, whatever language the user writes in (see outsystems-action-flows, "Language: English only").Customer, CustomerAddress, OrderLine. No plurals, abbreviations or technical prefixes (Customers, tbl_Customer, Cust)._: User_Role, Product_Category._ means many-to-many only. Never project prefixes like Sales_Customer: it reads as a junction between Sales and Customer. The module already says which project it belongs to.Every entity, regular or static: Public = Yes, Expose Read Only = Yes. Other modules write only through the _CS actions, never through the built-in entity actions.
Static in the _CS Data tab.Id with Is AutoNumber = No, so Ids are stable across environments.Public = Yes, Expose Read Only = Yes.Draft, Submitted), referenced by record (Entities.OrderStatus.Draft), never by hard-coded Id._CreateOrUpdate / _Delete wrappers: records are defined at design time.IsActive. Service Studio creates Is_Active: rename it right away; reviews report existing Is_Active._CS actionsAll writes go through public actions in the entity's _CS, named <Entity>_<Operation>:
| Action | Input | Output |
|---|---|---|
Customer_CreateOrUpdate | Source (record of Customer, mandatory) | Id (Customer Identifier) |
Customer_Delete | Id (Customer Identifier, mandatory) | (none) |
User_Role_CreateOrUpdate, User_Role_Delete._Create / _Update wrappers. The record input is always Source, the identifier input always Id.Public = Yes; no Success / ErrorMessage outputs (raise a User Exception, see outsystems-action-flows); every input and output has a Description._BL. Get actions belong in _BL too.Specific update and delete actions may sit in the same _CS when a process needs a narrower or bulk change: Invoice_UpdateStatus, Invoice_UpdateStatusAll, Invoice_DeleteAll.
<Entity>_<Verb><What>, with All at the end when it changes many rows.UpdatedOn / UpdatedBy in the same statement and takes a BatchSize input when a timer runs it in batches (see outsystems-timers)._DeleteAll only when a process must empty the table (sync reloads, purges); SQL node DeleteAll<Entity> with a header comment, per outsystems-advanced-sql._CreateOrUpdate flowDiagram in reference/flows.md.
Source first (raise <Entity>ValidationException).CreateOrUpdate<Entity>: branch on Source.Id <> NullIdentifier() in an If labelled Is existing record?.UpdatedOn = CurrDateTime(), UpdatedBy = GetUserId(), call Update<Entity>. Keep the original CreatedOn / CreatedBy: if Source may not carry them, read the record with Get<Entity>ForUpdate and copy them across.CreatedOn / CreatedBy and UpdatedOn / UpdatedBy (same values), call Create<Entity>.Get<Entity>ForUpdate output is reached through the entity name: GetCustomerForUpdate.Record.Customer.CreatedOn, not GetCustomerForUpdate.Record.CreatedOn (Service Studio reports "Can't identify 'CreatedOn' element").Id.| Attribute | Type | Notes |
|---|---|---|
Id | Long Integer (auto-number) | Default identifier |
IsActive | Boolean | Default True |
CreatedOn / UpdatedOn | Date Time | Set by the wrapper; both filled on create |
CreatedBy / UpdatedBy | User Identifier | Set by the wrapper; both filled on create |
PhoneNumber, Tag); a list of values is its own entity.Is / Has; foreign keys are <ReferencedEntity>Id.Name, not CustomerName inside Customer).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
outsystems, entity-naming, crud-conventions, cs-module, data-modeling
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-data-modelDesign OutSystems entities before they are built. Interviews the developer one question at a time (business terms, owning _CS module, static vs regular entity, relationships and many-to-many, delete rules, attributes, indexes, volume, sensitive data), checks the terms against a project glossary and the existing data model, and writes an entity proposal with the decisions and their reasons. Use when the user wants to design, model or plan new entities or a data model for an OutSystems feature, before creating them./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.