test-quick
Unit tier only — skips slow, integration, and E2E tests for sub-30s feedback. Use when checking units after a change, running tests affected since the last commit, or unit watch mode.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 60
- Forks
- 6
01 前言 Front Matter
- args
- [path] [--watch] [--affected]
- name
- test-quick
- created
- 1765843200000
- modified
- 1788566400000
- reviewed
- 1777075200000
- description
- Unit tier only — skips slow, integration, and E2E tests for sub-30s feedback. Use when checking units after a change, running tests affected since the last commit, or unit watch mode.
- allowed-tools
- Task, TodoWrite
- argument-hint
- [path] [--watch] [--affected]
02 资源文件 1
- 参考文档references/detailed-guide.md13.3 KB
03 SKILL.md 正文
When to Use This Skill
| Use this skill when... | Use test-full instead when... |
|---|---|
| Running unit tests only for sub-30s feedback | Running the full pyramid (unit + integration + E2E) before a PR |
Restricting to tests affected by recent changes (--affected) |
Generating coverage or HTML reports across all tiers |
| Running watch-mode TDD on unit tests | Iterating on a single failing file (use test-focus) |
| Confirming nothing broke after a small refactor | Triaging test results from a prior run (use test-analyze) |
Context
- Project type: !
find . -maxdepth 1 \( -name 'pyproject.toml' -o -name 'package.json' -o -name 'Cargo.toml' -o -name 'go.mod' \) - Test directories: !
find . -maxdepth 2 -type d \( -path '*/tests/unit' -o -path '*/test/unit' -o -path '*/__tests__/unit' \) - Last test run: !
find . -path '*/.pytest_cache/v/cache/*' -maxdepth 4 -name 'lastfailed'
Parameters
$1: Optional path or test pattern--watch: Enable watch mode for continuous feedback--affected: Only run tests for files changed since last commit
Your task
Delegate this task to the test-runner agent.
Use the Agent tool with subagent_type: testing-plugin:test-runner to run fast unit tests only. Pass all the context gathered in Context and specify Tier 1 (unit tests) execution.
The test-runner agent should:
-
Run unit tests only (target < 30s):
- Exclude slow, integration, and E2E tests
- Use appropriate markers/flags for the framework:
- pytest:
-m "not slow and not integration and not e2e" - vitest:
--exclude="**/e2e/**" --exclude="**/integration/**" - cargo:
--lib - go:
-short
- pytest:
-
Apply options:
- If
--watch: Enable continuous test execution - If
--affected: Only test changed files
- If
-
Fail fast: Stop on first failure (
-xor--bail) -
Provide concise output:
Unit Tests: [PASS|FAIL] Passed: X | Failed: Y | Duration: Zs Failures (if any): - test_name: Brief error (file:line) Rerun failed: [command] -
Post-action guidance:
- If all pass: Ready for continued development
- If failures: Fix before proceeding (fail fast principle)
- If > 30s: Suggest
/test:consultfor optimization
Provide the agent with:
- All context from Context
- The parsed parameters
- Explicit instruction: Tier 1 only, skip slow tests
The agent has expertise in:
- Tiered test execution
- Fast feedback loops
- Test isolation and parallelization
04 同仓库更多 Skills
session-workflow-capture
Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.
kitty-show-image
Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no /dev/tty.
kitty-session-persistence
Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.
kitty-remote-control
Safe kitty remote control from an agent — read panes with kitty @ ls/get-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.
docs-reference-check
Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved/deleted files, or wiring a doc-drift lint.
YouTube 视频上传与编辑
youtube-upload
通过 Data API v3 将视频上传到 YouTube,并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。