ai-engineer-teams: Skill for Kiro

.kiro/skills/bulletproof-react/SKILL.md

bulletproof-react is a skill for Kiro from yoshimi-I/ai-engineer-teams. It costs 120 tokens per session (2,142 once invoked), scanned A, original, MIT.

A front-end architecture guide for organizing a web application by feature, with each feature keeping its related screens, logic, data calls, types, and tests together. It also defines how features expose code and share common parts.

In plain words
What is it for?
Use it when designing directories, components, state management, API code, or dependency rules in a multi-screen front-end application.
Why use it?
It helps prevent a growing application from becoming a tangle of unrelated folders and dependencies. Keeping changes near the feature they affect can make larger projects easier to review and maintain.

Skill for Kiro

Written for Kiro: installed under .kiro/.

This is yoshimi-I/ai-engineer-teams's own configuration. It tells Kiro how to work on ai-engineer-teams itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-engineer-teams configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import type { Todo } from '../types';.

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/yoshimi-I/ai-engineer-teams/main/.kiro/skills/bulletproof-react/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yoshimi-I/ai-engineer-teams

Made for: Kiro.

Wrote 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.

agentmods badge for bulletproof-react

README.md
[![agentmods](https://agentmods.dev/badge/skills/yoshimi-i/ai-engineer-teams/bulletproof-react.svg)](https://agentmods.dev/skills/yoshimi-i/ai-engineer-teams/bulletproof-react)
Your own site
<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="Measured on agentmods" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.02142
Opus 5 $0.00060 $0.01071
Sonnet 5 $0.00024 $0.00428
Haiku 4.5 $0.00012 $0.00214

Measured 7d ago against content hash 7b2ef60c60a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 7d 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.

.kiro/skills/bulletproof-react/SKILL.md · 175 lines

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

コア原則

  1. featureによるコロケーション — 技術種別(components/, hooks/)ではなくfeature単位でグループ化
  2. 明示的な公開API — 各featureは index.ts で公開するものだけをexport
  3. 一方向の依存 — feature間の直接importは禁止。共有は shared/ 経由
  4. レイヤーの分離 — 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/に抽出

Read the full file on GitHub · 175 lines

Files

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.

Changes

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.

  1. 7d ago First seen · 175 lines · 120 tokens per session scan A 7b2ef60c60a9

Subscribe to this mod's changes

bulletproof-react is a skill published in the GitHub repository yoshimi-I/ai-engineer-teams (2 stars, last pushed 1mo ago), licensed MIT. It adds 120 tokens to every session and 2,142 once invoked, about $0.0006 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-08-31.

Related

Other skills, from other repositories

agent-spec-mobile-react-native

Agent skill for spec-mobile-react-native - invoke with $agent-spec-mobile-react-native.

ruvnet/ruflo · 22 tokens

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.

modu-ai/moai-adk · 45 tokens

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.

modu-ai/moai-adk · 49 tokens

formkit

Use when working with FormKit forms, validation, schema, or custom inputs in React, Vue, or Nuxt projects.

formkit/formkit · 28 tokens

rn-best-practices

This skill should be used when writing or reviewing React Native / Expo code — before writing list rendering, animations, data fetching, component APIs, navigation, or image/media UI — and when asked to "review best practices", "check performance", "optimize renders", "review list rendering", "check animation…

Lykhoyda/rn-dev-agent · 98 tokens

design-md-to-app

Generate or customize a frontend app from a DESIGN.md (Google design.md spec): reads its tokens and produces a working React app pre-styled to match. Next.js 16 + App Router only; pre-16 refused. Four UI libraries — shadcn/ui, Base UI, MUI, Coss/UI (via coss-ui) — and TanStack Form + Zod (default) or react-hook-form.…

lukedj78/dev-flow · 229 tokens