You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5ed945b
Browse filesBrowse the repository at this point in the historyBrowse files
skills: the six metadata skills trigger on what the user is doing, not on TypeScript file names (#35709)
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9D4n2wzAmmp4Z6W5jsqtM2qx)_
Part of #34769
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 用户能看到什么变化:通过 MCP
搭应用、手里没有项目文件的人,向助手提「加个对象」「做个看板」「到期自动提醒」这类需求时,对应的六个建模技能更容易被助手加载;以前这些技能主要靠文件名触发。
- 为什么做:属于「MCP 二期与问数」这条线,让不写代码的搭建者也能用上技能包。
- 出错会怎样:新描述若把相邻任务误吸进来,助手会多加载一个不相干的技能,多花一点上下文;撤回本次改动即可恢复。
- 要你做什么:无(这张卡的「前后触发率对比」还欠着,要等评测工具支持「只跑触发用例」之后补测,所以本次合并不关卡)。
## What changes
Frontmatter `description:` of the six metadata skills only; no skill
body line changes. Each description now
- leads with the task in the user's words, "in a project or through MCP"
(`objectstack-query` names MCP in its use-when clause instead: a query
is not authored metadata);
- keeps file names (`*.object.ts`, `*.flow.ts`, `*.view.ts`,
`*.translation.ts`) as a secondary cue inside the "Use when" sentence;
- ends with a "Not for" clause that names the neighbouring bundle. Every
name is a directory under `skills/`: `objectstack-data`, `-query`,
`-automation`, `-platform`, `-ui`, `-api`, `objectui`.
| Skill | Chars before | Chars after | Leads with | Not for |
|:--|--:|--:|:--|:--|
| `objectstack-data` | 689 | 448 | Design or change an ObjectStack data
model, in a project or through MCP | querying records
(objectstack-query), flows or approvals (objectstack-automation), or
plugin hooks (objectstack-platform). |
| `objectstack-ui` | 849 | 447 | Build what users see in an ObjectStack
app, in a project or through MCP | objects and fields
(objectstack-data), screen flows that branch between steps
(objectstack-automation), or `@object-ui/*` React code (objectui). |
| `objectstack-automation` | 575 | 432 | Automate an ObjectStack app, in
a project or through MCP | validation rules or record hooks on an object
(objectstack-data), or kernel / plugin events (objectstack-platform). |
| `objectstack-formula` | 570 | 450 | Write a CEL expression wherever
ObjectStack takes one, in a project or through MCP | ObjectQL query
filters (objectstack-query), SQL fragments, or hook bodies
(objectstack-data). |
| `objectstack-i18n` | 527 | 439 | Translate an ObjectStack app, in a
project or through MCP | i18n libraries outside ObjectStack bundles, or
`@object-ui/*` component strings (objectui). |
| `objectstack-query` | 432 | 435 | Write an ObjectQL query over
ObjectStack records | adding objects or fields (objectstack-data), a
list view's filter or a dashboard dataset (objectstack-ui), or designing
an API endpoint (objectstack-api). |
Character counts are the YAML-parsed folded scalar, trimmed (code
points).
<details><summary>The six descriptions in full</summary>
**objectstack-data** (448)
> Design or change an ObjectStack data model, in a project or through
MCP: objects, fields, relationships, validation rules, indexes, record
hooks, permissions, seed / demo data, external datasources, and field
`visibleWhen` / `requiredWhen` rules. Use when modelling records or
editing `*.object.ts` / `src/data/*.ts`. Not for querying records
(objectstack-query), flows or approvals (objectstack-automation), or
plugin hooks (objectstack-platform).
**objectstack-ui** (447)
> Build what users see in an ObjectStack app, in a project or through
MCP: list / form / kanban / calendar views, navigation, pages,
dashboards, reports, charts, action buttons and package docs. Use when
changing a screen, menu, chart or button, or editing `*.view.ts` /
`*.page.ts` / `*.app.ts`. Not for objects and fields (objectstack-data),
screen flows that branch between steps (objectstack-automation), or
`@object-ui/*` React code (objectui).
**objectstack-automation** (432)
> Automate an ObjectStack app, in a project or through MCP: act when a
record is created or changes, on a schedule or from a webhook;
approvals, notifications, assignment rules, and screen flows / wizards
that branch between steps. Use when the request is "when X happens, do
Y" or you are editing `*.flow.ts`. Not for validation rules or record
hooks on an object (objectstack-data), or kernel / plugin events
(objectstack-platform).
**objectstack-formula** (450)
> Write a CEL expression wherever ObjectStack takes one, in a project or
through MCP: formula fields, `visibleWhen` / `requiredWhen` rules,
validation, sharing and visibility predicates, flow conditions, seed
values, Salesforce formulas ported to CEL. Use when asked how to express
a condition or calculation, or writing an `F`, `P` or `cel` literal. Not
for ObjectQL query filters (objectstack-query), SQL fragments, or hook
bodies (objectstack-data).
**objectstack-i18n** (439)
> Translate an ObjectStack app, in a project or through MCP: object and
field labels, select options, view, navigation and dashboard text,
automation messages; add a locale, and find and fill missing keys (`os
i18n check`). Use when adding a language, relabelling for a locale, or
editing `*.translation.ts` or a `translation` metadata item. Not for
i18n libraries outside ObjectStack bundles, or `@object-ui/*` component
strings (objectui).
**objectstack-query** (435)
> Write an ObjectQL query over ObjectStack records: filter, sort,
paginate, aggregate by group, expand related records, full-text search.
Use when writing a query in app code or a hook, choosing a pagination
strategy, or shaping a records query or aggregation sent over MCP. Not
for adding objects or fields (objectstack-data), a list view's filter or
a dashboard dataset (objectstack-ui), or designing an API endpoint
(objectstack-api).
</details>
Two generated mirrors move with the frontmatter, by `pnpm --filter
@objectstack/spec gen:skill-docs`: the index table in `skills/README.md`
and the cards in `content/docs/ai/skills-reference.mdx`. They are
outside the claimed file surface and are in this PR because
`check:skill-docs` reds without them (measured: exit 1 before the
regeneration, exit 0 after).
Net added lines, whole PR, changeset included: **68 added, 89 deleted,
net -21** (`git diff --numstat origin/main...HEAD` at `5bfdd7f51c`,
unchanged at `0b30f98b31`; budget 30).
Token ratchet (`node scripts/check-skills-token-ratchet.mjs`, exit 0):
no ceiling row is edited. Standing ruling 6513306068 「A:先削重复,余额按实测提高」 is
met by its first half alone: the restated trigger lists were cut and
nothing is left to raise.
| File | Tokens before | Tokens after | Ceiling (unchanged) |
|:--|--:|--:|--:|
| `skills/objectstack-data/SKILL.md` | 6709 | 6646 | 6710 |
| `skills/objectstack-ui/SKILL.md` | 2272 | 2167 | 2272 |
| `skills/objectstack-automation/SKILL.md` | 7045 | 7008 | 7045 |
| `skills/objectstack-formula/SKILL.md` | 6008 | 5976 | 6008 |
| `skills/objectstack-i18n/SKILL.md` | 6332 | 6308 | 6333 |
| `skills/objectstack-query/SKILL.md` | 4596 | 4596 | 5547 |
Whole shipped bundle: 280730 tokens before, 280469 after. Whole files in
lines, before to after: data 476 to 472, ui 168 to 161, automation 478
to 476, formula 493 to 491, i18n 523 to 521, query 439 to 439. All
`SKILL.md` in the catalog together: 4861 lines before, 4844 after.
Read first: `skills/objectstack-query/SKILL.md` (the one description
that names MCP for a non-authoring task; risk hunk is its "sent over
MCP" clause next to `objectstack-ask`), then
`skills/objectstack-ui/SKILL.md` and
`skills/objectstack-automation/SKILL.md` (the wizard / screen-flow
boundary sits in both "Not for" and lead).
Two-minute check: `pnpm --filter @objectstack/spec check:skill-docs &&
node scripts/check-skills-token-ratchet.mjs` prints `Skill docs in sync`
and `59 authored bundle file(s) within their ceilings`.
## Evals
No model round was run, by order. Read against each bundle's
`evals/triggers.json` (5 positives, 2 negatives each):
- every positive is named by the lead or the use-when clause (for
example data 4 "demo data", data 5 a conditional field rule, automation
2 "on a schedule", automation 4 "wizards that branch between steps",
formula 2 "Salesforce formulas ported to CEL", i18n 4 `os i18n check`,
query 3 "aggregation sent over MCP");
- every in-product negative is named by a "Not for" clause that points
at the owning bundle (data 6 to `objectstack-query`, ui 6 to
`objectstack-automation`, automation 6 to `objectstack-data`, formula 6
to `objectstack-query`, query 6 to `objectstack-data`, query 7 to
`objectstack-ui`);
- the out-of-product negatives (plain PostgreSQL, plain React, GitHub
Actions, Excel, react-i18next, `Intl.NumberFormat`) meet a description
whose every clause says ObjectStack; the formula text deliberately does
not say "Excel".
## Verification
Gates below ran at head `5bfdd7f51c`. The current head `0b30f98b31` adds
one commit that changes one line of the changeset ("432 to 450"
characters, the measured lengths); no description, mirror or ratchet row
moved, and CI is green on it (33 success, 15 skipped, 0 failed). The
diff touches no package source, so there is no dependency-closure build.
<details><summary>Derived gate list: 74 families, 65 exit 0, 9 NOT
MEASURED</summary>
`node scripts/pm/dispatch-gates.mjs --commands` derived 74 commands;
`--ran` reconciliation: `74 derived, 74 run, 0 UNRUN`.
Exit 0, verdict lines:
- `check:skill-docs`: `Skill docs in sync`
- `check-skills-token-ratchet`: `59 authored bundle file(s) within their
ceilings; 11 generator-owned file(s) and 39 eval fixture(s) measured,
not ratcheted.`
- `check:skill-identifier-liveness`: `OK — Leg 1: 545 citation(s) over
74 published file(s)`
- `check:skill-links`: `269 relative link(s) in 74 published skill
file(s) resolve`
- `check:skill-compatibility`, `check:skill-frame-sync`,
`check:skill-served-sections`, `check:doc-authoring`,
`check:doc-frontmatter`, `check:role-word`, `check:nul-bytes`,
`check:published-files`, `check-empty-changeset`,
`check-changeset-no-major`, `check-adr-0087-registration` and the rest
of the list: exit 0.
NOT MEASURED, reason: prerequisite not built in this worktree (each gate
printed its own PREREQUISITE NOT MET or missing-tree refusal); CI owns
them:
- exit 3: `check:doc-formula-expressions`, `check:doc-security-posture`,
`check:skill-examples`, `check:docs-transcript-drift`,
`check:dts-closure`, `check:dual-build-cjs-loads`,
`check:lean-entry-closure`, `check:sourcemap-no-sources-content`
- exit 1 with `packages/spec/json-schema is missing`: `check:docs`
</details>
- `node packages/skills/scripts/sync-catalog.mjs --self-test`: exit 0,
`9 cases pass`.
- `node scripts/pm/overlap-check.mjs --branch=claude/area-a4A-34769`:
`VERDICT clean exit 0` against main and the three PRs sharing these
files.
- The six frontmatter blocks parse with a YAML parser to a single-line
scalar ending in the "Not for" clause.
## Acceptance notes
- **Done-when measurement is owed, after #35705** (the
trigger-cases-only runner flag). Before = `--skills-from` the
`@objectstack/skills` version current at merge; after = the workspace;
same weakest tracked model; trigger cases only. Until that reading
exists the card stays open, which is why this PR says "Part of".
- The docs generator splits a description at "Use when" and "Do not
use". A "Not for" ending is not a split point, so in the Skills
reference each of these six cards shows the use-when and the not-for
clause as one paragraph (as `objectstack-project` already does). Text is
verbatim; only the paragraph break is gone. Not changed here: the
generator is outside this card.
- `objectstack-query` trigger case 3 (a business question asked over
MCP, expected to load the query skill) sits inside what
`objectstack-ask` claims as its own ("every question answered from the
app's records"). The new query text keeps that positive plausible ("a
records query or aggregation sent over MCP") and so does not name
`objectstack-ask` in its "Not for". Which of the two owns that request
is for the eval seat to read off the measurement.
- Dropped from the descriptions, still taught in the bodies: the "load
objectstack-formula alongside" pointer (data, ui, automation), the ADR
numbers and source tiers of pages, the `defineJob` / `defineWebhook`
spellings, `readonlyWhen` in the data list, and the
stepped-form-over-one-object note in ui.
- `content/docs/ai/skills.mdx` and the prose example in
`skills/README.md` quote an older `objectstack-data` description as an
illustration of the frontmatter shape; they are hand-written and were
already different from the live text. Left as they are.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- signed: repo:objectstack#4 · os-elon-musk ·
session_016WV4d1ZJL93Kin2UHFXbFv -->
---------
Co-authored-by: Claude <noreply@anthropic.com>
docs(skills): the `description` of `objectstack-data`, `-ui`, `-automation`, `-formula`, `-i18n` and `-query` now leads with what the user is doing ("design or change a data model, in a project or through MCP"), keeps the `*.object.ts`-style file names as a secondary cue, and ends with a "Not for" clause naming the neighbouring skill. An agent building through MCP has no project files, so a description that triggered on file names never loaded the skill. Each is 432 to 450 characters (432 to 849 before). No skill body changes; the README index and the Skills reference page are regenerated from the new text.
Copy file name to clipboardExpand all lines: content/docs/ai/skills-reference.mdx
+18-30Lines changed: 18 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,14 +52,14 @@ ObjectStack ships **13 skills** — one per authoring domain, plus process skill
52
52
| # | Skill | Domain | Path | What it covers |
53
53
| :--- | :--- | :--- | :--- | :--- |
54
54
| 1 |[Platform](#platform)|`platform`|`skills/objectstack-platform/`| Bootstrap, configure, extend, and operate ObjectStack runtimes. Covers project setup (`defineStack`, drivers, scaffolding), declaring platform capabilities (`requires:` — which service plugins boot), plugin and service development (PluginContext, DI, kernel hooks like `kernel:ready`), and operations (CLI commands, migrations, deployment, test harnesses via LiteKernel). |
55
-
| 2 |[Data](#data)|`data`|`skills/objectstack-data/`| Design ObjectStack data schemas — objects, fields, relationships, validations, indexes, hooks, security, seeds and datasources. |
| 4 |[UI](#ui)|`ui`|`skills/objectstack-ui/`|Author ObjectStack UI metadata — Views (list/form/kanban/calendar/gantt), Apps (navigation), Pages (structured plus the HTML and React source-authoring tiers, ADR-0080/0081), Dashboards, Reports, Charts, Actions, and package Docs (`src/docs/*.md`). |
58
-
| 5 |[Automation](#automation)|`automation`|`skills/objectstack-automation/`|Design ObjectStack automation — Flows (visual logic), Triggers, Approvals, state machines, and the `jobs` (`defineJob`) / `webhooks` (`defineWebhook`) stack collections. |
55
+
| 2 |[Data](#data)|`data`|`skills/objectstack-data/`| Design or change an ObjectStack data model, in a project or through MCP: objects, fields, relationships, validation rules, indexes, record hooks, permissions, seed / demo data, external datasources, and field `visibleWhen` / `requiredWhen` rules. |
56
+
| 3 |[Query](#query)|`query`|`skills/objectstack-query/`|Write an ObjectQL query over ObjectStack records: filter, sort, paginate, aggregate by group, expand related records, full-text search. |
57
+
| 4 |[UI](#ui)|`ui`|`skills/objectstack-ui/`|Build what users see in an ObjectStack app, in a project or through MCP: list / form / kanban / calendar views, navigation, pages, dashboards, reports, charts, action buttons and package docs. |
58
+
| 5 |[Automation](#automation)|`automation`|`skills/objectstack-automation/`|Automate an ObjectStack app, in a project or through MCP: act when a record is created or changes, on a schedule or from a webhook; approvals, notifications, assignment rules, and screen flows / wizards that branch between steps. |
59
59
| 6 |[AI](#ai)|`ai`|`skills/objectstack-ai/`| Design ObjectStack AI skills, tools, knowledge sources, and the open-edition MCP server surface. |
60
60
| 7 |[API](#api)|`api`|`skills/objectstack-api/`| Design the server-side API surface that an ObjectStack runtime exposes — REST endpoints, auth providers, realtime channels, error envelopes, batch contracts. |
61
-
| 8 |[i18n](#i18n)|`i18n`|`skills/objectstack-i18n/`|Author ObjectStack translation bundles — object/field labels, view text, app navigation strings, automation messages — and configure locale fallback, coverage reporting, and the source layout. |
62
-
| 9 |[Formula](#formula)|`expression`|`skills/objectstack-formula/`|Author CEL expressions used across ObjectStack — formula fields, field conditional rules (`visibleWhen`, `readonlyWhen`, `requiredWhen`), validation / sharing / visibility predicates, flow conditions, and dynamic seed values. This is the companion skill that objectstack-data, -ui, -api and -automation each tell you to load alongside them. |
61
+
| 8 |[i18n](#i18n)|`i18n`|`skills/objectstack-i18n/`|Translate an ObjectStack app, in a project or through MCP: object and field labels, select options, view, navigation and dashboard text, automation messages; add a locale, and find and fill missing keys (`os i18n check`). |
62
+
| 9 |[Formula](#formula)|`expression`|`skills/objectstack-formula/`|Write a CEL expression wherever ObjectStack takes one, in a project or through MCP: formula fields, `visibleWhen` / `requiredWhen` rules, validation, sharing and visibility predicates, flow conditions, seed values, Salesforce formulas ported to CEL. |
63
63
| 10 |[Upgrade](#upgrade)|`process`|`skills/objectstack-upgrade/`| Upgrade an ObjectStack metadata project across a protocol major — run the deterministic conversion chain, then work the semantic residue the chain cannot express (intent choices, custom code on retired APIs, stale prose) to a decision with the project's owner, and finish with a green `validate` plus a human-readable upgrade report. |
64
64
| 11 |[Ask](#ask)|`process`|`skills/objectstack-ask/`| Answer a business question over a live ObjectStack environment through its MCP tools (list_datasets, query_dataset, list_objects, describe_object, query_records, aggregate_records): find the governed metric the question names, compute it and cite its source, or fall back to an object query and say so. |
65
65
| 12 |[Project](#project)|`process`|`skills/objectstack-project/`| Run an ObjectStack metadata-app project: decide whether a change belongs in the app or the platform, what to write before building, what the app tests and what the platform already checks, how a change is described for customers, released and upgraded. |
@@ -85,11 +85,9 @@ Do not use for data schema design (see objectstack-data) or query patterns (see
Design ObjectStack data schemas — objects, fields, relationships, validations, indexes, hooks, security, seeds and datasources.
88
+
Design or change an ObjectStack data model, in a project or through MCP: objects, fields, relationships, validation rules, indexes, record hooks, permissions, seed / demo data, external datasources, and field `visibleWhen` / `requiredWhen` rules.
89
89
90
-
Use when the user is creating or modifying `*.object.ts` files or `src/data/*.ts` seed modules, picking field types, modelling relationships, writing `beforeInsert`/`afterUpdate` hooks, configuring per-object access control, pointing an object at an existing external database, or authoring bootstrap / demo data. Use for `visibleWhen` / `readonlyWhen` / `requiredWhen` rules that belong on fields.
91
-
92
-
Do not use for querying data (see objectstack-query) or for plugin / kernel hooks (see objectstack-platform). CEL expressions: load objectstack-formula alongside.
90
+
Use when modelling records or editing `*.object.ts` / `src/data/*.ts`. Not for querying records (objectstack-query), flows or approvals (objectstack-automation), or plugin hooks (objectstack-platform).
Use when the user is writing a query DSL expression or picking a pagination strategy.
100
+
Write an ObjectQL query over ObjectStack records: filter, sort, paginate, aggregate by group, expand related records, full-text search.
105
101
106
-
Do not use for defining objects / fields / relationships (see objectstack-data), for designing the API endpoint that exposes a query (see objectstack-api), or for a list view's filter rules / dashboard datasets (see objectstack-ui).
102
+
Use when writing a query in app code or a hook, choosing a pagination strategy, or shaping a records query or aggregation sent over MCP. Not for adding objects or fields (objectstack-data), a list view's filter or a dashboard dataset (objectstack-ui), or designing an API endpoint (objectstack-api).
@@ -113,11 +109,9 @@ Do not use for defining objects / fields / relationships (see objectstack-data),
113
109
114
110
**Domain**`ui` · **Path**`skills/objectstack-ui/`
115
111
116
-
Author ObjectStack UI metadata — Views (list/form/kanban/calendar/gantt), Apps (navigation), Pages (structured plus the HTML and React source-authoring tiers, ADR-0080/0081), Dashboards, Reports, Charts, Actions, and package Docs (`src/docs/*.md`).
117
-
118
-
Use when the user is adding `*.view.ts` / `*.page.ts` / `*.app.ts` / `*.dashboard.ts` / `*.report.ts` / `*.dataset.ts` / `*.action.ts` / `src/docs/*.md` files or designing a Studio-rendered UI surface.
112
+
Build what users see in an ObjectStack app, in a project or through MCP: list / form / kanban / calendar views, navigation, pages, dashboards, reports, charts, action buttons and package docs.
119
113
120
-
Do not use for: data schema (see objectstack-data), multi-step flows that BRANCH on logic between steps (those are `*.flow.ts`with `type: 'screen'` — see objectstack-automation; a stepped form over ONE object is this skill's `formViews``type: 'wizard'`), or Studio's own admin UI (that ships with the platform). CEL expressions in visibility/conditional rules: load objectstack-formula alongside.
114
+
Use when changing a screen, menu, chart or button, or editing `*.view.ts` / `*.page.ts`/ `*.app.ts`. Not for objects and fields (objectstack-data), screen flows that branch between steps (objectstack-automation), or `@object-ui/*` React code (objectui).
Design ObjectStack automation — Flows (visual logic), Triggers, Approvals, state machines, and the `jobs` (`defineJob`) / `webhooks` (`defineWebhook`) stack collections.
124
+
Automate an ObjectStack app, in a project or through MCP: act when a record is created or changes, on a schedule or from a webhook; approvals, notifications, assignment rules, and screen flows / wizards that branch between steps.
131
125
132
-
Use when the user is adding `*.flow.ts`, wiring an event-driven rule, modelling an approval chain, or building an interactive screen flow / wizard (objectstack-ui routes those here).
133
-
134
-
Do not use for data lifecycle hooks at the object layer (see objectstack-data) or for kernel / plugin events (see objectstack-platform). CEL expressions in flow conditions / edge guards: load objectstack-formula alongside.
126
+
Use when the request is "when X happens, do Y" or you are editing `*.flow.ts`. Not for validation rules or record hooks on an object (objectstack-data), or kernel / plugin events (objectstack-platform).
Author ObjectStack translation bundles — object/field labels, view text, app navigation strings, automation messages — and configure locale fallback, coverage reporting, and the source layout.
173
-
174
-
Use when the user is adding `*.translation.ts` files, authoring a `translation` metadata item in the Studio or through the metadata API, shipping a generated bundle from a package or plugin, wiring a new locale, or resolving missing-translation warnings.
164
+
Translate an ObjectStack app, in a project or through MCP: object and field labels, select options, view, navigation and dashboard text, automation messages; add a locale, and find and fill missing keys (`os i18n check`).
175
165
176
-
Do not use for general i18n library questions unrelated to ObjectStack bundles.
166
+
Use when adding a language, relabelling for a locale, or editing `*.translation.ts` or a `translation` metadata item. Not for i18n libraries outside ObjectStack bundles, or `@object-ui/*` component strings (objectui).
Author CEL expressions used across ObjectStack — formula fields, field conditional rules (`visibleWhen`, `readonlyWhen`, `requiredWhen`), validation / sharing / visibility predicates, flow conditions, and dynamic seed values. This is the companion skill that objectstack-data, -ui, -api and -automation each tell you to load alongside them.
187
-
188
-
Use when the user is writing an `F`, `P`, or `cel` tagged-template literal, or asks "how do I express X as a formula / predicate".
176
+
Write a CEL expression wherever ObjectStack takes one, in a project or through MCP: formula fields, `visibleWhen` / `requiredWhen` rules, validation, sharing and visibility predicates, flow conditions, seed values, Salesforce formulas ported to CEL.
189
177
190
-
Do not use for SQL fragments (driver-native) or L2 hook bodies (those belong in objectstack-data).
178
+
Use when asked how to express a condition or calculation, or writing an `F`, `P` or `cel` literal. Not for ObjectQL query filters (objectstack-query), SQL fragments, or hook bodies (objectstack-data).
Copy file name to clipboardExpand all lines: skills/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,14 +45,14 @@ apps too).
45
45
| Skill | Domain | What it covers |
46
46
|:------|:-------|:---------------|
47
47
|[Platform](./objectstack-platform/SKILL.md)|`platform`| Bootstrap, configure, extend, and operate ObjectStack runtimes. Covers project setup (`defineStack`, drivers, scaffolding), declaring platform capabilities (`requires:` — which service plugins boot), plugin and service development (PluginContext, DI, kernel hooks like `kernel:ready`), and operations (CLI commands, migrations, deployment, test harnesses via LiteKernel). |
48
-
|[Data](./objectstack-data/SKILL.md)|`data`| Design ObjectStack data schemas — objects, fields, relationships, validations, indexes, hooks, security, seeds and datasources. |
|[UI](./objectstack-ui/SKILL.md)|`ui`|Author ObjectStack UI metadata — Views (list/form/kanban/calendar/gantt), Apps (navigation), Pages (structured plus the HTML and React source-authoring tiers, ADR-0080/0081), Dashboards, Reports, Charts, Actions, and package Docs (`src/docs/*.md`). |
51
-
|[Automation](./objectstack-automation/SKILL.md)|`automation`|Design ObjectStack automation — Flows (visual logic), Triggers, Approvals, state machines, and the `jobs` (`defineJob`) / `webhooks` (`defineWebhook`) stack collections. |
48
+
|[Data](./objectstack-data/SKILL.md)|`data`| Design or change an ObjectStack data model, in a project or through MCP: objects, fields, relationships, validation rules, indexes, record hooks, permissions, seed / demo data, external datasources, and field `visibleWhen` / `requiredWhen` rules. |
49
+
|[Query](./objectstack-query/SKILL.md)|`query`|Write an ObjectQL query over ObjectStack records: filter, sort, paginate, aggregate by group, expand related records, full-text search. |
50
+
|[UI](./objectstack-ui/SKILL.md)|`ui`|Build what users see in an ObjectStack app, in a project or through MCP: list / form / kanban / calendar views, navigation, pages, dashboards, reports, charts, action buttons and package docs. |
51
+
|[Automation](./objectstack-automation/SKILL.md)|`automation`|Automate an ObjectStack app, in a project or through MCP: act when a record is created or changes, on a schedule or from a webhook; approvals, notifications, assignment rules, and screen flows / wizards that branch between steps. |
52
52
|[AI](./objectstack-ai/SKILL.md)|`ai`| Design ObjectStack AI skills, tools, knowledge sources, and the open-edition MCP server surface. |
53
53
|[API](./objectstack-api/SKILL.md)|`api`| Design the server-side API surface that an ObjectStack runtime exposes — REST endpoints, auth providers, realtime channels, error envelopes, batch contracts. |
54
-
|[i18n](./objectstack-i18n/SKILL.md)|`i18n`|Author ObjectStack translation bundles — object/field labels, view text, app navigation strings, automation messages — and configure locale fallback, coverage reporting, and the source layout. |
55
-
|[Formula](./objectstack-formula/SKILL.md)|`expression`|Author CEL expressions used across ObjectStack — formula fields, field conditional rules (`visibleWhen`, `readonlyWhen`, `requiredWhen`), validation / sharing / visibility predicates, flow conditions, and dynamic seed values. This is the companion skill that objectstack-data, -ui, -api and -automation each tell you to load alongside them. |
54
+
|[i18n](./objectstack-i18n/SKILL.md)|`i18n`|Translate an ObjectStack app, in a project or through MCP: object and field labels, select options, view, navigation and dashboard text, automation messages; add a locale, and find and fill missing keys (`os i18n check`). |
55
+
|[Formula](./objectstack-formula/SKILL.md)|`expression`|Write a CEL expression wherever ObjectStack takes one, in a project or through MCP: formula fields, `visibleWhen` / `requiredWhen` rules, validation, sharing and visibility predicates, flow conditions, seed values, Salesforce formulas ported to CEL. |
56
56
|[Upgrade](./objectstack-upgrade/SKILL.md)|`process`| Upgrade an ObjectStack metadata project across a protocol major — run the deterministic conversion chain, then work the semantic residue the chain cannot express (intent choices, custom code on retired APIs, stale prose) to a decision with the project's owner, and finish with a green `validate` plus a human-readable upgrade report. |
57
57
|[Ask](./objectstack-ask/SKILL.md)|`process`| Answer a business question over a live ObjectStack environment through its MCP tools (list_datasets, query_dataset, list_objects, describe_object, query_records, aggregate_records): find the governed metric the question names, compute it and cite its source, or fall back to an object query and say so. |
58
58
|[Project](./objectstack-project/SKILL.md)|`process`| Run an ObjectStack metadata-app project: decide whether a change belongs in the app or the platform, what to write before building, what the app tests and what the platform already checks, how a change is described for customers, released and upgraded. |
0 commit comments