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).
- Full validation:
npm test— itspretestlifecycle compiles tests, type-checks, lints, builds both bundles, and runs application unit and integration tests. - Production build:
npm run package— required when verifying a release artifact; this repeats the compile checks as part of packaging. For a release, also runnpm run vsixand check thatnpm run vsce -- ls --no-dependencies(in PowerShell, quote the separator:'--') lists onlydist/,media/,l10n/,examples/,docs/CHANGELOG.md,docs/images/*.png, and the rootpackage.json,package.nls*.json, README, and LICENSE files. Eachl10n/bundle.l10n.<locale>.jsonhas a matchingpackage.nls.<locale>.json. - Multi-surface edit parity: when chart and form both edit entities, verify they route through the same shared workflow contract and parity scenarios pass.
- Branch coverage ≥ 90%: verify coverage; if unavailable, confirm every new branch (conditionals, switch cases, error paths) has a covering test.
- Localization: every user-facing string is externalized via
vscode.l10n.t()/nlsand package NLS keys — no raw literals in messages, command titles, or view names.npm run check:l10npasses (part ofcompile); review its warnings with thelocalizationskill. - JSDoc: every class, method, and member (public and private) is documented.
- Manifest sanity:
contributes(customEditors, views, commands, menus) is consistent with the code;activationEventsandmainare correct; the webview CSP uses a nonce and loads only fromdist/. - Boundaries: no
vscode/Node imports incommon/,services/, orwebview/(delegate to the Architecture Guard agent if unsure). - Changelog: the change has an entry under
## [Unreleased]indocs/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
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wait-what
Stop. That last message did not land: re-pitch it.
ux-css-layout
VS Code (and so Ganttee) CSS conventions, file organization, class naming, standard sizes, scrollable content, responsive layout, and text overflow/ellipsis patterns. Use when writing CSS, building layouts, or fixing text truncation issues.
to-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
spec-router
Detect which spec-lifecycle agent a request needs (drafting, reviewing, implementing, or test planning a feature spec) and suggest the handoff — never acts without confirmation. Use whenever a message mentions a spec/feature-spec file, a roadmap status, or spec review/implementation/ draft/test-plan intent, even without an explicit @agent mention.