generate-runner

Generate a customized precommit runner script for Node, Python, Rust, or Go projects.

189|25|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/sd0xdev/sd0x-harness --skill generate-runner-sd0xdev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generate-runner
Source: https://github.com/sd0xdev/sd0x-harness/tree/main/skills/generate-runner
Command: npx skills add https://github.com/sd0xdev/sd0x-harness --skill generate-runner-sd0xdev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Projects outside the Node.js ecosystem, or teams that need to eject from the generic shipped runner, lack a precommit runner tailored to their toolchain. This Skill detects the project ecosystem and writes a customized, user-owned runner script with the correct lint, build, and test steps. ## Core Features & Use Cases - Ecosystem Detection: Scans for manifest files (package.json, pyproject.toml, Cargo.toml, go.mod, lock files) to select the right template, with a defined priority order when multiple ecosystems are present. - Template-Based Generation: Loads per-ecosystem templates from references/templates.md and customizes them with project-specific lint, build, and test commands. - Eject Header & Conflict Handling: Stamps each generated runner with @generated_at, @plugin_version, @template, and @ecosystem metadata so plugin auto-install never overwrites it, and asks before overwriting an existing file unless --force is passed. - Use Case: A Python project needs a precommit runner that runs ruff and pytest. Run the skill with --ecosystem python to write .claude/scripts/precommit-runner.sh, make it executable, and verify it with bash -n. ## Quick Start Ask the AI to generate a precommit runner for this project, optionally forcing an ecosystem such as python or rust.

Frequently Asked Questions about generate-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a precommit runner for a Python or Rust project?▼

Run the generate-runner skill, which detects the ecosystem from manifest files like pyproject.toml or Cargo.toml and writes a shell runner to .claude/scripts/precommit-runner.sh. Use --ecosystem python or --ecosystem rust to skip detection.

How do I eject from the generic precommit runner?▼

Generate a runner with this skill; it writes a user-owned copy stamped with @generated_at, @plugin_version, @template, and @ecosystem headers. Plugin auto-install will not overwrite files carrying that eject header, so you can edit the runner freely.

Will /precommit run a generated shell runner for Python or Go?▼

No. The /precommit, /precommit-fast, and /verify commands probe only the .js runner path, so a generated .sh runner must be invoked directly. The shipped Node runner already orchestrates pytest, cargo, and go as first-class steps.

Do lintGlobs and lintArgMode settings affect a generated runner?▼

No. Generated runner templates do not append lint arguments, so lintGlobs and lintArgMode in .claude/runner-config.json or package.json have no effect on them. Those settings only configure the plugin-shipped runners.

What happens if a runner file already exists at the output path?▼

The skill asks for confirmation with a diff preview before overwriting an existing file. Passing --force overwrites the existing runner without asking.