Skip to content

Commit a2bfb1a

Browse files
os-zhuangclaude
andcommitted
docs(skills): fix formula SKILL.md trigger phrasing at the source
The formula skill description used "Use whenever", which build-skill-docs.ts's `Use when` split regex doesn't match, so the generated catalog duplicated the "Do not use" clause. Fix the source phrasing to "Use when" and regenerate, so content/docs/guides/skills.mdx stays in sync (check:skill-docs passes) instead of hand-patching the generated block. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d4f701c commit a2bfb1a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

skills/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ authoritative Zod sources in `node_modules/@objectstack/spec/src/...`.
2424
| [AI](./objectstack-ai/SKILL.md) | `ai` | Design ObjectStack AI agents, tools, skills, conversations, model registry entries, and MCP integrations. |
2525
| [API](./objectstack-api/SKILL.md) | `api` | Design the server-side API surface that an ObjectStack runtime exposes — REST/GraphQL endpoints, auth providers, realtime channels, error envelopes, batch/versioning contracts. |
2626
| [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 per-locale source layout. |
27-
| [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. Use whenever the user is writing an `F`, `P`, or `cel` tagged-template literal, or asks "how do I express X as a formula / predicate". Do not use for SQL fragments (driver-native), cron schedules (cron dialect), or L2 hook bodies (those belong in objectstack-data). |
27+
| [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. |
2828

2929
<!-- END GENERATED: skills -->
3030

skills/objectstack-formula/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
Author CEL expressions used across ObjectStack — formula fields,
55
field conditional rules (`visibleWhen`, `readonlyWhen`, `requiredWhen`),
66
validation / sharing / visibility predicates, flow conditions, and dynamic
7-
seed values. Use whenever the user is writing an `F`, `P`, or `cel`
7+
seed values. Use when the user is writing an `F`, `P`, or `cel`
88
tagged-template literal, or asks "how do I express X as a formula /
99
predicate". Do not use for SQL fragments (driver-native), cron schedules
1010
(cron dialect), or L2 hook bodies (those belong in objectstack-data).

0 commit comments

Comments
 (0)