QraftBox Release Workflow

VerifiedSafe

Executes end-to-end release operations for QraftBox via Taskfile tasks, including GitHub Release creation and npm publishing. Ideal for automating post-merge release workflows and ensuring consistent version publishing.

Sby Skills Guide Bot
DevOpsIntermediate
6/2/2026
Claude Code
#release#npm-publish#github-release#taskfile

Recommended for

Automated summary

Automates the end-to-end release process for QraftBox using Taskfile tasks, including GitHub Release and npm publish.

Strengths

  • Standardizes release execution with a clear contract and verification checklist.
  • Handles common failure scenarios like auth issues or missing dependencies.
  • Supports both full release and scoped (GitHub-only or npm-only) operations.
  • Provides secure npm auth using NPM_TOKEN environment variable.

Limitations

  • Tightly coupled to the QraftBox repository structure and Taskfile conventions.
  • Assumes preconditions like clean git state and correct version in package.json.
  • Relies on external tools (gh, npm, bun) which must be installed and authenticated.
When to use it

When you need to perform a release or publish artifacts for the QraftBox repository after a merge.

When not to use it

When performing ad-hoc testing or debugging where a full release would be premature or risky.

Security analysis

Safe
Quality score90/100

The skill uses Bash for standard release operations (GitHub Release, npm publish) with proper credential handling (temporary .npmrc, NPM_TOKEN env var) and no destructive or exfiltration actions.

No concerns found

How this analysis is made

Examples

Full release
Release the latest version of QraftBox.
npm publish only
Publish the current version to npm only, without creating a GitHub release.
GitHub release only
Create a GitHub release for the current version without publishing to npm.

name: release-workflow description: Execute QraftBox release operations end-to-end using Taskfile tasks, including GitHub Release and npm publish. Use when users ask to release, publish a version, or run post-merge release operations. allowed-tools: Bash, Read, Write, Grep, Glob

Release Workflow Skill

This skill standardizes release execution for QraftBox using the repository Taskfile.

When to Apply

Apply this skill when the user asks to:

  • release a merged version
  • publish artifacts
  • publish to npm
  • run GitHub release operations

Release Contract

In this repository, interpret an unscoped "release" request as:

  1. GitHub Release publish
  2. npm publish

If the user explicitly says GitHub-only or npm-only, run only the requested scope.

Preconditions

  1. Ensure branch is up to date and clean.
  2. Ensure package.json version is the intended release version.
  3. Ensure required auth is valid:
    • gh auth status
    • npm auth/token for publish (NPM_TOKEN environment variable)
  4. Ensure dependencies are installed: bun install.

npm Auth Standard

Use NPM_TOKEN environment variable for all npm publish flows.

export NPM_TOKEN=xxxx
TMP_NPMRC=$(mktemp)
cat > "$TMP_NPMRC" <<'EOF'
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
EOF
NPM_CONFIG_USERCONFIG="$TMP_NPMRC" <publish command>
rm -f "$TMP_NPMRC"

Do not hardcode tokens in committed files.

Standard Commands

Full Release (GitHub + npm)

task release:github
task release:npm-publish

GitHub Release Only

task release:github

npm Publish Only

task release:npm
cd release/npm
NPM_CONFIG_USERCONFIG="$TMP_NPMRC" bunx npm publish --access public

Verification Checklist

After release commands finish:

  1. Confirm GitHub release URL exists for v{version}.
  2. Confirm tag points to expected commit on origin.
  3. Confirm npm package/version is published.
  4. Confirm working tree remains clean.

For npm verification, prefer direct registry metadata:

curl -s https://registry.npmjs.org/qraftbox/latest

(npm view may temporarily show stale/cached values right after publish.)

Failure Handling

  1. If version/tag mismatch exists, fix package.json version first and commit.
  2. If local environment was scrubbed (git clean -fdX), reinstall deps before release.
  3. If GitHub release already exists, skip recreate and verify uploaded artifacts.
  4. If npm publish fails due to existing version, report clearly and stop retry loops.
  5. If task release:npm-publish fails with "npm": executable file not found, switch to:
    • task release:npm
    • cd release/npm && bunx npm publish --access public
  6. If npm publish fails with EOTP:
    • Use an automation/granular token that supports non-interactive publish, exported as NPM_TOKEN
    • Or provide OTP and publish with --otp <code>

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/qraftbox-release-workflow-mm5t8bdm/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/qraftbox-release-workflow-mm5t8bdm' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/qraftbox-release-workflow-mm5t8bdm/download' --output '.skill-downloads/qraftbox-release-workflow-mm5t8bdm/SKILL.md.part' && mv '.skill-downloads/qraftbox-release-workflow-mm5t8bdm/SKILL.md.part' '.skill-downloads/qraftbox-release-workflow-mm5t8bdm/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash, Read, Write, Grep, Glob

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/qraftbox-release-workflow-mm5t8bdm/SKILL.md' && test -s '.skill-downloads/qraftbox-release-workflow-mm5t8bdm/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/release-workflow' && cp -R '.skill-downloads/qraftbox-release-workflow-mm5t8bdm' '.claude/skills/release-workflow'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/qraftbox-release-workflow-mm5t8bdm'

openskills read 'qraftbox-release-workflow-mm5t8bdm'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/qraftbox-release-workflow-mm5t8bdm/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills