Skip to content

skills: a published project-process skill for metadata apps — areas and grades, first touch, which document at which stage, testing and acceptance #35218

Closed

Description

@objectstack-fleet

repo:hotcrm#3 · os-warren · session_01JQwxbXSZrwmusBcL7dnLQf

Part of objectstack-ai/hotcrm#2661 (child 5 of the hotcrm priorities rollout objectstack-ai/hotcrm#2656), item 7.

Why

Maintainer rulings, verbatim (2026-11-18, hotcrm priorities thread):

  • 16:09Z 「这个项目中的很多做法应该是元数据项目的最佳实践,是不是应该写到平台的skills中,跟着技能安装到元数据项目中国呢」
  • 16:10Z 「ok」
  • 16:14Z 「这个skills是整个元数据项目的核心指引,用 fable 综合评估一下需要些什么」

The 12 published skills teach how to write metadata. None teaches how to run a metadata-app project. Today the scaffold and the skills disagree on how an app tests itself: skills/objectstack-platform/references/operations.md teaches LiteKernel, while the scaffold's sample test uses @objectstack/verify bootStack (packages/create-objectstack/src/templates/blank/note.test.ts). No skill mentions @objectstack/verify.

Scope below follows an independent review. The review is in the project files; its verdicts are restated here.

v1 — skills/objectstack-project (process domain, SKILL.md under ~200 lines)

  1. Two opening questions. Does this belong in the app or in the platform? Is the app for own use, or a product shipped to customers? The heavier parts apply only to a product; the light path is the default.
  2. Stage × document table. This is the skeleton: requirement, design, card, build, test and acceptance, user docs, release, upgrade.
  3. Test boundary. The app pins business facts with @objectstack/verify. It does not hand-write checks the platform derives. The skill lists what this version's os validate, os lint and verify actually check, so an agent never skips a check nobody runs. Plugin tests stay in objectstack-platform; one home per rule (skills: one home per rule — the same rule written in three skills, "moved verbatim" stubs in data and upgrade SKILL.md, an undocumented user-invocable frontmatter key, and <!-- os:check --> coverage of 1/63 (platform) and 0/42 (query) example blocks #31112).
  4. Platform gaps. Never worked around in the app. File the card upstream; the app card waits until the fix is released into the app's pin.
  5. Changes written for customers. Release notes come from changesets. A breaking change says from what to what, which platform version it needs, and the customer's steps.
  6. Bumping the pin and data migration. Bump @objectstack/* together, re-sync the skills, sweep the waiting cards. Backfill scripts run before the upgrade, only through REST, and report by default (hotcrm's 8 scripts/backfill-*.ts). Retiring app tests once a platform check takes over follows hotcrm's RETIRED markers.
  7. Pointers to the 12 domain skills.

Scaffold, same epic

  • ci.yml runs pnpm test. Today it does not, although the README tells users to.
  • The template AGENTS.md gets five lines pointing at the skill. Its hand-written skill table goes; it lists 9 of 12 skills. Copilot and Cursor read only AGENTS.md.
  • A three-line PR template: what a user can do now, how it was checked, whether the docs changed.
  • No empty docs/PRIORITIES.md or docs/requirements/. The skill carries the templates and creates them the first time they are needed, for new and old apps alike.

Later

  • references/triage.md: areas, first touch and grades as a fill-in.
  • references/growth.md: growing from one package to an app plus modules.
  • A docs-site guide whose stage table is generated from the skill.
  • A tag-time changeset check as a platform command.
  • A reusable workflow.

Not published

  • Seats, pm:* states, Tier and review levels, reach: lines: fleet machinery.
  • A/B/C/D dispositions as a general requirement.
  • hotcrm's own standards (three-locale docs, one e2e per chain) and any hotcrm area content.

Open

  • Grade and when it runs: for the maintainer.
  • Unverified: whether experimental_sync brings a newly added skill into an installed app. Check this on a real app first.
  • skills/** is governed: Tier H, os-zhuang approves.

Done when

  • @objectstack/skills ships the skill with its evals.
  • A freshly scaffolded app runs its tests in CI and its AGENTS.md points at the skill.
  • hotcrm's docs/PRIORITIES.md keeps only hotcrm's own content.

Activity

  1. added
    priority:p2
    domain:skills
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:hotcrm#3 · os-warren · session_01JQwxbXSZrwmusBcL7dnLQf

    Grade p2 → p1, by the maintainer's hand (2026-11-18 16:21Z). He chose 「p1,放进专题现在派」 on the decision card 「元数据项目流程 skill(#35218)什么时候做?」. Earlier he called it 「这个skills是整个元数据项目的核心指引」 (16:14Z).

    This is a manual grade: triage and seats do not change it. Which epic it goes in, and which seat runs it, is being settled with the coordinator. Scope is the body's "v1" section, plus the scaffold items. skills/** is Tier H (os-zhuang approves).

  3. added
    priority:p1
    and removed
    priority:p2
    on Nov 18, 2026
  4. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#35205#2 · os-warren · session_01JQwxbWfVxrJ6N3xZaG1Eoe

    Claim: card thread 2026-11-18T16:25Z
    Session: session_01JQwxbWfVxrJ6N3xZaG1Eoe
    Account: os-warren
    Branch: claude/project-thread-xrqhmc (a project thread can push only its assigned branch, a measured platform exception to claude/issue-<n>-<slug>)
    Worktree: objectstack clone in the thread container, on that branch
    Domain: domain:skills
    Seat: epic:#35205#2 (this thread owns the card itself; objectstack seat 1 is scoped to other cards)
    File surface: skills/objectstack-project/** (new), skills/README.md, packages/create-objectstack/src/templates/** (CI, AGENTS.md pointer, PR template), packages/create-objectstack tests, and the generated skill index/docs the gates name. Stop on breach.
    Container & model: M, mode:thread, model: the thread session default (the scope review was done separately), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6984511842
    Premise: holds — v1 scope = the body's "v1" and "Scaffold, same epic" sections; the review it rests on is in the project files
    Serial constraints cleared: none (no open PR or claim on skills/objectstack-project, the template AGENTS.md or the template ci.yml)
    Epic: sub-issue of #35205. The maintainer chose 「p1,放进专题现在派」 on the decision card (2026-11-18T16:21Z); the coordinator opened this thread for it.

    Tier: skills/** and the template files under it make this PR Tier H; it lands only on an authorized approval (os-zhuang).

  5. added
    pm:dispatched
    on Nov 18, 2026
  6. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#35205#2 · os-warren · session_01JQwxbWfVxrJ6N3xZaG1Eoe

    PR #35221 (part of this card) is ACCEPT + contract review PASS on ffab0f10 and waits for os-zhuang's approval. Two deviations from this card's wording, both accepted in the review:

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

Metadata

Metadata

Assignees

Labels

area:builddomain:skillspm:dispatchedpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions