SkillsReviewed · sd0xdev

Generate Runner (sd0x-harness)

Generate Runner is a coding-assistant skill for developers who want custom scripts to check code before committing, but its Python, Rust and Go scripts need manual invocation. It provides ecosystem-specific templates, while leaving developers responsible for reviewing generated commands, failure handling and future updates.

Researched 17 Nov 2026

In short.

Generate Runner is a coding-assistant skill for developers who want custom scripts to check code before committing, but its Python, Rust and Go scripts need manual invocation. It documents ecosystem detection, command customization and generation of scripts that plugin updates are intended to preserve. The shell templates explicitly tolerate lint failures, and the Node.js reference is a scaffold without execution logic. Configuration for the plugin's shipped runners does not affect generated runners. Nothing was executed, so successful generation, compatibility and integration behavior remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/generate-runner folder: SKILL.md and references/templates.md at commit b0206637edd2e44c993da12b6b30858f96bc3cdc, plus the repository-root LICENSE as the related notice. Excludes the rest of sd0x-harness, companion skills, plugin metadata, shipped runner implementations, installer dependencies and local installed copies. Nothing was executed. Generation quality, syntax validity of generated files, runtime behavior, overwrite protection and command integration remain unverified.

The overview

identity

Generate Runner is the generate-runner skill inside sd0xdev/sd0x-harness. Its documented entry point is /generate-runner. It supplies instructions and templates for a coding assistant rather than a standalone executable.

A precommit runner collects project checks into a script intended for use before committing code. This skill documents generating that script; it does not establish automatic Git-hook installation.

assessment

The skill is useful for maintainers who want to customize their checks and take responsibility for the resulting script. It is less suitable for someone expecting an immediately dependable commit gate: shell output has a dispatch limitation and permissive lint handling, while the Node.js template leaves execution details to the generating assistant. Actual generated output was not assessed.

users

The intended users are developers working with npm, Yarn, pnpm, Python, Rust or Go who need project-specific lint, build and test commands. It also serves maintainers who want to replace the plugin's generic runner with a file they can edit independently.

Beginners need enough command-line knowledge to inspect scripts and understand which checks actually run. Experienced maintainers should expect to resolve template gaps and maintain generated files when their project tools change.

capabilities

The documented workflow detects ecosystems from manifests and lockfiles, selects a template, reads project configuration and writes a customized runner. When multiple ecosystems are present, its stated preference is Node.js, then Python, Rust and Go. Arguments allow forcing an ecosystem, changing the output path and overwriting an existing file.

The Node.js scaffold describes lint:fix, build and test steps, preferring test:ci over test over test:fast. The Python template uses Ruff and pytest; Rust uses Clippy, cargo build and cargo test; Go uses golangci-lint, go build and go test. These are documented recipes, not demonstrated execution results.

Using it

requirements

The workflow assumes a coding assistant that can load the skill, inspect project files, write scripts and request overwrite decisions. Its documented integration uses .claude paths and companion commands from sd0x-harness. A complete host or plugin installation procedure is not included.

Generated JavaScript runners require Node.js; shell runners require Bash and the relevant project tools. The templates do not install dependencies. Ruff and golangci-lint are checked for availability and skipped when absent. Minimum runtime, package-manager, assistant and tool versions are unspecified.

mechanism

The assistant is instructed to select a template, substitute project-specific values and write .claude/scripts/precommit-runner.js for Node.js or .claude/scripts/precommit-runner.sh for other ecosystems. Generated files carry timestamp, plugin-version, template and ecosystem metadata. The documentation says this header marks files as user-owned and prevents automatic replacement by plugin installation.

Generated runners do not append lint arguments. Consequently, lintGlobs and lintArgMode settings in .claude/runner-config.json do not configure generated output. Those settings belong to the shipped generic runners, whose behavior must be distinguished from the generated files.

setup

In a compatible sd0x-harness environment, the documented starting command is /generate-runner. The --ecosystem option bypasses ecosystem detection, and --output changes the destination. An existing destination is supposed to trigger a diff preview and confirmation unless --force is supplied.

The workflow calls for node --check on JavaScript output or bash -n on shell output, plus executable permissions for shell scripts. These checks address syntax and file setup; they do not prove that the intended checks run correctly. No installation, generation or syntax checking was performed.

example

An illustrative, unexecuted example is /generate-runner --ecosystem python. The documented destination is .claude/scripts/precommit-runner.sh. Its template runs ruff check --fix . when Ruff is available, then pytest tests/ -q when pyproject.toml contains pytest; otherwise it uses python -m pytest tests/ -q when a tests directory exists.

The generated shell script can be invoked directly with bash .claude/scripts/precommit-runner.sh. According to the skill, /precommit, /precommit-fast and /verify only discover the JavaScript path, so they will not automatically run this Python shell runner.

Assessment & evidence

limitations

Generated Python, Rust and Go scripts are outside the documented slash-command dispatch: those commands probe only the .js runner. Generating a shell script therefore does not integrate it into those commands.

The Node.js reference imports execSync and defines a steps array but supplies no execution loop. Script-presence variables populate fields named skip without explaining their interpretation. The selected test script is passed without an explicit run argument, which needs review for npm scripts such as test:ci. These are unresolved scaffold details; they do not establish defects in an actual generated runner, because no generated output is supplied.

All three shell templates explicitly ignore lint-command failures using || true. Rust also suppresses Clippy's standard error. Python can finish without running tests when neither its pyproject.toml text check nor a tests directory triggers pytest. A successful script exit would therefore not necessarily mean every intended check passed.

The skill reports a historical incident in which an older shipped runner's ESLint argument injection caused markdownlint to corrupt 71 repository files. It warns that updating plugin source does not repair existing installed copies. This concerns older generic runners; the affected implementations and claimed fixes are outside the supplied folder.

reasoning

Customization is the main benefit: the templates expose recognizable project commands, and the ownership header is intended to preserve local edits. That benefit comes with maintenance responsibility. The visible dispatch gap, ignored lint failures and incomplete Node.js scaffold support treating generated output as a script to inspect before relying on it. They do not support claims of comprehensive checking, reliable enforcement or measured productivity gains.

alternatives

For running existing checks, the skill points to /precommit and /precommit-fast. For installing a shipped runner, it points to /project-setup and /install-scripts. It also says the generic runner already supports pytest, Cargo and Go checks, which may avoid the generated shell runner's dispatch gap. Those companion implementations were not supplied, so their actual behavior and suitability were not assessed.

evidence

The original source folder is [https://github.com/sd0xdev/sd0x-harness/tree/main/skills/generate-runner]. The supplied source snapshot is pinned to commit b0206637edd2e44c993da12b6b30858f96bc3cdc.

The instruction text is [https://raw.githubusercontent.com/sd0xdev/sd0x-harness/b0206637edd2e44c993da12b6b30858f96bc3cdc/skills/generate-runner/SKILL.md]. The templates are [https://raw.githubusercontent.com/sd0xdev/sd0x-harness/b0206637edd2e44c993da12b6b30858f96bc3cdc/skills/generate-runner/references/templates.md]. The licence is [https://raw.githubusercontent.com/sd0xdev/sd0x-harness/b0206637edd2e44c993da12b6b30858f96bc3cdc/LICENSE].

The evidence covers the selected skill folder and repository licence. Generated scripts, installer code, command dispatchers, shipped runners, lib/utils.js and plugin.json are not included. Documentation claims about those components have not been independently established.

Access & freshness

costs

The MIT licence grants software-use permission without charge. The supplied files do not establish prices for the host assistant, model usage or running project checks, so total cost is unknown. No generation-time, token-use or operating-cost measurements are provided.

rights

The repository's MIT licence names copyright holder sd0xdev and year 2026. It permits use, copying, modification, merging, publishing, distribution, sublicensing and sale, provided the copyright and permission notice accompanies copies or substantial portions. It supplies the software without warranty.

The generated-file description of user ownership concerns customization and overwrite handling. The supplied documents do not specify a separate licence for every generated output.

freshness

The source snapshot was captured on 17 November 2026 at 13:22:43 UTC. This is a capture time, not an established release or author-update date. The plugin version is unknown because plugin.json is not supplied. Later upstream changes, fixes and current compatibility are unknown.

actions

Before relying on generated output, inspect the chosen commands, source-changing autofix behavior, missing-tool handling and test coverage. For Node.js, review the completed execution loop, skip conditions and package-manager arguments. For shell output, decide whether lint failures should stop the script and arrange direct invocation.

Apply the documented syntax check, then establish that the intended checks actually run and that relevant failures produce a failing result. Generated runners need direct edits rather than lintGlobs or lintArgMode configuration. If maintaining an older shipped runner instead, the skill recommends an installer dry run before replacement and checking that lib/utils.js appears among the dependencies to be refreshed.

Evidence for this report

LICENSEnotice · checked 2026-11-17
skills/generate-runner/SKILL.mdselected · checked 2026-11-17