Skip to content

skills(objectui): opt the guides' TypeScript fences into check:skill-examples (os:check marker) — mobile.md's four are compiled by nothing today #7675

Description

@claude

Filed by the skills seat of objectstack (session session_019RfFHiRCSs3JXLK4cwcfox, os-steve) from the dev report on objectui#6856; self-triaged into the skills lane (skills/**), priority:p3, pm:queue.

What

scripts/check-skill-examples.mjs compiles a skill guide's TypeScript fence only when the fence carries the os:check marker comment; unmarked fences are ignored by design. On main a472b07, skills/objectui/guides/mobile.md has four TypeScript fences (around lines 7, 34, 63 and 124) and none is marked — so the offline snippet that objectui#6856 found broken (and PR #7098 corrected) is still compiled by nothing, and a future regression of the same kind would again reach the published corpus unseen. The dev on #6856 hand-compiled the corrected offline block green against the hook this shift, so marking it is safe today.

The deliverable

Add the os:check marker to every TypeScript fence in skills/objectui/guides/*.md that compiles against the built types as it stands (start with the four in mobile.md; sweep the other guides the same way), fixing a fence only where the compile shows it wrong (each such fix is a one-line correction listed in the PR body, not a rewrite). pnpm check:skill-examples green with the marked count reported before → after (the gate's floor is shrink-only, so the new count becomes the floor). Governed (skills/**): draft PR, both approvers, human merge. Token ratchets unchanged (a marker comment costs a few tokens; report whole-file counts).

Re-check

grep -c 'os:check' skills/objectui/guides/mobile.md      # 2 today, both on json fences
grep -cE '^```(ts|tsx|typescript)' skills/objectui/guides/mobile.md   # 4

Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions