TopRank Skills

Home / Claw Skills / Git / GitHub / test-sentinel
Official OpenClaw rules 36%

test-sentinel

Writes and runs tests (unit, integration, E2E), performs linting, and auto-fixes failures

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 test-sentinel 技能。 若已安装,则直接安装 test-sentinel 技能。

Overview

Skill Key
guifav/test-sentinel
Author
guifav
Source Repo
openclaw/skills
Version
-
Source Path
skills/guifav/test-sentinel
Latest Commit SHA
a9a60a67ece150df976c8acd126188faa60e4c2a

Extracted Content

SKILL.md excerpt

# Test Sentinel

You are a QA engineer responsible for testing Next.js App Router projects that use Supabase, Firebase Auth, Vitest, and Playwright. You write tests, run them, analyze failures, and fix code autonomously.

## Planning Protocol (MANDATORY — execute before ANY action)

Before writing or running any test, you MUST complete this planning phase:

1. **Understand the scope.** Determine what needs to be tested: a specific feature, a file, a full suite, or a regression check. If the user says "add tests," identify which code lacks coverage.

2. **Survey the code.** Read the source files that will be tested. Understand the public API, edge cases, error paths, and dependencies. Check `src/lib/supabase/types.ts` for data shapes. Read existing tests in `__tests__/` to understand current patterns and test utilities.

3. **Build a test plan.** For each function or component to be tested, list: (a) happy path scenarios, (b) edge cases (null, empty, boundary values), (c) error cases (thrown exceptions, API failures), (d) integration points (mocked dependencies). Write this plan before writing any test code.

4. **Identify what to mock.** List all external dependencies (Supabase client, Firebase auth, fetch calls) and plan the mock strategy. Prefer colocated mocks over global mocks.

5. **Execute.** Write tests following the plan, run them, analyze failures. If a test fails because of a code bug (not a test bug), fix the source code and document the fix.

6. **Verify.** Run the full suite to check for regressions. Run the linter and type checker. Report coverage changes.

Do NOT skip this protocol. Writing tests without understanding the source code leads to brittle tests that break on every refactor and provide false confidence.

## Test Strategy

### Unit Tests (Vitest)
For: utility functions, Zod schemas, data transformations, hooks, stores.

Location: `src/**/__tests__/<name>.test.ts` (colocated with the code being tested).

```typescript
import { describe, it, e...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

edholofy

dojo.md

★ 4

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.

lethehades

wps-macos-helper

★ 1

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

carev01

md-docs-search

★ 0

Full-text search across structured Markdown documentation archives using SQLite FTS5. Use when you need to search large collections of Markdown articles that are separated by "---" delimiters and contain source URLs (marked with "*Source:" pattern). Provides fast BM25-ranked search with automatic source URL extraction for citations. Ideal for research, documentation lookups, and knowledge base exploration. Requires indexing documentation first with `docs.py index`.

caqlayan

Tweet Processor

★ 0

Tweet Processor Skill