a11y-ally
Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse,…
End-to-end npm release workflow with verification gates and hardcoded-version protection
$ npx -y skills add proffesor-for-testing/agentic-qe --skill release --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/releaseContext preview
The summary Claude sees to decide when to auto-load this skill.
End-to-end npm release workflow with verification gates and hardcoded-version protection
name: release description: End-to-end npm release workflow with verification gates and hardcoded-version protection trust_tier: 0 domain: release-management
Execute a safe, verified npm release for the `agentic-qe` package. STOP after each phase for user confirmation.
This project uses a **flat single-package structure** (post v3.7.4 flatten):
| File | Package Name | Role | |------|-------------|------| | `package.json` (root) | `agentic-qe` | **Published to npm** — the installable package |
**Important**: There is NO `v3/` subdirectory. All source is at root (`src/`, `dist/`, `tests/`).
git status git branch --show-current
Verify working directory is clean and you know which branch you're on. If there are uncommitted changes, stop and ask the user. The release prep happens on the **current working branch** — we PR to main later.
**STOP — confirm clean state and current branch.**
Read the current version from `package.json` (source of truth). Then grep the ENTIRE codebase for hardcoded version strings — current version, old versions, and any version-like patterns.
# Read current version
node -p "require('./package.json').version"
# Search for version strings in source files (exclude node_modules, dist, .git, docs/releases)
grep -rn --include="*.ts" --include="*.js" --include="*.json" '"3\.[0-9]\+\.[0-9]\+"' . \
--exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git --exclude-dir=releasesAlso check `.claude/skills/skills-manifest.json` for `fleetVersion` — must be updated to match.
If any stale version strings are found in source files, fix them ALL before continuing.
**STOP — show findings and wait for user confirmation.**
Update package.json to the target version:
cd /workspaces/agentic-qe && npm version <version> --no-git-tag-version
Also update `fleetVersion` in `.claude/skills/skills-manifest.json`.
Verify:
grep '"version"' package.json
**STOP — confirm version is correct.**
Add a new section to `CHANGELOG.md` (at root) following Keep a Changelog format:
## [<version>] - YYYY-MM-DD ### Added - ... ### Fixed - ... ### Changed - ...
Write user-friendly descriptions focused on value, not implementation details.
**STOP — show changelog entry for review.**
Create a release notes file at `docs/releases/v<version>.md` following the existing format:
# v<version> Release Notes **Release Date:** YYYY-MM-DD ## Highlights <1-2 sentence summary of the most important changes> ## Added - ... ## Fixed - ... ## Changed - ...
Then update `docs/releases/README.md` — add a new row at the TOP of the table:
| [v<version>](v<version>.md) | YYYY-MM-DD | <Short highlights> |
Use existing entries as formatting reference. Keep highlights concise (under 80 chars).
npm run build
Executes `tsc && build:cli && build:mcp`. Verify zero errors. If build fails, diagnose and fix.
**STOP — show build output.**
npm run typecheck
Runs `tsc --noEmit`. Must produce zero errors.
**STOP — show type check output.**
npx vitest run tests/unit/
Run REAL tests against the actual codebase. Do NOT simulate, mock, or skip any tests. ALL unit tests must pass.
**STOP — show test results.**
This is the critical pre-release gate. Verify the built package works end-to-end as a user would experience it.
# Verify dist/ exists with expected bundles ls -la dist/cli/bundle.js ls -la dist/index.js ls -la dist/mcp/bundle.js
All three must exist: CLI bundle, main entry point, MCP server.
# Create a temporary test project mkdir -p /tmp/aqe-release-test && cd /tmp/aqe-release-test # Run init using the LOCAL build (not published version) node /workspaces/agentic-qe/dist/cli/bundle.js init --auto
Verify init completes without errors and creates the expected project structure (`.agentic-qe/` directory, config files).
# Version output node /workspaces/agentic-qe/dist/cli/bundle.js --version # System status node /workspaces/agentic-qe/dist/cli/bundle.js status
Both must succeed without errors.
cd /tmp/aqe-release-test # Verify learning subsystem node /workspaces/agentic-qe/dist/cli/bundle.js learning stats 2>&1 | head -10 # Verify agent listing works node /workspaces/agentic-qe/dist/cli/bundle.js agent list 2>&1 | head -10 # Verify health check node /workspaces/agentic-qe/dist/cli/bundle.js health 2>&1 | head -10
These should respond (even if empty results) without errors, confirming the subsystems initialize properly.
# Pack and install in a clean temp directory to simulate real user install CLEAN_DIR=$(mktemp -d) npm pack --pack-destination "$CLEAN_DIR" 2>&1 | tail -2 cd "$CLEAN_DIR" npm init -y > /dev/null 2>&1 npm install ./agentic-qe-<version>.tgz 2>&1 | tail -3 node node_modules/.bin/aqe --version 2>&1 EXIT=$? echo "Exit code: $EXIT" cd /workspaces/agentic-qe rm -rf "$CLEAN_DIR"
Must exit 0 and print the correct version. If it crashes with `ERR_MODULE_NOT_FOUND`, a dependency is marked as external in the build scripts but not listed in `dependencies`. Fix by either bundling it, lazy-loading
AI-powered quality engineering agents that generate tests, find coverage gaps, detect flaky tests, and learn your codebase patterns — across 11 coding agent platforms.
Repo: proffesor-for-testing/agentic-qe
Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse,…
WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use…
Master advanced AgentDB features including QUIC synchronization, multi-database management,…
Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms.…
Implement persistent memory patterns for AI agents using AgentDB. Includes session memory,…
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x…