Borrowing it
Nothing to install: this file belongs to yoshimi-I/ai-engineer-teams. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yoshimi-I/ai-engineer-teams/main/.kiro/skills/bulletproof-react/SKILL.mdgit clone --depth 1 https://github.com/yoshimi-I/ai-engineer-teamsWrote 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/yoshimi-i/ai-engineer-teams/bulletproof-react)<a href="https://agentmods.dev/skills/yoshimi-i/ai-engineer-teams/bulletproof-react"><img src="https://agentmods.dev/badge/skills/yoshimi-i/ai-engineer-teams/bulletproof-react/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/yoshimi-i/ai-engineer-teams/bulletproof-react"><img src="https://agentmods.dev/badge/skills/yoshimi-i/ai-engineer-teams/bulletproof-react.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.00120 | $0.02142 |
| Opus 5.5 | $0.00048 | $0.00857 |
| Sonnet 5.5 | $0.00024 | $0.00428 |
| Haiku 4.5 | $0.00012 | $0.00214 |
Grade A, and why
bulletproof-react 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 1mo 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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bulletproof React — Feature-Based Colocation
featureごとにコード(コンポーネント、hooks、API、型、テスト)をコロケーションし、変更の影響範囲を局所化するフロントエンドアーキテクチャ。
使うべき時(使わないべき時)
| 使うべき時 | スキップすべき時 |
|---|---|
| 5画面以上のSPA/SSRアプリ | LP1枚、静的サイト |
| 複数人での並行開発 | ソロ開発の小規模アプリ |
| featureが独立して成長する | 全画面が密結合 |
| 長期運用(半年以上) | プロトタイプ、PoC |
コア原則
- featureによるコロケーション — 技術種別(components/, hooks/)ではなくfeature単位でグループ化
- 明示的な公開API — 各featureは
index.tsで公開するものだけをexport - 一方向の依存 — feature間の直接importは禁止。共有は
shared/経由 - レイヤーの分離 — UI / ロジック / データアクセスを分離
ディレクトリ構成
src/
├── app/ # アプリケーションのエントリポイント
│ ├── routes/ # ルーティング定義
│ ├── provider.tsx # 全体のProvider(QueryClient, Theme等)
│ └── main.tsx # エントリポイント
├── features/ # featureベースのモジュール
│ └── {feature-name}/
│ ├── api/ # API呼び出し(hooks + fetch関数)
│ ├── components/ # feature固有のUIコンポーネント
│ ├── hooks/ # feature固有のカスタムhooks
│ ├── stores/ # feature固有の状態管理
│ ├── types/ # feature固有の型定義
│ ├── utils/ # feature固有のユーティリティ
│ ├── __tests__/ # feature固有のテスト
│ └── index.ts # 公開API(これだけが外部からimport可能)
├── shared/ # feature横断の共有コード
│ ├── components/ # 汎用UIコンポーネント(Button, Modal等)
│ ├── hooks/ # 汎用hooks(useDebounce等)
│ ├── lib/ # 外部ライブラリのラッパー(axios, dayjs等)
│ ├── types/ # 共有型定義
│ └── utils/ # 共有ユーティリティ
└── test/ # テストユーティリティ、モック、セットアップ
クイック判断ツリー
「このコードはどこに置く?」
どこに置く?
├─ 1つのfeatureでしか使わない → features/{name}/ 内
├─ 2つ以上のfeatureで使う → shared/ に移動
├─ ルーティング定義 → app/routes/
├─ 全体Provider → app/provider.tsx
└─ テストヘルパー・モック → test/
「featureを分割すべきか?」
分割すべき?
├─ 独立してデプロイ/テストできる → 別feature
├─ 別チームが担当する → 別feature
├─ 常に一緒に変更される → 同じfeature
└─ 共有状態が多すぎる → 共有部分をshared/に抽出
What ships with it
3 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.
- 1mo ago First seen · 175 lines · 120 tokens per session scan A 7b2ef60c60a9
bulletproof-react is a skill published in the GitHub repository yoshimi-I/ai-engineer-teams (2 stars, last pushed 3mo ago), licensed MIT. It adds 120 tokens to every session and 2,142 once invoked, about $0.0005 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-31.
Other skills, from other repositories
react-frontend-patterns
React 19+, TypeScript, Tailwind CSS, shadcn/ui component patterns, accessibility, forms, state management. Use when building or reviewing React components, pages, or frontend architecture.
agent-spec-mobile-react-native
Agent skill for spec-mobile-react-native - invoke with $agent-spec-mobile-react-native.
moai-design-tools
Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.
moai-ref-react-patterns
React/Next.js component design patterns, state management strategies, and project structure reference for frontend development. Agent-extending skill that amplifies frontend domain work (spawned via Agent(general-purpose) with frontend instructions) with production-grade React patterns. NOT for: backend API design…
moai-domain-uiux
UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.
moai-domain-frontend
Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.