runner-detection
/runner-detection
Use to figure out how to run a repo's tests and type/compile checks, and to write the green-keeper config. Covers common ecosystems and the config schema.
- Author
- localplugins ↗
- Repository
- plugins ↗
- Licence
- MIT
- Last repository change
- 16.07.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 16.07.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use to figure out how to run a repo's tests and type/compile checks, and to write the green-keeper config. Covers common ecosystems and the config schema.
Original author description
Use to figure out how to run a repo's tests and type/compile checks, and to write the green-keeper config. Covers common ecosystems and the config schema.
How it works
- Use when
- Decision guide
- Quick reference
- Deep references
SKILL.md preview
--- name: runner-detection description: Use to figure out how to run a repo's tests and type/compile checks, and to write the green-keeper config. Covers common ecosystems and the config schema. --- # Runner Detection Green Keeper needs two concrete shell commands for a repo: how to run the tests, and how to run the type/compile check. Detect them, confirm with the user, and cache them to `.green-keeper/config.json`. ## Use when - Running `/green-setup` on a new repo. - A configured command is wrong and needs re-detecting. - Writing or editing `.green-keeper/config.json`. ## Decision guide 1. **Identify the ecosystem** from the manifest present: `package.json` (Node/TS), `pyproject.toml`/`setup.cfg`/`tox.ini` (Python), `go.mod` (Go), `Cargo.toml` (Rust), `Makefile` (any). 2. **Read the real commands, don't guess them.** Prefer `scripts`/targets already defined; CI config (`.github/workflows`) usually names the exact commands the team runs. 3. **Pick a fast `quickTest`.** The hooks run it on every turn end and session start, so choose a changed-files or single-package subset when one exists; otherwise fall back to the full `test`. 4. **Honor explicit overrides** from `--test` / `--typecheck` / `--quick` arguments — they win over detection. 5. **Confirm before saving.** These commands run automatically via hooks. Show them and get a yes. 6. **Never guess a destructive command.** If you can't detect one, ask the user. ## Quick reference | Ecosystem | Typical `test` | Typical `typecheck` | | --- | --- | --- | | Node / TS | `npm test` / `vitest run` / `jest` | `tsc --noEmit` | | Python | `pytest` | `mypy .` or `pyright` | | Go | `go test ./...` | `go build ./...` or `go vet ./...` | | Rust | `cargo test` | `cargo check` | | Make-based | `make test` | `make check` / `make lint` | ## Deep references - **`references/ecosystem-detection.md`** — per-ecosystem detection walkthroughs (where to look, which runner to infer, how to pick a fast `quickTest`), plus Make/CI fallbacks. - **`references/config-schema.md`** — the full `.green-keeper/config.json` schema: every field, type, default, validation notes, and worked examples per ecosystem.
Files in this package (3)
- SKILL.md 2 KB
- references/config-schema.md 4 KB
- references/ecosystem-detection.md 5 KB
Versions
The database has no other skills named runner-detection.
Database snapshot: 13.11.2026 · package version e98583faad92 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100docs-index-keeper
Keep a repository's Markdown docs index in sync with the files that actually exist, by installing and running docs-index-keeper in a pre-commit hook, in CI, or as a one-off sweep. Use when the user says "the docs index is stale", "update the docs index", "add a docs index check… - 100docs-index-keeper
Keep a repository's Markdown docs index in sync with the files that actually exist, by installing and running docs-index-keeper in a pre-commit hook, in CI, or as a one-off sweep. Use when the user says "the docs index is stale", "update the docs index", "add a docs index check… - 96verify
Use when coding: run the checks and tests /ship picks until green. (gstack) - 100keeper
Interactive pickup of config work /auto cannot ship. Keeper machine (git config `reflect.keeper` true) — adjudicate uncommitted ~/.claude edits, `keeper`-labeled Linear issues and proposal PRs, then commit and push the accepted set (invoking it is that grant). Other machines —… - 100keeper-setup
Install and configure Keeper CLI tools (KSM CLI and Commander) for the Keeper Security agent kit. Use when the user needs to install keeper-secrets-manager-cli (ksm) or keepercommander (keeper), set up authentication, initialize profiles, configure persistent login, or… - 96context-memory-keeper
维护跨会话的项目记忆,记录长期规则与当前任务清单,供后续阶段恢复上下文。当长对话需要压缩、已确认的决策与约束需要落盘、或用户要求记住或恢复之前进展时使用。