Release and publish workflow
Public repository metadata
- For a public repository, the agent MUST set the GitHub
Description, Topics, and Homepage fields.
- A public repository MUST contain:
.github/workflows/ci.yml,
issue templates, a PR template, SECURITY.md,
CONTRIBUTING.md, CODE_OF_CONDUCT.md, and CHANGELOG.md.
- CI MUST run the repository's standard lint, test, and build
commands.
Versioning and release flow
- The agent MUST update version metadata when release content
changes and MUST keep the package version and the Git tag
consistent.
- When asked to choose a version, the agent MUST decide it
itself.
- When bumping a version, the agent MUST create the GitHub
Release and publish the package in the same update.
- For npm publishing in metyatech-owned packages, the agent MUST
execute
npm publish directly. An automation token is
configured.
- For other packages, the agent MUST ask the user to run
npm publish.
- Before publishing, the agent MUST run required prep commands
(
npm install, npm test, npm pack --dry-run, etc.) and
MUST proceed only when ready.
- If authentication fails during publish, the agent MUST ask the
user to complete the publish step.
- The agent MUST run dependency security checks before release,
MUST address critical issues, and MUST report results.
Post-publish verification
After publishing, the agent MUST update any locally installed
copy to the newly published release and MUST verify the resolved
version. The agent MUST NOT report "done" until this verification
completes (or the user explicitly declines).
The agent MUST express the verification as explicit acceptance
criteria with outcomes (PASS / FAIL / N/A) and evidence:
- AC1 (registry) — verify the published version exists in
the registry (e.g.,
npm view <pkg> version).
- AC2 (fresh install) — verify the latest package resolves
and runs (e.g.,
npx <pkg>@latest --version).
- AC3 (global update, if applicable) — if the package is
installed globally, update it to the published version and
verify (e.g.,
npm ls -g <pkg> --depth=0,
npm i -g <pkg>@latest, then <cmd> --version). If AC3 does
not apply, the agent MUST mark it N/A and state the reason
explicitly.
For npm CLIs:
- If installed globally: check
npm ls -g <pkg> --depth=0,
update via npm i -g <pkg>@latest, then verify with
<pkg> --version.
- If not installed globally: skip the global update and verify
availability via
npx <pkg>@latest --version (or the
ecosystem-equivalent).
Standard repository topics
The agent MUST assign topics from the standard set below. Every
repository MUST have at least one standard topic when applicable.
A repository that does not match any standard topic MUST use
descriptive topics relevant to its domain.
agent-skill — repository contains a SKILL.md (an
installable agent skill).
agent-tool — CLI tool or MCP server used by agents (e.g.,
task-tracker, agents-mcp, compose-agentsmd).
agent-rule — rule source or ruleset repository (e.g.,
agent-rules).
unreal-engine — Unreal Engine plugin or sample project.
qti — QTI assessment ecosystem tool or library.
education — course content, teaching materials, or
student-facing platform.
docusaurus — Docusaurus plugin or extension.
Additional descriptive topics (language, framework, domain
keywords) MAY be added freely alongside standard topics. The
agent MUST review and update the standard topic set when the
repository landscape changes materially. The agent MUST verify
topics are set as part of the new-repository compliance gate.
Published artifact requirements
- The agent MUST populate package metadata (name, description,
repository, issues, homepage, engines).
- The agent MUST validate executable entrypoints and required
shebangs so installed commands work.
- If a repository represents a single tool or product, the agent
MUST publish a single package (bundling related scripts).
1---2name: release-publish3description: Use when preparing a release, publishing a package, bumping a version, or configuring public repository metadata. Also use when verifying a published package. Do not use for general development or non-release tasks.4---56# Release and publish workflow78## Public repository metadata910- For a public repository, the agent MUST set the GitHub11 Description, Topics, and Homepage fields.12- A public repository MUST contain: `.github/workflows/ci.yml`,13 issue templates, a PR template, `SECURITY.md`,14 `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, and `CHANGELOG.md`.15- CI MUST run the repository's standard lint, test, and build16 commands.1718## Versioning and release flow1920- The agent MUST update version metadata when release content21 changes and MUST keep the package version and the Git tag22 consistent.23- When asked to choose a version, the agent MUST decide it24 itself.25- When bumping a version, the agent MUST create the GitHub26 Release and publish the package in the same update.27- For npm publishing in metyatech-owned packages, the agent MUST28 execute `npm publish` directly. An automation token is29 configured.30- For other packages, the agent MUST ask the user to run31 `npm publish`.32- Before publishing, the agent MUST run required prep commands33 (`npm install`, `npm test`, `npm pack --dry-run`, etc.) and34 MUST proceed only when ready.35- If authentication fails during publish, the agent MUST ask the36 user to complete the publish step.37- The agent MUST run dependency security checks before release,38 MUST address critical issues, and MUST report results.3940## Post-publish verification4142After publishing, the agent MUST update any locally installed43copy to the newly published release and MUST verify the resolved44version. The agent MUST NOT report "done" until this verification45completes (or the user explicitly declines).4647The agent MUST express the verification as explicit acceptance48criteria with outcomes (PASS / FAIL / N/A) and evidence:4950- **AC1 (registry)** — verify the published version exists in51 the registry (e.g., `npm view <pkg> version`).52- **AC2 (fresh install)** — verify the latest package resolves53 and runs (e.g., `npx <pkg>@latest --version`).54- **AC3 (global update, if applicable)** — if the package is55 installed globally, update it to the published version and56 verify (e.g., `npm ls -g <pkg> --depth=0`,57 `npm i -g <pkg>@latest`, then `<cmd> --version`). If AC3 does58 not apply, the agent MUST mark it N/A and state the reason59 explicitly.6061For npm CLIs:6263- If installed globally: check `npm ls -g <pkg> --depth=0`,64 update via `npm i -g <pkg>@latest`, then verify with65 `<pkg> --version`.66- If not installed globally: skip the global update and verify67 availability via `npx <pkg>@latest --version` (or the68 ecosystem-equivalent).6970## Standard repository topics7172The agent MUST assign topics from the standard set below. Every73repository MUST have at least one standard topic when applicable.74A repository that does not match any standard topic MUST use75descriptive topics relevant to its domain.7677- `agent-skill` — repository contains a `SKILL.md` (an78 installable agent skill).79- `agent-tool` — CLI tool or MCP server used by agents (e.g.,80 task-tracker, agents-mcp, compose-agentsmd).81- `agent-rule` — rule source or ruleset repository (e.g.,82 agent-rules).83- `unreal-engine` — Unreal Engine plugin or sample project.84- `qti` — QTI assessment ecosystem tool or library.85- `education` — course content, teaching materials, or86 student-facing platform.87- `docusaurus` — Docusaurus plugin or extension.8889Additional descriptive topics (language, framework, domain90keywords) MAY be added freely alongside standard topics. The91agent MUST review and update the standard topic set when the92repository landscape changes materially. The agent MUST verify93topics are set as part of the new-repository compliance gate.9495## Published artifact requirements9697- The agent MUST populate package metadata (name, description,98 repository, issues, homepage, engines).99- The agent MUST validate executable entrypoints and required100 shebangs so installed commands work.101- If a repository represents a single tool or product, the agent102 MUST publish a single package (bundling related scripts).