跳到正文
cccskills
免费在 GitHub 公开

ci-tests

Run the test suite for the current repo, auto-detecting Python (pytest/uv), Node (vitest/pnpm), or Rust (cargo test)

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/ci:tests: Run tests

Detects the stack and runs tests with the right command.

Stack detection

if [ -f "uv.lock" ]; then
  STACK="python"
elif [ -f "pnpm-lock.yaml" ] || [ -f "package.json" ]; then
  STACK="node"
elif [ -f "Cargo.toml" ]; then
  STACK="rust"
else
  STACK="unknown"
fi

Commands by stack

Python (uv + pytest)

# All tests
uv run pytest --tb=short -q $ARGUMENTS

# With coverage
uv run pytest --cov=src --cov-report=term-missing -q

# Specific file or folder
uv run pytest $ARGUMENTS -v

Node (pnpm + vitest)

# All tests
pnpm vitest run $ARGUMENTS

# With coverage
pnpm vitest run --coverage

# Watch mode (dev)
pnpm vitest

Node (npm + jest)

npm test -- --passWithNoTests $ARGUMENTS

Rust (cargo)

cargo test --quiet $ARGUMENTS 2>&1

Expected output

Tests: my-api (Python/pytest)
───────────────────────────────

uv run pytest --tb=short -q

[pytest output]

✅ 42 passed in 3.1s  →  Ready to push

On failure:

❌ 2 failed

FAILED tests/test_billing.py::TestInvoice::test_promo_expired
AssertionError: expected discount=0, got discount=10

→ Fix before pushing.

Usage

/ci:tests
/ci:tests tests/test_orders.py
/ci:tests src/components/Button.test.tsx

Target: $ARGUMENTS

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit Claude Code agents, skills, and commands for quality and production readiness. Use when evaluating skill quality, checking production readiness scores, or comparing agents against best-practice templates.

中文简介正在准备中。当前显示原文说明。

FlorianBruniaux/claude-code-ultimate-guide61982026年10月18日 更新

Codebase health audit scoring 7 categories with progression plan

中文简介正在准备中。当前显示原文说明。

FlorianBruniaux/claude-code-ultimate-guide61982026年10月18日 更新

Autonomous improvement loop: scan codebase metrics, scaffold experiment files, run agent-driven iterations until metric improves

中文简介正在准备中。当前显示原文说明。

FlorianBruniaux/claude-code-ultimate-guide61982026年10月18日 更新

best-of-n

免费

Generate bounded independent candidates, score them against a frozen rubric, and verify the selected result with a proof log.

中文简介正在准备中。当前显示原文说明。

FlorianBruniaux/claude-code-ultimate-guide61982026年10月18日 更新

canary

免费

Post-deploy monitoring: watch production after a deploy and alert on regressions

中文简介正在准备中。当前显示原文说明。

FlorianBruniaux/claude-code-ultimate-guide61982026年10月18日 更新

catchup

免费

Restore context after /clear by summarizing recent work and project state

中文简介正在准备中。当前显示原文说明。

FlorianBruniaux/claude-code-ultimate-guide61982026年10月18日 更新

查看 FlorianBruniaux 的全部技能

报告此技能的问题