running-tend
БесплатноЗапускает вложенные скриптыНе проверенWorktrunk-specific guidance for tend CI workflows. Adds codecov polling, Rust test commands, labels, and review criteria on top of the bundled tend-ci-runner…
от max-sixty★ 12 874 звезды на GitHubОб этом скилле
Worktrunk Tend CI
Project-specific guidance for tend workflows running on worktrunk (a Rust
CLI for managing git worktrees). The bundled run-tend, review, and triage
skills provide the workflow framework; this skill adds worktrunk conventions.
Filing issues in other repos
Standing exceptions granted, each filing directly without asking permission here first:
- agent-equipped targets (per Filing issues in the bundled
act-in-other-reposskill) - any project the weekly digest finds copying Worktrunk's code without its
license notice (
references/feedback-digest.md, "Projects that copy Worktrunk's code")
The default rule (open an issue here asking permission first) applies to every other target.
Codecov Monitoring
After required CI checks pass, poll codecov/patch — it is mandatory despite
being marked non-required:
for i in $(seq 1 5); do
CODECOV=$(gh pr checks <number> 2>&1 | grep 'codecov/patch' || true)
if echo "$CODECOV" | grep -q 'pass'; then
echo "codecov/patch passed"; exit 0
elif echo "$CODECOV" | grep -q 'fail'; then
echo "codecov/patch FAILED"; exit 1
fi
sleep 60
done
If codecov fails locally, investigate with task coverage and
cargo llvm-cov report --show-missing-lines | grep <file>.
Investigating codecov failures in CI
task and cargo-llvm-cov are not installed in the tend-setup action.
Don't try to cargo install them in the sandbox — past attempts at
source-compiling installs cascaded into bash-tool interrupts that blocked
even pwd and echo. Instead, query Codecov directly, following
tests/AGENTS.md → Coverage Investigation for the endpoints and their
traps. The scratch paths there and below go to ${TMPDIR:-/tmp} — write new
ones the same way.
If the Codecov API markers aren't enough, download the code-coverage-report
artifact from the PR head's coverage workflow run — it contains a
cobertura.xml with per-line hit counts:
REPO=$(gh repo view --json nameWithOwner --jq '.nameWithOwner')
# Find the coverage run on the PR head SHA:
CI_RUN=$(gh api "repos/$REPO/commits/<sha>/check-runs" --jq '.check_runs[] | select(.name == "code-coverage") | .details_url | capture("runs/(?<id>[0-9]+)") | .id')
# List artifacts, then download the coverage one:
gh api "repos/$REPO/actions/runs/$CI_RUN/artifacts" --jq '.artifacts[] | {name, id}'
gh api "repos/$REPO/actions/artifacts/<id>/zip" > "${TMPDIR:-/tmp}/coverage.zip"
unzip -q "${TMPDIR:-/tmp}/coverage.zip" -d "${TMPDIR:-/tmp}/coverage"
Test Commands
cargo run -- hook pre-merge --yes # full suite + lints
cargo test --lib --bins # unit tests only
cargo test --test integration # integration tests only
CI runs on Linux, Windows, and macOS.
Rework a test that reaches for its environment
A test that leans on inherited state — the process CWD, an ambient env var —
sets up its own instead, via TestRepo::with_initial_commit() plus a tempdir,
the way most worktrunk tests already do. Guarding it with an early return
(Don't "fix" tests by adding skip guards in the bundled fix-a-bug skill)
drops the coverage rather than restoring it. This governs every workflow that
fixes a test here, not just issue triage.
Session Log Paths
The artifact directory is named after the agent's working directory, which
moves between tend releases — 0.2.5–0.2.13 used a per-run
tend-agent-workspace-*/checkout, and from 0.2.14 the agent works in the
runner's own checkout, so -home-runner-work-worktrunk-worktrunk/ is the
prefix again. Match on neither literal: use the bundled
find "$DEST" -name '*.jsonl' recipe, which holds across all of them — every
shape is one <session-id>.jsonl under a single slugified directory.
Labels
automated-fix— fix PRs from triagenightly-cleanup— nightly sweep issues and PRs
CI Failure Triage: Prefer Rerun for Transient Infrastructure Failures
Before opening a PR for a CI failure, classify it:
- Transient infrastructure (link-check timeouts, apt-get flakes, GitHub
outages, runner disk issues, codecov upload blips) — do not create a
PR. Rerun the failed jobs yourself (Rerunning failed jobs in the bundled
monitor-ciskill) rather than leaving the rerun to the maintainer, and report its result where you post the diagnosis. A permanent config change for a one-off timeout is churn the maintainer will close. - Flaky test (known-flaky or first-seen PTY/shell test) — try to fix it.
- Real regression — proceed with a fix PR.
Non-required ≠ transient. A non-required job (e.g. collect affected coverage, affected tests (linux, advisory)) can fail from a real regression. The required/non-required distinction is about merge-blocking, not about how the failure is classified. If a deterministic build error (error[E...], "binary not found", "ambiguous candidates", missing target) repeats across consecutive runs of the same shape, it's a real reg
Установить running-tend в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл running-tend?
Worktrunk-specific guidance for tend CI workflows. Adds codecov polling, Rust test commands, labels, and review criteria on top of the bundled tend-ci-runner skills. Use when operating in CI.
Как установить скилл running-tend?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл running-tend запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic