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.

referencescommon-mistakes.md

≈702 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.

Common Mistakes

[HIGH] Calling a change release-ready from a subset PASS

Wrong:

npm run verify:browser-matrix -- --browser=chromium   # one engine, subset run
npm run verify:release                                # then claims READY from that run

The matrix run above is a single-engine subset; its report carries a subset marker and an incomplete pass count, so verify:release still fails the runPass === runTotal and subset === false checks (tools/verify/release-readiness.cjs:149). A subset, a Gallery built with COCOSAIR_GALLERY_EXAMPLES, or one passing example never establishes release readiness. See report-layers.md.

[HIGH] Treating an older round's evidence as current

Wrong:

ls -l docs/evidence/ | grep perf-lifecycle   # "the file is here, so perf is verified"

The file's existence says nothing about this run. verify:perf-lifecycle and every browser collector only rewrite their report when they actually execute, so a stale file from a prior candidate still sits on disk. Read the report's timestamp, its recorded source, bundle and contract fingerprints, and its completion marker, and require the exit code of the run that produced it. Evidence from an older revision is historical, not current proof. See gate-catalog.md.

[HIGH] Running a write gate just to learn what it does

Wrong:

npm run verify:api-coverage   # "just to see the output"

That command rewrites api-coverage-report.json under docs/, and verify:v06-gate, verify:browser-matrix, verify:tarball-consumer, verify:perf-lifecycle and verify:g3-dev rewrite their JSON and screenshot artifacts in the shared worktree. To learn a command's behavior, read the AGENTS.md table and gate-catalog.md instead of mutating repo evidence. If a gate must run, check the worktree first and expect its documented writes.

[MEDIUM] Reading a green import, a HEADLESS pass, or a readback as browser proof

Wrong:

npm test -- --runInBand   # then: "the shader renders correctly"

npm test is jsdom plus HEADLESS and validates logic, not GPU output; verify:feature-exports checks scoped feature/export declarations and finite bundle symbol texts, not arbitrary export resolution or drawing; and a matching GPU readback alone is not compositor presentation evidence. Visual features need a real browser gate. Equally, do not report UNSUPPORTED because a probe timed out or produced a black frame - that is a FAIL. See playwright-prereqs.md.

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