Vibe Testing Methodology
БесплатноБез исполняемых скриптовНе проверенNatural language test automation methodology where tests are written as plain English instructions, leveraging AI agents to interpret intent, generate…
от PramodDutta★ 253 звезды на GitHubОб этом скилле
Vibe Testing Methodology Skill
You are an expert in vibe testing, the methodology where tests are expressed as natural language instructions that AI agents interpret and execute. When the user asks you to implement vibe testing workflows, create natural language test specifications, or build intent-based test automation systems, follow these detailed instructions.
Core Principles
- Intent over implementation -- Tests describe what to verify, not how to verify it. The AI agent determines the optimal selectors, waits, and assertions at runtime.
- Natural language as the test specification -- Tests are written in plain English that non-technical stakeholders can read, write, and review.
- Dynamic selector resolution -- Instead of hardcoded selectors, the AI analyzes the page structure at runtime to find the right elements based on natural language descriptions.
- Self-maintaining tests -- When the UI changes, vibe tests adapt automatically because they match on intent rather than specific DOM structures.
- Accessibility-first interaction -- Vibe testing naturally aligns with accessibility because it interacts with elements the way a user would describe them, using labels and roles.
- Gradual formalization -- Start with loose natural language tests for exploration, then progressively add more specific assertions as the application stabilizes.
- Transparent execution -- Every interpreted step must be logged with the actual selector used, the action taken, and the assertion applied so failures are debuggable.
Project Structure
vibe-tests/
specs/
auth/
login.vibe.md
registration.vibe.md
password-reset.vibe.md
checkout/
add-to-cart.vibe.md
payment.vibe.md
order-confirmation.vibe.md
dashboard/
navigation.vibe.md
settings.vibe.md
engine/
interpreter.ts
action-resolver.ts
assertion-resolver.ts
element-finder.ts
step-executor.ts
runners/
vibe-runner.ts
parallel-runner.ts
ci-runner.ts
reporters/
execution-log.ts
step-trace.ts
failure-analyzer.ts
config/
vibe-config.ts
ai-config.ts
fixtures/
test-data.ts
environment.ts
Vibe Test Specification Format
<!-- specs/auth/login.vibe.md -->
# Login Flow
## Setup
- Navigate to the login page
- Ensure the page has loaded completely
## Test: Successful login with valid credentials
1. Enter "[email protected]" in the email field
2. Enter "SecurePassword123" in the password field
3. Click the login button
4. Verify you are redirected to the dashboard
5. Verify the welcome message contains "testuser"
## Test: Failed login with wrong password
1. Enter "[email protected]" in the email field
2. Enter "WrongPassword" in the password field
3. Click the login button
4. Verify an error message appears
5. Verify the error mentions invalid credentials
6. Verify you remain on the login page
## Test: Login form validation
1. Click the login button without filling any fields
2. Verify the email field shows a validation error
3. Enter "not-an-email" in the email field
4. Verify the email field shows an invalid format error
5. Clear the email field
6. Enter "[email protected]" in the email field
7. Verify the email validation error disappears
## Cleanup
- If logged in, click the logout button
Vibe Test Interpreter
// vibe-tests/engine/interpreter.ts
import Anthropic from '@anthropic-ai/sdk';
export interface VibeStep {
raw: string;
action: 'navigate' | 'click' | 'fill' | 'select' | 'assert' | 'wait' | 'clear' | 'hover' | 'scroll';
target?: string;
value?: string;
assertion?: {
type: 'visible' | 'text' | 'url' | 'hidden' | 'enabled' | 'disabled' | 'contains';
expected?: string;
};
confidence: number;
}
export interface VibeTest {
name: string;
setup: string[];
steps: string[];
cleanup: string[];
}
export class VibeInterpreter {
private client: Anthropic;
constructor() {
this.client = new Anthropic();
}
parseSpecFile(content: string): VibeTest[] {
const tests: VibeTest[] = [];
const sections = content.split(/^## /m).filter(Boolean);
let setup: string[] = [];
let cleanup: string[] = [];
for (const section of sections) {
const lines = section.trim().split('\n');
const heading = lines[0].trim();
if (heading.toLowerCase().startsWith('setup')) {
setup = this.extractSteps(lines.slice(1));
} else if (heading.toLowerCase().startsWith('cleanup')) {
cleanup = this.extractSteps(lines.slice(1));
} else if (heading.toLowerCase().startsWith('test:')) {
const testName = heading.replace(/^test:\s*/i, '').trim();
const steps = this.extractSteps(lines.slice(1));
tests.push({ name: testName, setup: [...setup], steps, cleanup: [...cleanup] });
}
}
return tests;
}
async interpretStep(step: string, pageContext?: string): Promise<Vib
Установить Vibe Testing Methodology в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Vibe Testing Methodology?
Natural language test automation methodology where tests are written as plain English instructions, leveraging AI agents to interpret intent, generate executable tests, and maintain test suites without traditional code-based selectors or assertions.
Как установить скилл Vibe Testing Methodology?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Vibe Testing Methodology запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic