Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/bdiasti/maestro-bundle-clinpx agentmods add skills/bdiasti/maestro-bundle-cli/react-patternsWrote 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/bdiasti/maestro-bundle-cli/react-patterns)<a href="https://agentmods.dev/skills/bdiasti/maestro-bundle-cli/react-patterns"><img src="https://agentmods.dev/badge/skills/bdiasti/maestro-bundle-cli/react-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/bdiasti/maestro-bundle-cli/react-patterns"><img src="https://agentmods.dev/badge/skills/bdiasti/maestro-bundle-cli/react-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.00049 | $0.02021 |
| Opus 5.5 | $0.00020 | $0.00808 |
| Sonnet 5.5 | $0.00010 | $0.00404 |
| Haiku 4.5 | $0.00005 | $0.00202 |
Grade A, and why
react-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 2mo 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 — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Patterns
Apply proven React + TypeScript patterns for scalable, maintainable frontend code.
When to Use
- User needs to create a custom hook for data fetching or shared logic
- User wants to structure a feature using container/presenter pattern
- User needs to build a form with validation (React Hook Form + Zod)
- User wants to add error boundaries to catch rendering errors
- User needs to compose components instead of using deep prop drilling
Available Operations
- Create custom hooks for data fetching with React Query
- Build components using composition pattern (slots, children)
- Implement container/presenter separation
- Add error boundaries with recovery
- Build validated forms with React Hook Form + Zod
Multi-Step Workflow
Step 1: Set Up Project Dependencies
npm install @tanstack/react-query react-hook-form @hookform/resolvers zod react-error-boundary
npm install -D @types/react @types/react-dom typescript
Step 2: Create Custom Hooks for Data Fetching
// src/hooks/useItems.ts
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
import { itemApi } from '../services/itemApi';
import { toast } from 'sonner';
export function useItems(filters?: ItemFilters) {
return useQuery({
queryKey: ['items', filters],
queryFn: () => itemApi.list(filters),
staleTime: 30_000,
});
}
export function useItem(id: string) {
return useQuery({
queryKey: ['items', id],
queryFn: () => itemApi.get(id),
enabled: !!id,
});
}
export function useCreateItem() {
const queryClient = useQueryClient();
return useMutation({
mutationFn: itemApi.create,
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: ['items'] });
toast.success('Item created');
},
onError: (err) => toast.error(err.message),
});
}
Step 3: Build Components with Composition
// src/components/Card.tsx
interface CardProps {
children: React.ReactNode;
className?: string;
}
export function Card({ children, className }: CardProps) {
return <div className={cn('rounded-lg border bg-white shadow-sm', className)}>{children}</div>;
}
Card.Header = function CardHeader({ children }: { children: React.ReactNode }) {
return <div className="flex items-center justify-between p-4 border-b">{children}</div>;
};
Card.Content = function CardContent({ children }: { children: React.ReactNode }) {
return <div className="p-4">{children}</div>;
};
Card.Footer = function CardFooter({ children }: { children: React.ReactNode }) {
return <div className="p-4 border-t bg-gray-50">{children}</div>;
};
// Usage:
<Card>
<Card.Header>
<h3>{item.title}</h3>
<StatusBadge status={item.status} />
</Card.Header>
<Card.Content>
<p>{item.description}</p>
</Card.Content>
<Card.Footer>
<ProgressBar value={item.progress} />
</Card.Footer>
</Card>
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 256 lines · 49 tokens per session scan A a54013d66682
react-patterns is a skill published in the GitHub repository bdiasti/maestro-bundle-cli (22 stars, last pushed 7mo ago), licensed MIT. It adds 49 tokens to every session and 2,021 once invoked, about $0.0002 per session on Opus 5.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-08-30.
react-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-patternsbdiasti/maestro-bundle-cli | Skill | 22 | 7mo ago | MIT | A | 49 | Claude Code, Codex |
| custom-featuresTanStack/table | Skill | 29k | 10d ago | MIT | A | 35 | Claude Code, Codex |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 9d ago | MIT | A | 84 | Claude Code, Codex |
| port-sacred-terminal-ui-to-typescript-cliinternet-development/www-sacred | Skill | 1.6k | 9d ago | MIT | A | 0 | Claude Code, Codex |
| adding-personhog-rpcPostHog/posthog | Skill | 41k | today | none | A | 88 | Claude Code, Codex |
| splitting-oversized-modulesPostHog/posthog | Skill | 41k | today | none | A | 197 | Claude Code, Codex |
| writing-dataclassesPostHog/posthog | Skill | 41k | today | none | A | 157 | Claude Code, Codex |