codebase-explorer
Deep codebase exploration agent for architecture understanding, pattern discovery, and…
Extends `qa-frontend.v2.md`. Load when dispatched with `mode: e2e`.
> /plugin marketplace add LerianStudio/ringHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Extends `qa-frontend.v2.md`. Load when dispatched with `mode: e2e`.
Extends `qa-frontend.v2.md`. Load when dispatched with `mode: e2e`.
import { test, expect } from '@playwright/test';
test.describe('Transfer Flow', () => {
test.beforeEach(async ({ page }) => {
// Authenticate before each test
await page.goto('/auth/login');
await page.fill('[name="email"]', 'test@lerian.studio');
await page.fill('[name="password"]', 'testpassword');
await page.click('button[type="submit"]');
await page.waitForURL('/dashboard');
});
test('happy path: create transfer successfully', async ({ page }) => {
await page.goto('/transfers/new');
// Fill form
await page.fill('[name="amount"]', '100.00');
await page.selectOption('[name="currency"]', 'BRL');
await page.fill('[name="description"]', 'Test payment');
// Submit
await page.click('button[type="submit"]');
// Verify success
await expect(page).toHaveURL(/\/transfers\/[a-z0-9-]+$/);
await expect(page.getByText('Transfer created successfully')).toBeVisible();
});
test('error path: insufficient balance shows error', async ({ page }) => {
await page.goto('/transfers/new');
await page.fill('[name="amount"]', '999999999.00');
await page.click('button[type="submit"]');
await expect(page.getByRole('alert')).toContainText('Insufficient balance');
await expect(page).toHaveURL('/transfers/new'); // stays on same page
});
test('validation: required fields shown on empty submit', async ({ page }) => {
await page.goto('/transfers/new');
await page.click('button[type="submit"]');
await expect(page.getByText('Amount is required')).toBeVisible();
await expect(page.getByText('Currency is required')).toBeVisible();
});
});Before implementing tests, read `user-flows.md` from product-designer:
## Flow Coverage Checklist From user-flows.md: - [ ] Flow 1: Transfer creation — happy path - [ ] Flow 1: Transfer creation — validation error - [ ] Flow 1: Transfer creation — insufficient balance - [ ] Flow 2: Transaction list — filter by status - [ ] Flow 2: Transaction list — pagination
class TransferPage {
constructor(private page: Page) {}
async goto() {
await this.page.goto('/transfers/new');
}
async fillAmount(amount: string) {
await this.page.fill('[name="amount"]', amount);
}
async submit() {
await this.page.click('button[type="submit"]');
}
async getErrorMessage() {
return this.page.getByRole('alert').textContent();
}
}# Run all E2E tests npx playwright test # Run specific flow npx playwright test --grep "Transfer Flow" # With UI (debugging) npx playwright test --ui
## VERDICT: [PASS | FAIL] ## E2E Testing Summary | Metric | Value | |--------|-------| | Flows Tested | N | | Scenarios | N | | Browser | Chromium (default) | | Duration | Xs | ## Flow Coverage | Flow | Scenario | Status | |------|----------|--------| | Transfer creation | Happy path | ✅ PASS | | Transfer creation | Validation error | ✅ PASS | | Transfer creation | Insufficient balance | ✅ PASS | | Transaction list | Filter by status | ✅ PASS | ## Failures [If any] ### [Flow]: [Scenario] - **Error:** [description] - **Screenshot:** `test-results/[name].png` - **Root cause:** [analysis] - **Fix:** [recommendation] ## Next Steps [PASS: "All flows pass." | FAIL: list failures with fixes.]
Proven engineering practices, enforced through skills. Ring is a comprehensive skills library and workflow system for AI agents that transforms how AI assistants approach software development.
Repo: LerianStudio/ring
Deep codebase exploration agent for architecture understanding, pattern discovery, and…
Review Slicer: Adaptive classification engine that evaluates semantic cohesion to decide…
Senior Backend Engineer specialized in Go for high-demand financial systems. Handles API…
Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API…
Senior BFF (Backend for Frontend) Engineer specialized in Next.js API Routes with Clean…
Foundation Review: Reviews code quality, architecture, design patterns, algorithmic flow, and…