/outsystems-ai-skills:outsystems-lifetime-deployfrom outsystems-ai-skills
Promotes OutSystems 11 work items between environments using the LifeTime Deployment API. Reads ready items from Jira, Azure DevOps, GitHub Issues, or none, finds modules in comments, tags versions, and creates a deployment plan with item keys as notes, starting only on user confirmation.
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; scripts run unread.
Turns "these work items are ready for test" into one LifeTime deployment plan, through the LifeTime Deployment API v2 (faster and repeatable compared with clicking through the LifeTime UI). Works with any work tracker: everything specific to a team lives in a local config file, never in this skill.
On demand only. Start this skill only when the user types
/outsystems-lifetime-deployor explicitly asks to create or check a deployment. 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.
Read the config before anything else, in this order:
OUTSYSTEMS_DEPLOY_CONFIG environment variable;.outsystems/lifetime-deploy.json in the current project;~/.outsystems-ai-skills/lifetime-deploy.json.If none exists, copy config.example.json to option 3, ask the user to fill it in, and stop. Keep it outside the skill folder so reinstalling the skills never overwrites it.
| Key | Meaning |
|---|---|
lifetime.url | LifeTime host, e.g. https://<factory>-lt.outsystemsenterprise.com |
lifetime.tokenEnvVar | Name of the environment variable holding a LifeTime service account token |
lifetime.sourceEnvironment / targetEnvironment | Environment names exactly as in LifeTime |
lifetime.forbiddenTargets | Environments this skill must never deploy to (Pre-Production, Production) |
tracker.type | jira, azure-devops, github or none (keys given by the user) |
tracker.readyQuery | Query that returns the items ready to deploy (JQL, WIQL, gh search) |
tracker.onlyAssignedToMe | true = skip items (and linked bugs) assigned to someone else |
statuses.failed / statuses.readyOrLater | Optional: include a failed story when all its linked bugs are ready or later |
afterDeploy | Optional: status and assignee changes after a successful deployment. Missing or null = change nothing |
How to read and update items for each tracker: reference/trackers.md.
Token: never print, log, echo or ask for the token value. If the variable is empty, tell the user to create a service account in LifeTime (User Management > Service Accounts) and set the variable themselves.
tracker.readyQuery (or use the keys the user gave). Apply onlyAssignedToMe to the items and to their linked bugs; list what was left out and why.statuses.failed is set: a story in that status is included only when every linked bug is in statuses.readyOrLater. Otherwise list the blocking bugs._CS, _BL, _CW, _API, _IS, _MCS, _MBL, … see outsystems-module-naming).LifeTime deploys applications, not modules.
scripts/lifetime.ps1 -Action find-modules -Modules Order_BL,Order_API
Shows each module's application and its version in source and target. + after the source version = untagged changes. Same version in both, no + = nothing to deploy for that app. Report unmatched names and ask.
+: tag once with the next version (last number + 1: 0.24 → 0.25, 1.9 → 1.10); check -Action app-versions first. -Action tag -AppKey <key> -Version <v> -Notes "<item keys>".-Action plan -VersionKeys k1,k2 -Notes "ORD-12 ORD-15".
Notes = only the work item keys, separated by a space. No descriptions.-Action plan-info -DeploymentKey <key>: check conflicts and apps to redeploy. If a dependency app has untagged changes by someone else, don't add it silently: ask.Report a table (application | source → tag | target now | work items), the plan link, open questions. Stop: the plan is saved, not started.
-Action start -DeploymentKey <key> (starts with RedeployOutdated=true, so consumers of changed Core apps are republished), then -Action status every ~60 s. Plans with Core apps can take 10–30 min.
Start returns 400 "Command 'start' can't be executed":
| Situation | Do |
|---|---|
-Action running lists a deployment to the target | Only one deployment per environment runs at a time: wait for it, then retry |
| Nothing running, still 400 | The saved plan is stale (the target changed after it was saved). Create a new plan with the same version keys and notes and start that one. Leave the old plan; tell the user its key |
On success: apply afterDeploy from the config (status by target name, assignee by id or reporter). Nothing configured = change nothing. Post tracker comments only when the user asks, and show the text first.
On errors or warnings: report the log; change nothing in the tracker.
forbiddenTargets; refuse if the config's target is one of them.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 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.npx claudepluginhub maiurnarendra/outsystems-ai-skills --plugin outsystems-ai-skills