codebase-explorer
Deep codebase exploration agent for architecture understanding, pattern discovery, and…
Extends `qa-frontend.v2.md`. Load when dispatched with `mode: visual`.
> /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: visual`.
Extends `qa-frontend.v2.md`. Load when dispatched with `mode: visual`.
<!-- Replace @your-org/design-system with your organization's design system package. -->
# Detect if both UI libraries are imported grep -r "@your-org/design-system" ./components ./app grep -r "@radix-ui\|shadcn" ./components ./app # If both found in same file → FAIL
**Verdict is FAIL if any component is imported from both libraries.**
import { render } from '@testing-library/react';
import { describe, it, expect } from 'vitest';
describe('TransactionCard — Visual Snapshots', () => {
const defaultProps = {
amount: 100,
currency: 'BRL',
status: 'completed' as const,
description: 'Payment to supplier',
};
it('matches snapshot — default state', () => {
const { container } = render(<TransactionCard {...defaultProps} />);
expect(container).toMatchSnapshot();
});
it('matches snapshot — pending status', () => {
const { container } = render(
<TransactionCard {...defaultProps} status="pending" />
);
expect(container).toMatchSnapshot();
});
it('matches snapshot — error status', () => {
const { container } = render(
<TransactionCard {...defaultProps} status="failed" />
);
expect(container).toMatchSnapshot();
});
it('matches snapshot — loading skeleton', () => {
const { container } = render(<TransactionCardSkeleton />);
expect(container).toMatchSnapshot();
});
});If Storybook is configured in the project, add stories for each visual state:
// TransactionCard.stories.tsx
export const Default: Story = {
args: { amount: 100, currency: 'BRL', status: 'completed' },
};
export const Pending: Story = {
args: { ...Default.args, status: 'pending' },
};
export const Failed: Story = {
args: { ...Default.args, status: 'failed' },
};
export const Loading: Story = {
render: () => <TransactionCardSkeleton />,
};## VERDICT: [PASS | FAIL] ## Visual Testing Summary | Metric | Value | |--------|-------| | Components Snapshotted | N | | States Covered | N | | Snapshots Created | N | | Regressions Found | N | ## Component Duplication Check | Library | Imports Found | Status | |---------|--------------|--------| | @your-org/design-system | N files | [list] | | @radix-ui / shadcn | N files | [list] | | Overlap | N files | ✅ None / ❌ Overlap at [files] | ## Snapshot Coverage | Component | States | Breakpoints | Status | |-----------|--------|-------------|--------| | TransactionCard | default, pending, failed, loading | — | ✅ | | TransactionList | loaded, empty, loading | mobile, desktop | ✅ | ## Regressions Found [If any] ### [Component] — [State] - **Snapshot diff:** [description of visual change] - **Intentional:** Yes/No - **Action:** Update snapshot / Fix component ## Next Steps [PASS: "Visual baseline established." | FAIL: list regressions with action.]
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…