Docket QA Checks

VerifiedCaution

Run QA checks on the docket CLI binary. Invoked when user asks to run QA, test build, or verify binary.

Sby Skills Guide Bot
TestingBeginner
7/22/2026
Claude CodeCursorCodex
#cli-testing#smoke-test#test-automation#json-validation#exit-codes

Recommended for

Automated summary

Runs the docket CLI binary's QA suite through the reusable scripts/qa.sh script, which builds the project, executes all functional checks, and prints a structured pass/fail report.

Strengths

  • Single entry point: the script builds, tests, and cleans up isolated temp directories automatically
  • Broad coverage split into sections A through S, from basic commands to exit codes, JSON contracts, and error paths
  • Readable final report showing how many checks passed plus a list of failures
  • Accepts a path to an existing binary, so you can validate a build artifact (e.g. after a vorpal build)

Limitations

  • Requires jq to be installed, otherwise JSON validation checks cannot run
  • Tightly coupled to the docket project: the test sections and script are not reusable as-is elsewhere
  • Needs a shell with access to the repo and its scripts, so it fits poorly in a remote or heavily sandboxed context
When to use it

Use it when you need to confirm that a freshly built docket binary behaves correctly before shipping it.

When not to use it

Avoid it for projects other than docket or for narrow unit-level testing of a single function.

Security analysis

Caution
Quality score86/100

The skill itself contains no destructive, exfiltrating, or obfuscated instructions. However, it delegates execution to a repository script that is not shown, so a reviewer cannot verify exactly what commands will run. This is a legitimate QA workflow but warrants caution because it executes local build/test code with shell access.

Findings
  • •Instructs the agent to execute `./scripts/qa.sh`, but the script contents are not included in SKILL.md, so the actual commands are not auditable from the provided text.
  • •Requires shell execution and building/running a local binary, which is powerful but appropriate for a QA skill.
  • •No allowed-tools are declared even though the workflow depends on bash execution.
How this analysis is made

Examples

Run full QA
Run QA on docket and tell me if everything passes.
Verify a built binary
Smoke test the docket binary at ./result/bin/docket and report any failing checks.
Post-build validation
I just rebuilt docket — run the quality assurance suite and summarize the results.

name: qa description: > Run quality assurance checks on the docket CLI binary. Use this skill when the user asks to "run QA", "test the build", "verify the binary", "smoke test", "run quality assurance", "check the CLI", or wants to validate that docket is working correctly after a build.

Docket QA Skill

Run the docket QA test suite by executing the reusable scripts/qa.sh script. This script builds docket, runs all functional checks across every command and flag, validates output, exit codes, error handling, and JSON contracts, then prints a structured pass/fail report.

ARGUMENTS: optional path to the docket binary. If not provided, the script builds from source automatically.

Workflow

1. Run the QA script

./scripts/qa.sh [optional-binary-path]

The script handles everything:

  • Builds docket (if no binary path given)
  • Creates isolated temp directories so tests don't affect user state
  • Runs all test sections in order (A through S)
  • Cleans up temp directories on exit
  • Prints a full pass/fail report with details on failures
  • Exits 0 if all checks pass, 1 if any fail

2. Review the output

The script prints a summary table and final result line:

QA Result: X/Y checks passed

If any checks failed, they are listed at the bottom for visibility.

3. Report results to the user

Summarize the QA results. If there are failures, investigate and fix them.

Test Coverage

The script covers these sections (see scripts/qa.sh for full details):

| Section | Description | Checks | |---------|-------------|--------| | A | No-DB commands (version, help, config) | 5 | | B | Init lifecycle | 4 | | C | Config after init | 2 | | D | DOCKET_PATH override | 3 | | E | Quiet mode | 2 | | F | Create command | 11 | | G | List command (filters, sorting, tree) | 12 | | H | Show command | 6 | | I | Move command (status transitions) | 11 | | J | Close command | 6 | | K | Reopen command | 6 | | L | Edit command (all flags) | 15 | | M | Edit reparenting (cycles, self-ref) | 11 | | N | Delete — simple | 5 | | O | Delete — cascade and orphan | 16 | | P | Activity log verification | 6 | | Q | JSON contract validation | 11 | | R | Exit codes (all commands) | 23 | | S | Error paths (no DB) | 10 |

Developer Usage

Developers can run the script directly without Claude:

# Build and test
./scripts/qa.sh

# Test a specific binary
./scripts/qa.sh /path/to/docket

# After a vorpal build
vorpal build docket --export
./scripts/qa.sh ./result/bin/docket

Requires jq to be installed for JSON validation.

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/docket-qa-checks-mrwak8wo/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/docket-qa-checks-mrwak8wo' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/docket-qa-checks-mrwak8wo/download' --output '.skill-downloads/docket-qa-checks-mrwak8wo/SKILL.md.part' && mv '.skill-downloads/docket-qa-checks-mrwak8wo/SKILL.md.part' '.skill-downloads/docket-qa-checks-mrwak8wo/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.

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/docket-qa-checks-mrwak8wo/SKILL.md' && test -s '.skill-downloads/docket-qa-checks-mrwak8wo/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/qa' && cp -R '.skill-downloads/docket-qa-checks-mrwak8wo' '.claude/skills/qa'

Cursor
test -f '.skill-downloads/docket-qa-checks-mrwak8wo/SKILL.md' && test -s '.skill-downloads/docket-qa-checks-mrwak8wo/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/qa' && cp -R '.skill-downloads/docket-qa-checks-mrwak8wo' '.cursor/skills/qa'

Codex
test -f '.skill-downloads/docket-qa-checks-mrwak8wo/SKILL.md' && test -s '.skill-downloads/docket-qa-checks-mrwak8wo/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/qa' && cp -R '.skill-downloads/docket-qa-checks-mrwak8wo' '.agents/skills/qa'

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/docket-qa-checks-mrwak8wo'

openskills read 'docket-qa-checks-mrwak8wo'

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/docket-qa-checks-mrwak8wo/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