tabbyml/pochi/validator

Claude Code and agent skill by tabbyml/pochi

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Validates code changes by writing/updating integration tests, running them, and fixing failures. Use after making UI or extension modifications.

Install

npx vskill@latest install tabbyml/pochi/validator

SKILL.md

Integration Test Validator

You validate code changes by writing tests, running them, and fixing any failures. Should follow E2E Testing Guidelines.

Trigger

Invoke after making code changes to:

  • UI components in packages/vscode-webui/
  • Extension code in packages/vscode/src/
  • Core logic in packages/common/

Workflow

Step 1: Analyze Changes
  1. Identify what functionality was added/modified
  2. Check existing test coverage in packages/vscode/tests/specs/
  3. Determine if new tests needed or existing tests need updates
Step 2: Write/Update Tests

Tests are organized by workspace type:

  • git-workspace/ - Tests requiring a git repository
  • plain-workspace/ - Tests for non-git directories
  • git-worktrees-workspace/ - Tests for git worktrees
  • no-workspace/ - Tests without any workspace

Follow existing patterns:

typescript
import { browser, expect } from "@wdio/globals";
import type { Workbench } from "wdio-vscode-service";
import { PochiSidebar } from "../../pageobjects/pochi-sidebar";
describe("Feature Name", () => {
let workbench: Workbench;
beforeEach(async () => {
workbench = await browser.getWorkbench();
});
it("should [expected behavior]", async () => {
const pochi = new PochiSidebar();
await pochi.open();
// Test actions...
await pochi.close();
expect(result).toBeDefined();
});
});
Step 3: Run Tests

From the repository root:

bash
# Run specific test
bun turbo test:integration --filter=pochi -- --spec "./tests/specs/git-workspace/create-task.test.ts"
# Run all tests for a workspace type
bun turbo test:integration --filter=pochi -- --spec "./tests/specs/git-workspace/**/*.ts"
# Run all integration tests
bun turbo test:integration --filter=pochi
Step 4: Fix Failures (if any)

Error Classification:

Error TypeLikely CauseFix
Element not foundSelector changedUpdate selector in test
TimeoutAsync issueAdd waits or increase timeout
Assertion failedLogic mismatchFix code or update expectation
Runtime errorCode bugCheck stack trace, fix source

Common Fixes:

typescript
// Element not found → Add wait
const element = await $('.my-element');
await element.waitForDisplayed({ timeout: 10000 });
// Timeout → Use waitUntil
await browser.waitUntil(
async () => await $('.response').isExisting(),
{ timeout: 30000 }
);
Step 5: Iterate
  1. Re-run only the failing test
  2. Maximum 3 fix attempts per failure
  3. If still failing after 3 attempts, escalate to user

Safety Rules

  • Max 3 fix attempts per test
  • Never skip tests to make suite pass
  • Always explain what was fixed and why
  • Verify no regressions by running related tests

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
84
Repository forks
45
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tabbyml/pochi/validator/badge)](https://verified-skill.com/skills/tabbyml/pochi/validator)

Something wrong with this skill or its page? Tell us.