agentleFS
bex-cobex-co/bex-security/.claude/skills/release/SKILL.md

release

Skill49 starsChanged 3 months agoApache-2.0View on GitHub

Bump, validate, publish, and announce a public @bex-co/bex-security release using upstreamVersion-bex.N. Use only when explicitly asked to cut or publish a Bex Security release.

  • Reads credentials

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Read the repository AGENTS.md instructions and review all material that will become public.

    line 14
  2. Distinctive:

    Do not create or commit an npm credentials file.

    line 31
  3. Distinctive:

    Read the upstream package version from that commit rather than claiming an unmerged upstream release.

    line 36
  4. Very specific:

    Use .1 for the first Bex release on a new upstream version.

    line 40
  5. Distinctive:

    Never reuse, overwrite, deprecate, or unpublish a version.

    line 43
  6. Distinctive:

    If npm already contains the intended version, enter recovery mode: do not bump or publish it again.

    line 44
  7. Distinctive:

    Update these fields together:

    line 48
  8. Very specific:

    Commit only the reviewed version, metadata, notes, documentation, tests, and release-workflow changes.

    line 74
  9. Distinctive:

    Wait for the pushed Node and container CI workflows to succeed.

    line 77
  10. Very specific:

    Create the annotated tag bex-v<version> on the verified commit and push the tag without force.

    line 79
  11. Very specific:

    Verify npm reports the expected name, version, description, repository, bins, latest dist-tag, and Bex upstream metadata.

    line 88
  12. Very specific:

    Create a reviewed GitHub release from the existing tag, with title Bex Security <version> and .github/bex-release-notes.md as its body.

    line 91
  13. Distinctive:

    If npm publishing succeeds but a later step fails, do not create another version.

    line 94

“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release Bex Security

Publish one immutable @bex-co/bex-security version from main. A successful release has the same version in sdk/typescript/package.json, npm, the bex-v<version> Git tag, and the GitHub release.

Preconditions

  1. Read the repository AGENTS.md instructions and review all material that will become public.
  2. Require a clean worktree on main. Never stash, discard, amend, rebase a published commit, or force-push.
  3. Fetch origin and the canonical openai/codex-security upstream. Bring local main to origin/main with a fast-forward only.
  4. Confirm sdk/typescript/package.json names @bex-co/bex-security, points to the Bex repository, and retains codex-security only as a compatibility bin.
  5. Authenticate to the public npm registry. When .env provides NPM_TOKEN, load it without printing it and pass it only through the process environment:

    env "npm_config_//registry.npmjs.org/:_authToken=$NPM_TOKEN" npm whoami --registry=https://registry.npmjs.org

    Do not create or commit an npm credentials file.

Choose The Version

Resolve the merged upstream baseline with git merge-base main upstream/main. Read the upstream package version from that commit rather than claiming an unmerged upstream release.

  • Versions are <upstream-version>-bex.<release-number>.
  • Use .1 for the first Bex release on a new upstream version.
  • Otherwise increment the greatest published Bex release number for that exact upstream version.
  • Never reuse, overwrite, deprecate, or unpublish a version.
  • If npm already contains the intended version, enter recovery mode: do not bump or publish it again; verify the archive and complete only missing Git or GitHub release metadata.

Update these fields together:

  • version
  • bex.upstreamVersion
  • bex.upstreamCommit
  • .github/bex-release-notes.md release marker, heading, summary, highlights, and upstream base

Release notes must describe user-visible Bex behavior generically. Do not copy private scan targets, findings, credentials, customer context, local paths, or unreviewed commit messages into public metadata.

Validate The Exact Package

Install from the frozen lockfile, then run formatting, generated-model checks, types, tests, build, production audit, and the installed-package smoke test. Pack into an ignored release directory and run scripts/check-package.mjs on the exact tarball. Inspect its package metadata and file list before publication.

The package must expose bex-security, preserve codex-security as an alias, query @bex-co/bex-security for update notices, and contain no credentials or private release material.

Commit And Publish

  1. Commit only the reviewed version, metadata, notes, documentation, tests, and release-workflow changes. Pull origin/main with rebase before the first push, resolve conflicts without losing either side, and push normally.
  2. Wait for the pushed Node and container CI workflows to succeed. Fix and repeat when an in-scope failure is reproducible.
  3. Create the annotated tag bex-v<version> on the verified commit and push the tag without force.
  4. Publish the exact validated tarball with public access and the latest dist-tag:

    env "npm_config_//registry.npmjs.org/:_authToken=$NPM_TOKEN" npm publish <archive> --access public --tag latest --registry=https://registry.npmjs.org
  5. Verify npm reports the expected name, version, description, repository, bins, latest dist-tag, and Bex upstream metadata. Install the registry version into a clean temporary consumer and run both CLI launchers.
  6. Create a reviewed GitHub release from the existing tag, with title Bex Security <version> and .github/bex-release-notes.md as its body.

If npm publishing succeeds but a later step fails, do not create another version. Resume from registry verification and finish the missing tag or GitHub release. Report the version, upstream baseline, commit, npm URL, GitHub release URL, checks run, and final main...origin/main status.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.