The skill explains how to run the classifiers, select CI lanes, and wire an aggregate required-context job. It emphasizes fail-closed behavior, trusted inputs, and keeping tool installation aligned with the lanes that run.
70%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/harness-ci/SKILL.mdProblems with a kendex-owned skill go through kendex report; check ownership in the file first.
Run the classifier to decide whether CI can skip product checks:
.agents/skills/harness-ci/scripts/harness-only \
--event pull_request --base "$BASE" --head "$HEAD"Commit .kendex-generated.json with the renders after kendex refresh.
Consumer setup and the workflow shapes to copy are in references/wiring.md.
scripts/harness-only answers harness_only=true|false. A false verdict prints its reason on stderr as a fallback: cause=... line. Flags and exit codes: harness-only --help. The endpoints: references/wiring.md § The endpoint expressions.
harness-only --mode docs answers docs_only=true|false for the docs-only path set that harness-only --help defines.
Declare exact product-text Markdown files through the trusted base's HARNESS_CI_DOCS_PATHS, by references/wiring.md § Declared product text.
Use harness-only --mode render-candidate only to gate the engine installation and the mirror refresh. It grants no CI skip. change-class must prove render before CI skips product checks.
scripts/change-class prints the change class: render, trivial, micro, small or standard. change-scope's change-scope, installed beside this package, decides the class. This package adds the queue-only class and the lane verdicts. Flags and the queue-only line: change-class --help. The classes, their settings, causes and refusals: change-scope --help.
Select lanes locally with change-class --output FILE. --base names the committed event base used for workflow reads. --lanes-from names the separate trusted checkout used for legacy claims and a provisioned Vitest installation:
.agents/skills/harness-ci/scripts/change-class --event pull_request \
--base origin/main --head HEAD \
--output "$OUT" --lanes-from "$DEFAULT_BRANCH_CHECKOUT"Required-context aggregators call scripts/aggregate-needs. Its arguments: aggregate-needs --help. The lane rules: references/wiring.md § Per-lane verdicts.
Install the release engine with scripts/install-latest.sh.
The adopted caller path, HARNESS_CI_REFRESH_CALLER, and the render proof's fallback for it are change-scope's: its SKILL.md § Shared refresh caller ownership owns the contract. scripts/lib/change-class.sh here loads that library, so a sourcer of this file still reads the name.
Nothing here writes .github/. Wire the one step yourself, once, from references/wiring.md.
A repository under the organization standard reports the aggregate CI context. It copies templates/ci.yml to .github/workflows/ci.yml, or names its own workflow's aggregate job CI, per references/wiring.md § The CI context.
Hold these rules when wiring it:
on.<event>.paths.if: off a changes job's output, or a step-level if: inside an aggregate.if: needs a status function, as references/wiring.md § Shape 1 shows. Without one, a failed classifying job skips the lane.if: on the install, while the lane that runs the tool runs on every event, fails that lane on a harness-only diff. The tools commit-guards needs are in commit-guards CHECKS.md § py-names and § secrets.false, which runs every lane. change-class answers standard on the same terms.vanillagreencom/kendex
7ad5de0
harness-onlykendexkendex reportkendex refreshchange-classchange-scopeaggregate-needsinstall-latest.shIf you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.