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 makigjuro/cloudstack-ai-plugins --skill react-conventionsgit clone --depth 1 https://github.com/makigjuro/cloudstack-ai-pluginsWrote 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/makigjuro/cloudstack-ai-plugins/react-conventions)<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/react-conventions"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/react-conventions/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/makigjuro/cloudstack-ai-plugins/react-conventions"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/react-conventions.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.00039 | $0.00757 |
| Opus 5.5 | $0.00016 | $0.00303 |
| Sonnet 5.5 | $0.00008 | $0.00151 |
| Haiku 4.5 | $0.00004 | $0.00076 |
Grade A, and why
react-conventions 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 4d 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Frontend Rules
These rules apply to React + TypeScript frontend code. Adapt paths based on the project's cloudstack.json frontend.path setting (default: web).
API Client
- Centralize HTTP calls through a single API client (Axios instance, fetch wrapper, or similar)
- Request interceptor adds auth: JWT Bearer token or API key header from auth store
- Response interceptor handles 401 -> redirect to login
- All API calls should be typed —
Promise<T>return types, no implicitany - Define an error class or type with code, status, and details fields for consistent error handling
API Services
- Organize by domain: one file per resource (e.g.,
users.api.ts,orders.api.ts,products.api.ts) - Functions return typed
Promise<T> - Use
URLSearchParamsfor query parameters - Pagination via standard params (e.g.,
pageNumberandpageSizeorpageandlimit) - Response mapping functions to convert API shapes to frontend types when needed
- If the project uses multi-tenancy, apply tenant scoping consistently across all API calls
State Management
Server State
Use TanStack Query (React Query), SWR, or RTK Query — whichever the project uses:
-
TanStack Query:
- One hook per query/mutation:
useUsers(),useCreateUser() - Query hooks:
useQuery({ queryKey: [...], queryFn: ... }) - Mutation hooks:
useMutation({ mutationFn: ..., onSuccess: ... }) - Invalidate queries on mutations:
queryClient.invalidateQueries({ queryKey: [...] }) - Stale time: 30-60 seconds, refetch intervals: 60 seconds for live data
- One hook per query/mutation:
-
SWR:
- Use
useSWRfor reads,useSWRMutationfor writes - Use
mutatefor cache invalidation
- Use
-
RTK Query:
- Define endpoints in API slices with
createApi - Use generated hooks (
useGetUsersQuery,useCreateUserMutation)
- Define endpoints in API slices with
Client State
Use Zustand, Redux, Jotai, or whatever the project uses:
- Auth store: stores user info, tokens, authentication state
- Persist to localStorage with selective field storage (don't persist sensitive data unnecessarily)
- Keep client state minimal — prefer server state for anything fetched from APIs
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.
- 4d ago First seen · 78 lines · 39 tokens per session scan A b8110c953d6c
react-conventions is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 4d ago), licensed MIT. It adds 39 tokens to every session and 757 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-10-21.
Other skills, from other repositories
react-frontend
React, TypeScript, and Next.js patterns for frontend development. Use when building React components, managing state, fetching data, optimizing performance, or working with Next.js App Router. Covers React 18-19, hooks, Server Components, and type-safe patterns.
ia-react-frontend
React architecture patterns, TypeScript, Next.js, hooks, and testing. Use when working with React component structure, state management, Next.js routing, Vitest, React Testing Library, reviewing React code, or synchronizing JSON locales and reviewing translations in a React or frontend interface. For visual design and…
frontend-ai-guide
Applies React/TypeScript-specific technical decision criteria, anti-pattern detection, debugging, and frontend quality gates. Use when reviewing components, hooks, browser behavior, or frontend implementation completeness.
typescript-rules
React/TypeScript frontend development rules including type safety, component design, state management, and error handling. Use when implementing React components, TypeScript code, or frontend features.
tanstack-form-composition
Migrate a React @tanstack/react-form codebase from the prop-drilled useForm + erased-form-type pattern to the official createFormHook composition API (useAppForm / withForm / field.X). Use when a project threads a form object (often cast to an any-erased type like ReactFormExtendedApi ) through field-wrapper…
react-patterns
React + TypeScript component and hook standards. TRIGGER when: creating components, custom hooks, or reviewing React code. SKIP: visual styling and theme tokens (use mui-styling); global store design (use state-management).