Index of every page on this site: llms.txt
All skills
oahc09 avatar

/cocosair-verification

@ed38648
by oahc09oahc09/cocosairjs3 stars
2
Run it yourself

Choose verification gates and assess browser/package evidence, write behavior and fingerprints. Use to validate changes, distinguish FAIL/UNSUPPORTED or check release readiness.

  • 9 files
  • 38.8 KB
  • MIT
  • Updated last month
  • GitHub
Use this Skill: https://skilld.dev/gh/oahc09/cocosairjs/cocosair-verification

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescontracts.md

≈914 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Derived from the cocosair-verification skill and its canonical docs/source pointers; reorganized on 2026-10-11. Source annotations below identify repository inputs, not files guaranteed to ship to npm consumers.

Contracts

Three report layers, and each layer is independent evidence (docs/reference/verification.md):

  1. Source-export claim. A symbol appears in the export surface and the API inventory. Coverage reports call this claimed. Check the intended entry's current declaration exports and inventory. Typecheck checks source types and does not establish public export membership.
  2. Default-bundle reachability. The name resolves through the actual export/import surface of the built default entry. verify:feature-exports and verify:custom-exports check scoped structural invariants and do not prove arbitrary symbol resolution. A successful bundle plus a Node import does not establish visual correctness.
  3. Real-browser behavior. A running page passes scene, pixel, interaction and lifecycle assertions in the browsers tested. Coverage requires a PASS with matching spec, source and candidate fingerprints and an apiProof array; each counted API needs its own proof: 'verified' entry. Report via: 'call' separately from via: 'read'. See report-layers.md.

Write gates versus read-only gates:

  • Read-only (terminal output plus exit code, no canonical repo writes): verify:web-only, verify:file-map, verify:licenses, verify:doc-refs, verify:wasm-backends, verify:custom-exports, verify:feature-exports, verify:example-chain, verify:port-evidence (with --selftest), verify:release. verify:doc-refs writes a report only with an explicit output option; verify:release needs a clean Git worktree (see gate-catalog.md).
  • Write gates (rewrite repository content despite the verify name): verify:api-coverage rewrites api-coverage-report.json under docs/; verify:v06-gate rewrites the v06-review-gate.json under docs/evidence/ and build/reports/v06-final-gate.md under build/reports/; and the browser evidence collectors verify:browser-matrix, verify:perf-lifecycle, verify:tarball-consumer and verify:g3-dev each rewrite their JSON plus screenshots. Full table in gate-catalog.md.

Evidence binding and subset semantics: check exit code, timestamp, completion/subset markers and all applicable fingerprints. A subset PASS is never release readiness. specFingerprint covers the normalized spec only, but coverage also checks sourceFingerprint and candidateFingerprint: editing example source invalidates the old coverage evidence and requires a rerun. The current implementation in tools/examples/coverage-report.cjs governs this check; older spec-only prose in docs is historical. See report-layers.md and gate-catalog.md.

Playwright prerequisites: Playwright is not a project dependency here, so browser gates resolve it through NODE_PATH or a PWCLI wrapper, and a passing npm install does not establish that the browser binaries are present or start. HEADLESS Jest produces no pixel evidence, and a matching GPU readback on its own is not compositor presentation evidence (playwright-prereqs.md).

UNSUPPORTED versus FAIL: capability absence is recorded as UNSUPPORTED only after capability discovery has actually run and reported the gap. A launch failure, shader compile error, timeout or black-screen output is a FAIL, not UNSUPPORTED (tools/verify/graphics-and-dom.cjs:127 catches a launch or probe throw as status: 'FAIL').

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ed38648. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month
layer
subsystem
All 1 allowed tools
Read Bash
Other metadata
compatibility
Cocos AIR source checkout or installed cocosair.js package. Browser rendering requires WebGL 2; source tooling requires Node.js >=18. Use the host-provided tools and user-authorized workspace.
when_to_use
[
  "choose focused gates for a changed contract",
  "check whether a verify command writes files",
  "verify package imports or actual browser behavior",
  "check report fingerprints and coverage scope",
  "assess release readiness without trusting stale evidence"
]
owns
[
  "verification-gates",
  "evidence-layers",
  "source-fingerprints",
  "browser-proof",
  "package-validation",
  "release-readiness"
]
not_for
[
  "package installation and setup -> cocosair-project-setup",
  "live-session inspection and probes -> cocosair-agent-session",
  "draw-call optimization -> cocosair-performance"
]
metadata
{
  "author": "oahc09@gmail.com",
  "version": "1.0.0",
  "last-updated": "2026-10-13",
  "description_zh": "选择并解释 AIR 验证门禁、写行为、指纹和逐 API 证据。用于验证改动、包消费、浏览器行为或发布候选。"
}

README badge

README badge for oahc09/cocosairjs/cocosair-verification