meshery-schemas-release
Skill85 starsChanged 30 days agoApache-2.0View on GitHub
Publish a meshery/schemas release only after generated artifacts have self-committed to master and release-drafter has refreshed the draft release; then publish the draft and let publish-schemas handle npm publishing.
- Commits and pushes
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- chrome-devtools-axiSkill
- create-openapi-schemas-from-golang-modelsSkill
- cut-releaseSkill
- gh-axiSkill
- iterate-prSkill
- lavishSkill
- openapi-schema-best-practicesSkill
- quota-axiSkill
- create-openapi-schemas-from-golang-modelsSkill
- openapi-schema-best-practicesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 4 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when the task is to cut, publish, or verify a release for meshery/schemas.
- Distinctive: line 12
Do not publish a repository release until both automation stages have finished on master:
- Very specific: line 22
Wait for generate-artifacts-from-schemas.yml to finish.
- Very specific: line 26
Wait for release-drafter.yml to run again against that updated master head and refresh the draft release.
- Very specific: line 29
After publish, let publish-schemas.yml run:
- Very specific: line 36
Use gh CLI. Do not use gh release create.
- Distinctive: line 45
Only publish when all of the following are true:
- Very specific: line 61
Never run npm publish manually.
- Very specific: line 62
Never publish while generate-artifacts-from-schemas.yml is still running or failing
- Distinctive: line 64
Never publish a draft that has not been refreshed after the generated-artifact self-commit
- Very specific: line 68
If generate-artifacts-from-schemas.yml fails, inspect the run logs and stop.
- Distinctive: line 69
If artifact generation succeeds but the expected self-commit is missing, confirm from the workflow output whether it had nothing to commit …
- Very specific: line 70
If release-drafter.yml has not refreshed the draft after the latest master update, wait or re-run that workflow.
- Very specific: line 71
If no draft release exists after release-drafter.yml succeeds, investigate the workflow/configuration instead of creating a release …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Meshery Schemas Release
Use this skill when the task is to cut, publish, or verify a release for meshery/schemas.
Golden Rule
Do not publish a repository release until both automation stages have finished on master:
generate-artifacts-from-schemas.ymlcompleted successfully and finished self-committing the generated Go and TypeScript bundles back tomaster.release-drafter.ymlcompleted after thatmasterupdate and refreshed the draft release.
Publishing before both stages finish can ship a release whose generated artifacts or drafted notes lag the repository head.
Required Release Order
- Push or merge the intended changes to
master. - Wait for
generate-artifacts-from-schemas.ymlto finish.- It runs
make build. - It generates the Go and TypeScript artifacts that belong in the repo.
- It normally self-commits them to
masterwith the messageGenerate build artifacts from schemas.
- It runs
- Wait for
release-drafter.ymlto run again against that updatedmasterhead and refresh the draft release. - Review the existing draft release if needed.
- Publish the existing draft release.
- After publish, let
publish-schemas.ymlrun:- it updates
schemas/base_cloud.ymlandschemas/base_meshery.yml - it calls
publish-npm-package.yml, which performs the npm publish - it notifies downstream repositories and publishes OpenAPI docs
- it updates
Required Checks
Use gh CLI. Do not use gh release create.
gh run list --workflow generate-artifacts-from-schemas.yml --branch master --limit 1
gh api repos/meshery/schemas/commits/master --jq '.commit.message'
gh run list --workflow release-drafter.yml --branch master --limit 1
gh release list --limit 1Only publish when all of the following are true:
- the latest
generate-artifacts-from-schemas.ymlrun iscompletedwithsuccess - the artifact-generation self-commit has landed on
master, or the workflow shows there were no generated changes to commit - the latest
release-drafter.ymlrun iscompletedwithsuccessfor the currentmasterhead - the target release already exists as a draft
Publish the draft release with:
gh release edit <TAG> --draft=falseNever Do This
- Never use
gh release create - Never run
npm publishmanually;publish-schemas.ymldoes that throughpublish-npm-package.yml - Never publish while
generate-artifacts-from-schemas.ymlis still running or failing - Never publish while
release-drafter.ymlis still running or failing - Never publish a draft that has not been refreshed after the generated-artifact self-commit
Failure Handling
- If
generate-artifacts-from-schemas.ymlfails, inspect the run logs and stop. No release should be published. - If artifact generation succeeds but the expected self-commit is missing, confirm from the workflow output whether it had nothing to commit before proceeding.
- If
release-drafter.ymlhas not refreshed the draft after the latestmasterupdate, wait or re-run that workflow; do not publish until it finishes. - If no draft release exists after
release-drafter.ymlsucceeds, investigate the workflow/configuration instead of creating a release manually.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

