| name | code-review |
|---|---|
| description | PR and release checklist for cli-cm-regex-validate (security, packaging, CI, messages) |
- Reviewing a pull request for this repo
- Preparing a release or verifying packaging and CI alignment
- Confirm tests and lint pass locally (CI runs
pnpm testonly; seeAGENTS.md); no secrets in commits; pluginfilesandprepackremain consistent; workflows aligned with Node version used in CI.
Open skills/code-review/ when reviewing PRs or before release (or point your agent at this folder if supported).
- Changes match the intended behavior for
cm:stacks:validate-regex(flags, prompts, stack connection, CT/GF selection). - No API keys, management tokens, or secrets in code or tests; Talisman/Snyk hooks still make sense for local workflow.
- New user-visible strings added to
messages/index.jsonundervalidateRegex(avoid hard-coded copy in production paths).
-
pnpm testpasses locally. - New behavior covered by
test/utils/tests and/ortest/data/fixtures where appropriate. - Mocks used for Management SDK and filesystem; no accidental live stack calls in unit tests.
- ESLint passes (
pnpm run lint). Note: CI does not run ESLint — onlypnpm testin.github/workflows/unit-test.yml; lint must pass locally before merge. - TypeScript changes respect
strictand project conventions (seetsconfig.json,.eslintrc, andAGENTS.md).
-
package.jsonfilesincludes what ships (lib,bin,oclif.manifest.json,messages, etc.). -
buildscript still runstsc,oclif manifest, andoclif readmeas needed for the plugin. - Version bumps follow team process; release workflow (e.g. push to
main) matches.github/workflows/release.ymlexpectations.
- Unit test workflow exercises
pnpm teston a supported Node version (see.github/workflows/unit-test.yml). Expect Jest only there — notposttest/ESLint unless you add a separate workflow. - SCA / policy workflows unchanged or intentionally updated; no silent downgrade of security checks.
- README or command examples updated if flags or behavior changed.