Skip to content

Commit 4116465

Browse files
docs(skills): the UI skill says a default or create form an action opens by name is not reported (#37544)
<!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuKGddwBcChMgB9UWGoWTjCr)_ Part of #36798 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:用界面技能写应用的 AI,不再被告知「默认表单和新建表单一律会被检查报出」;动作按名字打开的那一张不报,并且照常加载。 - 为什么做:检查规则三天前已经改了,技能文字没跟上,AI 可能据此删掉一张还在用的表单。 - 出错会怎样:只改一段说明文字,写错了 AI 会按错的说法写应用;撤回这次合并即可恢复原文。 - 要你做什么:这是对外发布的技能包,需要你批准后才能合并。 ## What changes `skills/objectstack-ui/rules/list-views.md`, "Form Views": one passage, four lines before and four after. - Before: a container's `form`, `formViews.default` and `formViews.create` "still parse and steer nothing", and `os validate` warns `form-view-internal-not-loaded`, with no exception. - After: the warning is stated with its exception. A form that a `type: 'form'` action's literal `target` names is not reported, and it loads as a named form. This follows the rule as merged in PR #36793: `validateInternalFormViews` in `packages/lint/src/validate-internal-form-views.ts` skips a site whose served name equals the literal target of a `type: 'form'` action, and an interpolated target exempts nothing. The parenthesis listing what an internal form no longer steers (sections, tabs, steps, `subforms`, `defaults`, `modalSize`) is deleted to pay for the new words. The file sat at its token ceiling with no headroom. The card keeps this file in a pull request of its own because `skills/**` is a governed surface. The two docs pages and the two checklist items of the same card are in the sibling pull request on branch `claude/project-thread-i00g76`. This one is `Part of` so that neither closes the card before the other lands. ## Skills size readings | Reading | Before (5dbcc02) | After (adb46e8) | |:---|:---|:---| | `skills/objectstack-ui/rules/list-views.md`, lines | 411 | 411 | | `skills/objectstack-ui/rules/list-views.md`, bytes | 17767 | 17789 | | `skills/objectstack-ui/rules/list-views.md`, tokens (ratchet count) | 4442 | 4448 (ceiling 4448) | | All `skills/*/SKILL.md`, lines | 4961 | 4961 | | Ratcheted authored bundle, tokens | 199596 | 199602 (ceiling sum 204471) | Net lines added: 0. The order's budget was 3. ## Tests No test pins this passage. `git grep` for the old wording under `skills/`, `content/docs/` and the package tests finds no other copy. ## Acceptance notes - Read first: the one hunk in `skills/objectstack-ui/rules/list-views.md`. The risk is the deleted parenthesis: the skill no longer lists which keys an internal form stops steering. - "These load:" replaces "Two kinds of form view load:". The two kinds that follow, a named form and a public form, are unchanged. - The changeset carries both declaration lines. No claim comment existed when this was opened, so the two lines above are copied from the changeset, not from a claim. ## Verification Two-minute check: `node scripts/check-skills-token-ratchet.mjs` prints `skills/objectstack-ui/rules/list-views.md is 4448 tokens (ceiling 4448; headroom 0)` and exits 0. <details> <summary>Local gates at adb46e8: 48 derived commands, 43 exit 0, 5 exit 3 (prerequisite not met)</summary> Derived with `node scripts/pm/dispatch-gates.mjs --commands` (no paths) on the committed head. Each exit code was captured before any pipe. Exit 0: `check-adr-0087-registration` (and its self-test), `check-changeset-no-major`, `check-closing-keyword-parity` (and self-test), `check-comment-mask-corpus`, `check-doc-route-spelling --advisory` (and self-test), `check-dts-emitted --self-test`, `check-empty-changeset` (and self-test), `check-skills-token-ratchet` (and self-test), the four `scripts/ci` self-tests, `check-governed-queue-guard --self-test`, `release-rehearsal-clone --self-test`, `release-pending-publish --self-test`, `check:skill-served-sections`, `check:adr-anchors`, `check:agent-test-spelling`, `check:changeset-gate-self-tests`, `check:ci-filter-parity`, `check:closed-ceremony-text`, `check:corpus-claim-drift`, `check:cross-package-test-inputs`, `check:doc-authoring`, `check:driver-memory-census`, `check:gitlink-declared`, `check:nul-bytes`, `check:pm-expected-skips`, `check:pm-governed-merges`, `check:pm-skill-id-lint`, `check:published-files`, `check:refd-timer-probe`, `check:role-word`, `check:skill-compatibility`, `check:skill-frame-sync`, `check:skill-identifier-liveness`, `check:skill-links`, `check:watch-hint-literal`. NOT MEASURED, exit 3, reason: no package was built in this worktree and each reads a `dist/`. The diff is prose only, so no closure was built for them; CI runs them. `check:doc-formula-expressions` (lint), `check:dts-closure`, `check:dual-build-cjs-loads`, `check:lean-entry-closure`, `check:sourcemap-no-sources-content`. </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01L6bhgXJJCTibebb55zV7AZ)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent c385d3b commit 4116465

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): the UI skill says a default or create form an action opens by name still loads and is not reported
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
objectstack-ui `rules/list-views.md` "Form Views" said `os validate` warns `form-view-internal-not-loaded` on every container `form`, `formViews.default` and `formViews.create`. The rule leaves out one that a `type: 'form'` action's literal `target` names, because the Console still loads that form where the action opens it. The passage now says so, and that such a form loads as a named form. The list of what an internal form no longer steers (sections, tabs, steps, `subforms`, `defaults`, `modalSize`) is dropped to pay for the new words: the file stays at its token ceiling and its line count is unchanged.

‎skills/objectstack-ui/rules/list-views.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,9 @@ following each field's own rules. Authored there:
359359
[Record Presentation](./navigation.md#record-presentation--surface-width--columns-are-auto-derived).
360360

361361
A container's `form`, `formViews.default` and `formViews.create` still parse
362-
and steer nothing (sections, tabs, steps, `subforms`, `defaults`, `modalSize`);
363-
`os validate` warns `form-view-internal-not-loaded`. Two kinds of form view
364-
load:
362+
and steer no create or edit form; `os validate` warns
363+
`form-view-internal-not-loaded` unless a `type: 'form'` action's literal
364+
`target` names it: it loads as a named form. These load:
365365

366366
**A named form** is a `formViews` entry under any other key, registered as
367367
`OBJECT.key`; an action of `type: 'form'` whose `target` is that name opens it

0 commit comments

Comments
 (0)