Skip to main content
Version: 4.x

The qoq skill | v4.x

4.x is where QoQ's Claude Code skills start. The rule they follow: a few high-confidence, intention-revealing changes over a long list of nitpicks, each staged as a reviewable git patch behind the project's own lint/test/build gate.

Versions​

The skill was versioned on its own (metadata.version in SKILL.md), and so was its plugin:

PackagesSkillqoq pluginWhat changed
4.1.0—1.0.0npm-bump-packages skill
4.2.0—1.0.0qoq-code-review and qoq-code-refactor skills
4.3.11.0.01.0.0The three fold into one qoq skill: review, refactor, bump packages, gate
4.3.61.0.01.1.1fix joins it
4.5.01.1.01.1.1Structurelint in the engine

Installation​

/plugin marketplace add ladamczyk-it/qoq
/plugin install qoq@qoq-agent-skills

Or with a skills installer:

npx skills add ladamczyk-it/qoq
npx -p agent-skills-cli agent-skills add ladamczyk-it/qoq@qoq -a claude

Commands​

CommandWhat it does
reviewReviews a branch against its merge-base and stages each finding as a patch
refactorThe same analysis over a scope you choose; large scopes split into disjoint slices
fixRuns qoq --check over the project or a scope and stages every finding as a patch
bump packagesMinor/patch updates first, then majors one at a time with changelog research
gateNon-interactive check of freshly written code; returns PASS or FAIL

Run /qoq <command> [target], or describe the task: "is this ready to merge?" routes to review, "our deps are stale" to bump packages.

The seven dimensions​

review defines quality once; refactor, fix and gate reuse it. Each dimension yields at most one patch.

DimensionWhat it looks forPatch
Spelling & namingTypos, intention-revealing names, no single-letter variablesspellings.patch
DependenciesUnused dependencies and exports, runtime vs dev placementdependencies.patch
Complexity / SOLIDCognitive complexity a small restructuring genuinely reducescomplexity.patch
Copy-pasteNear-duplicate logic worth one honest abstractioncopy_paste.patch
Code conventionsArrow functions over function, named exports over defaultconventions.patch
Design patternsSmells a standard pattern resolves without adding complexitypatterns.patch
TypeScript idiomsSyntax for the real tsconfig target, immutable methods, no anytypescript.patch

Naming and complexity come from ESLint, dead code from Knip, duplication from JSCPD and formatting from Prettier; the rest are judged directly by the qoq-analyzer agent.

How changes land​

  • Everything is staged under .qoq/ as git apply-able patches without touching the working tree, then applied one at a time after sign-off, with the gate re-run after each.
  • A fully successful run deletes .qoq/; an aborted run leaves it as the record of what's left.
  • gate is the exception: it expects a dirty tree, auto-applies only safe fixes, and reports judgement calls (dead-code deletion, de-duplication, pattern changes) as advisories. fix stages both tiers as patches instead.

Other skills end with "run /qoq gate <files you changed> and declare done only on PASS".

Next: 5.x adds the testing-gate and planning-gate skills, then replaces review and gate with plan, execute, test and compress.