AGENT SKILL

release-readiness

Run the Ganttee pre-merge / pre-release quality gate. Use before merging a PR, cutting a release, or when asked to verify a change is ready to ship. Checks types, lint, build, tests, coverage, localization, JSDoc, and the extension manifest.

License 许可
AGPL-3.0
所属仓库
sergehas/ganttee
最近更新
2026-11-08
Stars
★ 1
Forks
0

01 前言 Front Matter

name
release-readiness
description
Run the Ganttee pre-merge / pre-release quality gate. Use before merging a PR, cutting a release, or when asked to verify a change is ready to ship. Checks types, lint, build, tests, coverage, localization, JSDoc, and the extension manifest.
argument-hint
optional: PR or change description

03 SKILL.md 正文

Release Readiness

A pre-merge quality gate for the Ganttee extension. Run these checks and report a clear PASS/FAIL with the failing items.

When to Use

  • Before merging a pull request or cutting a release.
  • When asked "is this ready to ship?" or to run the quality gate.

Procedure

Run each step; stop and report on the first hard failure (types/lint/build/tests).

  1. Full validation: npm test — its pretest lifecycle compiles tests, type-checks, lints, builds both bundles, and runs application unit and integration tests.
  2. Production build: npm run package — required when verifying a release artifact; this repeats the compile checks as part of packaging. For a release, also run npm run vsix and check that npm run vsce -- ls --no-dependencies (in PowerShell, quote the separator: '--') lists only dist/, media/, l10n/, examples/, docs/CHANGELOG.md, docs/images/*.png, and the root package.json, package.nls*.json, README, and LICENSE files. Each l10n/bundle.l10n.<locale>.json has a matching package.nls.<locale>.json.
  3. Multi-surface edit parity: when chart and form both edit entities, verify they route through the same shared workflow contract and parity scenarios pass.
  4. Branch coverage ≥ 90%: verify coverage; if unavailable, confirm every new branch (conditionals, switch cases, error paths) has a covering test.
  5. Localization: every user-facing string is externalized via vscode.l10n.t() / nls and package NLS keys — no raw literals in messages, command titles, or view names. npm run check:l10n passes (part of compile); review its warnings with the localization skill.
  6. JSDoc: every class, method, and member (public and private) is documented.
  7. Manifest sanity: contributes (customEditors, views, commands, menus) is consistent with the code; activationEvents and main are correct; the webview CSP uses a nonce and loads only from dist/.
  8. Boundaries: no vscode/Node imports in common/, services/, or webview/ (delegate to the Architecture Guard agent if unsure).
  9. Changelog: the change has an entry under ## [Unreleased] in docs/CHANGELOG.md.

Output Format

A checklist with ✅/❌ per item, the exact failing command output for any ❌, and a final verdict (unchanged): READY or NOT READY with the blocking items listed. Rank and render those blocking items using the shared severity scale in reporting-standard.instructions.md (🟣 critical → 🔵 nice to have, in that order).

04 同仓库更多 Skills