跳到正文
cccskills
免费在 GitHub 公开

ck:test

Run unit, integration, e2e, and UI tests. Use for test execution, coverage analysis, build verification, visual regression, and QA reports.

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

查看安装方法

包含的文件(4)

  • SKILL.md4.2 KB
  • references/report-format.md1.7 KB
  • references/test-execution-workflow.md2.6 KB
  • references/ui-testing-workflow.md2.3 KB

SKILL.md(原文)

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

Testing & Quality Assurance

Comprehensive testing framework covering code-level testing (unit, integration, e2e), UI/visual testing via browser automation, coverage analysis, and structured QA reporting.

Default (No Arguments)

If invoked with context (test scope), proceed with testing. If invoked WITHOUT arguments, ask the user to choose available test operations:

OperationDescription
(default)Run unit/integration/e2e tests
uiRun UI tests on a website

Present options with header "Test Operation", question "What would you like to do?".

Core Principle

NEVER IGNORE FAILING TESTS. Fix root causes, not symptoms. No mocks/cheats/tricks to pass builds.

When to Use

  • After implementation: Validate new features or bug fixes
  • Coverage checks: Ensure coverage meets project thresholds (80%+)
  • UI verification: Visual regression, responsive layout, accessibility
  • Build validation: Verify build process, dependencies, CI/CD compatibility
  • Pre-commit/push: Final quality gate

Workflows

1. Code Testing (references/test-execution-workflow.md)

Execute test suites, analyze results, generate coverage. Supports JS/TS (Jest/Vitest/Mocha), Python (pytest), Go, Rust, Flutter. Includes working process, quality standards, and tool commands.

Load when: Running unit/integration/e2e tests, checking coverage, validating builds

2. UI Testing (references/ui-testing-workflow.md)

Browser-based visual testing via ck:chrome-devtools skill. Screenshots, responsive checks, accessibility audits, form automation, console error collection. Includes auth injection for protected routes.

Load when: Visual regression testing, UI bugs, responsive layout checks, accessibility audits

3. Report Format (references/report-format.md)

Structured QA report template: test results overview, coverage metrics, failed tests, performance, build status, recommendations.

Load when: Generating test summary reports

Quick Reference

Code tests     → test-execution-workflow.md
  npm test / pytest / go test / cargo test / flutter test
  Coverage: npm run test:coverage / pytest --cov

UI tests       → ui-testing-workflow.md
  Screenshots, responsive, a11y, forms, console errors
  Auth: inject-auth.js for protected routes

Reports        → report-format.md
  Structured QA summary with metrics & recommendations

Working Process

  1. Identify testing scope from recent changes or requirements
  2. Run typecheck/analyze commands to catch syntax errors first
  3. Execute appropriate test suites
  4. Analyze results — focus on failures
  5. Generate coverage reports if applicable
  6. For frontend: run UI tests via ck:chrome-devtools skill
  7. Produce structured summary report

Tools Integration

  • Test runners: Jest, Vitest, Mocha, pytest, go test, cargo test, flutter test
  • Coverage: Istanbul/c8/nyc, pytest-cov, go cover
  • Browser: ck:chrome-devtools skill for UI testing (screenshots, ARIA, console, network)
  • Analysis: ck:ai-multimodal skill for screenshot analysis
  • Debugging: ck:debug skill when tests reveal bugs requiring investigation
  • Thinking: ck:sequential-thinking skill for complex test failure analysis

Quality Standards

  • All critical paths must have test coverage
  • Validate happy path AND error scenarios
  • Ensure test isolation — no interdependencies
  • Tests must be deterministic and reproducible
  • Clean up test data after execution
  • Never ignore failing tests to pass the build

Report Output

Use naming pattern from ## Naming section injected by hooks.

Team Mode

When operating as teammate:

  1. On start: check tracked task list, claim assigned/next unblocked task via tracked task update
  2. Read full task description via TaskGet before starting
  3. Wait for blocked tasks (implementation) to complete before testing
  4. Respect file ownership — only create/edit test files assigned
  5. When done: tracked task update(status: "completed") then SendMessage results to lead

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).

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

manhvann/codexkit892026年8月29日 更新

Generate images via Nano Banana with 129 curated prompts. Mandatory validation interview refines style/mood/colors (use --skip to bypass). 3 modes: search, creative, wild. Styles: Ukiyo-e, Bento grid, cyberpunk, cinematic, vintage patent.

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

manhvann/codexkit892026年8月29日 更新

Analyze images/audio/video with Gemini API (better vision than Codex). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

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

manhvann/codexkit892026年8月29日 更新

ck:ask

免费

Answer technical and architectural questions with expert consultation.

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

manhvann/codexkit892026年8月29日 更新

Build backends with Node.js, Python, Go (NestJS, FastAPI, Django). Use for REST/GraphQL/gRPC APIs, auth (OAuth, JWT), databases, microservices, security (OWASP), Docker/K8s.

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

manhvann/codexkit892026年8月29日 更新

Add authentication with Better Auth (TypeScript). Use for email/password, OAuth providers (Google, GitHub), 2FA/MFA, passkeys/WebAuthn, sessions, RBAC, rate limiting.

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

manhvann/codexkit892026年8月29日 更新

查看 manhvann 的全部技能

报告此技能的问题