Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add thapaliyabikendra/ai-artifacts --skill react-development-patternsgit clone --depth 1 https://github.com/thapaliyabikendra/ai-artifactsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/react-development-patterns)<a href="https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/react-development-patterns"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/react-development-patterns/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/react-development-patterns"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/react-development-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.02072 |
| Opus 5 | $0.00028 | $0.01036 |
| Sonnet 5 | $0.00011 | $0.00414 |
| Haiku 4.5 | $0.00006 | $0.00207 |
Grade A, and why
react-development-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 293 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Development Patterns
React 18+ patterns for building modern, accessible, type-safe user interfaces.
When to Use
- Building React components with TypeScript
- Designing UI wireframes and user flows
- Implementing state management
- Creating API service layers
- Writing accessible frontend code
Component Patterns
Basic Component
import { FC } from 'react';
interface {Component}Props {
title: string;
variant?: 'primary' | 'secondary';
disabled?: boolean;
onClick?: () => void;
}
export const {Component}: FC<{Component}Props> = ({
title,
variant = 'primary',
disabled = false,
onClick,
}) => {
return (
<button
className={`btn btn-${variant}`}
disabled={disabled}
onClick={onClick}
>
{title}
</button>
);
};
Data Fetching Component
import { FC } from 'react';
import { useQuery } from '@tanstack/react-query';
import { {entity}Service } from '@/services/{entity}Service';
import type { {Entity}Dto } from '@/types';
interface {Entity}ListProps {
onSelect: (entity: {Entity}Dto) => void;
}
export const {Entity}List: FC<{Entity}ListProps> = ({ onSelect }) => {
const { data, isLoading, error } = useQuery({
queryKey: ['{entities}'],
queryFn: {entity}Service.getAll,
});
if (isLoading) return <Skeleton count={5} />;
if (error) return <ErrorMessage error={error} />;
if (!data?.length) return <EmptyState message="No items found" />;
return (
<ul role="list" aria-label="{Entity} list">
{data.map((entity) => (
<{Entity}Card
key={entity.id}
entity={entity}
onClick={() => onSelect(entity)}
/>
))}
</ul>
);
};
API Service Pattern
import { api } from '@/lib/api';
import type { {Entity}Dto, Create{Entity}Dto, PagedResult } from '@/types';
export const {entity}Service = {
getAll: async (params?: { skip?: number; take?: number }): Promise<PagedResult<{Entity}Dto>> => {
const response = await api.get('/api/app/{entities}', { params });
return response.data;
},
getById: async (id: string): Promise<{Entity}Dto> => {
const response = await api.get(`/api/app/{entities}/${id}`);
return response.data;
},
create: async (data: Create{Entity}Dto): Promise<{Entity}Dto> => {
const response = await api.post('/api/app/{entities}', data);
return response.data;
},
update: async (id: string, data: Partial<Create{Entity}Dto>): Promise<{Entity}Dto> => {
const response = await api.put(`/api/app/{entities}/${id}`, data);
return response.data;
},
delete: async (id: string): Promise<void> => {
await api.delete(`/api/app/{entities}/${id}`);
},
};
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 293 lines · 56 tokens per session scan A f79d994f1f3a
react-development-patterns is a skill published in the GitHub repository thapaliyabikendra/ai-artifacts (24 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 2,072 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
react-core
General React fundamentals - components and JSX, props and state, the core hooks (useState/useEffect/useRef/useMemo/useCallback/useContext), composition, conditional and list rendering, and controlled inputs. The canonical "depends on React" reference.
accessibility
Accessibility patterns for WCAG 2.2 compliance, keyboard focus management, React Aria component patterns, cognitive inclusion, native HTML-first philosophy, and user preference honoring. Use when implementing screen reader support, keyboard navigation, ARIA patterns, focus traps, accessible component libraries…
Accessibility Audit Helper
Reviews UI code and components for WCAG 2.1 accessibility violations and provides specific fixes.
goey-toast
Install and use goey-toast — a gooey, morphing React toast component built on Sonner with Framer Motion. Use when adding toast/notification UI to a React app (success/error/warning/info/promise toasts), or when the user mentions goey-toast / gooey toast.
design-to-code
Mockup-to-component pipeline using Google Stitch, 21st.dev, and Storybook MCP. Accepts a screenshot, a description, or a URL and produces production-ready React components, checking existing Storybook components before generating anything new. Use when implementing UI from a mockup or screenshot. To call the MCP tool…
Accessibility Auditor
Comprehensive WCAG 2.1 AA compliance testing combining automated axe-core scans with manual keyboard navigation, screen reader compatibility, and focus management verification.