用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/phronesis-io/pascal-jarvis --skill jarvis-localtest命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | jarvis-localtest |
| description | Validate Pascal Jarvis changes from focused tests through production runtime smoke checks. |
| metadata | {"internal":true} |
Use this skill after any behavior or runtime change.
Run git status --short --branch. Do not reset or stage files owned by another
session. Review the exact diff you intend to ship.
Run the smallest tests that exercise the changed contract first. A bug fix must include the regression scenario, its interrupted/failure path, and idempotency when it performs a side effect.
For shell changes:
bash -n bot.sh
bash -n path/to/changed-script.sh
./scripts/localtest.sh
This runs shell syntax, shellcheck when installed, the full pytest suite, and public-repository hygiene.
When Taskline is available:
./scripts/taskline.sh status
./scripts/taskline.sh task heartbeat <task-id> --lease 30m
Keep Spec, Dev Notes, Test Report, real PR, review, CI, and merge evidence on the same Taskline task. An Agent saying "done" is not a stage exit condition.
Inspect:
Only on the production machine, after committing the intended revision:
./restart.sh --yes
./scripts/localtest.sh --runtime
Runtime mode intentionally skips pytest because live heartbeat processes mutate runtime state that the strict test-write guard requires to remain unchanged. It is a post-restart component/revision/smoke gate; the ordinary full local gate and protected CI must already be green before deployment.
restart.sh first requires local main, HEAD == origin/main, a clean tracked
worktree, protected-main policy, a merged PR, successful required checks, and
release authority. Normal authority is an independent review bound to the
final PR head. When branch protection explicitly requires zero approvals and
has no code-owner or last-push review rule, an admin author may instead record
a merge-SHA-bound owner release decision and reason. The runtime gate then
requires component health, deploy verification, and smoke checks. For
resource-lifecycle changes, sample the live process more than once across real
scheduler activity; a clean restart alone does not prove a leak is fixed.
For configuration-only changes with no code deployment, use
./restart.sh --runtime --yes. It revalidates release authority, requires a
clean worktree, and verifies that the resident bot and heartbeat already match
HEAD; missing authority or revision drift fails closed and must return to the
governed release path above.
Do not perform a real message, calendar, document, or public mutation merely for smoke testing. Use a read-only preflight unless the owner explicitly authorized the test side effect.