Jakeschincariol/replica-skill / replica-test
replica-test
VerifiedClicks through every flow of an app clone and tests it for bugs: a test plan generated from the recon flows with happy paths and edge cases, Playwright end-to-end tests where possible, a browser click-through where not, and bug reports in a fixed format with severity, steps and evidence. Use when the user says "test my clone", "find bugs", "QA this", "click through everything", "write e2e tests", "does it work", or after /replica-build or /replica-backend.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.2 KB |
| bug-report.md | markdown | 462 B |
| e2e.example.spec.ts | script | 1.8 KB |
| test-plan.md | markdown | 671 B |
e2e.example.spec.ts
View on GitHub// Example Playwright spec for one flow. Copy to e2e/f01-book.spec.ts and adapt.
// Selectors use roles and labels, so they survive restyling and the rebrand.
import { test, expect } from '@playwright/test';
import AxeBuilder from '@axe-core/playwright';
test.describe('F01 guest books a meeting', () => {
test.beforeEach(async ({ page }) => {
page.on('console', (msg) => {
if (msg.type() === 'error') throw new Error(`console error: ${msg.text()}`);
});
page.on('response', (res) => {
if (res.status() >= 500) throw new Error(`${res.status()} on ${res.url()}`);
});
});
test('F01-H1 happy path', async ({ page }) => {
await page.goto('/u/demo/30min');
await page.getByRole('button', { name: /next available day/i }).click();
await page.getByRole('button', { name: /10:00/ }).click();
await page.getByLabel('Name').fill('Test Guest');
await page.getByLabel('Email').fill('guest@example.test');
await page.getByRole('button', { name: /confirm/i }).click();
await expect(page.getByRole('heading', { name: /you are booked/i })).toBeVisible();
const a11y = await new AxeBuilder({ page }).analyze();
expect(a11y.violations).toEqual([]);
});
test('F01-E1 double submit creates one booking', async ({ page }) => {
await page.goto('/u/demo/30min');
await page.getByRole('button', { name: /next available day/i }).click();
await page.getByRole('button', { name: /11:00/ }).click();
await page.getByLabel('Name').fill('Twice');
await page.getByLabel('Email').fill('twice@example.test');
const confirm = page.getByRole('button', { name: /confirm/i });
await Promise.all([confirm.click(), confirm.click()]);
await expect(page.getByRole('heading', { name: /you are booked/i })).toBeVisible();
// Then assert through your API or DB helper that exactly one booking exists.
});
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |