/outsystems-ai-skills:outsystems-module-namingfrom outsystems-ai-skills
Enforces OutSystems module naming conventions with layer suffixes (_CS, _BL, _Eng, _CW, _FS, _IS, _TH, _Lib, _API, and mobile variants). Use when creating, renaming, or reviewing modules, applications, or libraries.
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.
None: SKILL.md is the whole skill.
Every module name tells the reader two things: which business domain it belongs to and which architecture layer it sits in. The suffix encodes the layer; the agent must never create a module without one (End-user modules excepted, see below).
<Domain>[<SubDomain>]_<Suffix>
Domain is CamelCase, singular, business-meaningful and in English: Customer, Order, Invoice (not Cliente_CS). Never technical words like Common, Utils, Misc, Stuff.Customer2_CS is wrong; version through LifeTime/ODC, not names).ACME_Customer_CS. Pick one rule per factory and apply it everywhere.| Suffix | Layer | Contents | Mobile variant |
|---|---|---|---|
(none) or _Portal / _Backoffice | End-user | Screens, flows, UI for one user persona or app. Consumes Core; exposes nothing. | _App / _Mobile |
_Eng | Core | Engine: complex calculations and report generation for a domain, and the recurrent timers that drive them. Sits above _BL (and so above _CS). | n/a |
_CW | Core | Core Widgets: reusable business blocks (e.g. CustomerCard). No Get actions. | _MCW |
_BL | Core | Business Logic: Get actions (GetStructure, GetStructureById), processes, orchestration, rules spanning several entities. | _MBL |
_CS | Core | Core Services: entities (exposed read-only), their _CreateOrUpdate / _Delete wrappers, and specific update or delete actions on those entities (Invoice_UpdateStatusAll). No Get actions, no logic across domains. | _MCS |
_API | Core | Exposed REST/SOAP APIs for external consumers. No business logic, only calls _BL/_CS. | n/a |
_Sync | Core | Offline synchronisation logic for mobile. | n/a |
_IS | Foundation | Integration Services: wraps one external system (REST consume, SOAP, SAP, DB connection). | n/a |
_FS | Foundation | Foundation Services: reusable services agnostic to the business model (e.g. email sending, file handling, PDF generation). No entities holding data. | n/a |
_Lib | Foundation | Libraries / extensions / generic utilities (string, date, crypto). | n/a |
_TH | Foundation | Theme: layouts, CSS, menu. | _MTH |
_Pat | Foundation | UI patterns: generic, business-agnostic widgets. | _MPat |
An M at the start of the suffix means mobile: _MCS, _MBL, _MCW, _MTH, _MPat are the mobile counterparts of _CS, _BL, _CW, _TH, _Pat. Suffixes are written exactly as in this table (_TH, not _Th or _th).
Mobile variants exist because Client-side entities, Client Actions and offline sync differ from Reactive Web. Do not mix mobile-only elements into the web module of the same name.
_CS (or _MCS for local storage). Never define entities in _BL, _CW or End-user modules._CS module owns one business concept and its closely related entities (e.g. Order + OrderLine). Split when a module grows beyond one concept._CS holds only entities, their _CreateOrUpdate / _Delete wrappers, and specific update or delete actions on its own entities (Invoice_DeleteAll, Invoice_UpdateStatusAll; see outsystems-crud-conventions). Get actions (GetStructure, GetStructureById, GetStructureBy<Input>) go in _BL, never in _CS or _CW._CS belongs in _BL._FS, _Lib, _IS, _Pat, _TH)._FS modules are agnostic to the business model: they never contain entities with data and never reference Core modules. They receive everything they need through action inputs._Eng is for heavy work: complex calculations and report generation, plus the recurrent timers that drive them. Ordinary recurrent timers go in the domain's _BL. See outsystems-timers.TimerEngine, with no suffix like an End-user module, holding all of the factory's temporary timers. Nothing references it.TimerControl_CS (optional) holds a shared TimerCheckpoint entity (checkpoint and kill switch) for long-running timers. Create it only when the factory has no such entity under another name; ask first._IS module. Normalise its data into your own structures there, with only the attributes the application needs; never let the external structure leak into Core. See outsystems-integrations.In ODC, modules become apps and libraries. Keep the same suffixes:
_Lib, _TH, _Pat, generic _IS) are usually libraries._CS/_BL that own data are apps (entities can't live in libraries).| Good | Bad | Why |
|---|---|---|
Customer_CS | CustomerCore | Missing standard suffix |
Billing_BL | Billing_BL_v2 | Version in name |
Salesforce_IS | Integrations_IS | One system per _IS |
DateTime_Lib | Utils | No domain, no suffix |
Billing_Eng | BillingCalc, Billing_Engine | Standard suffix, written exactly _Eng |
TimerEngine | Timers_BL, Temp_Timers | One app for one-off timers, nothing references it |
CustomerPortal | Customer_UI_Final | End-user names describe the app, not the state |
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-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.