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 PyModel/react-frontend-skills --skill feature-archgit clone --depth 1 https://github.com/PyModel/react-frontend-skillsWrote 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/pymodel/react-frontend-skills/feature-arch)<a href="https://agentmods.dev/skills/pymodel/react-frontend-skills/feature-arch"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-skills/feature-arch/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/pymodel/react-frontend-skills/feature-arch"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-skills/feature-arch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.00013 | $0.01119 |
| Opus 5.5 | $0.00005 | $0.00448 |
| Sonnet 5.5 | $0.00003 | $0.00224 |
| Haiku 4.5 | $0.00001 | $0.00112 |
Grade A, and why
feature-arch 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- feature-arch — 97% identical, 15 lines differ
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Feature-Based Architecture Best Practices
Comprehensive architecture guide for organizing React applications by features, enabling scalable development with independent teams. Contains 42 rules across 8 categories, prioritized by impact from critical (directory structure, imports) to incremental (naming conventions).
When to Apply
Reference these guidelines when:
- Creating new features or modules
- Organizing project directory structure
- Setting up import rules and boundaries
- Implementing data fetching patterns
- Composing components from multiple features
- Reviewing code for architecture violations
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Directory Structure | CRITICAL | struct- |
| 2 | Import & Dependencies | CRITICAL | import- |
| 3 | Module Boundaries | HIGH | bound- |
| 4 | Data Fetching | HIGH | fquery- |
| 5 | Component Organization | MEDIUM-HIGH | fcomp- |
| 6 | State Management | MEDIUM | fstate- |
| 7 | Testing Strategy | MEDIUM | test- |
| 8 | Naming Conventions | LOW | name- |
Quick Reference
1. Directory Structure (CRITICAL)
struct-feature-folders- Organize by feature, not technical typestruct-feature-self-contained- Make features self-containedstruct-shared-layer- Use shared layer for truly generic code onlystruct-flat-hierarchy- Keep directory hierarchy flatstruct-optional-segments- Include only necessary segmentsstruct-app-layer- Separate app layer from features
2. Import & Dependencies (CRITICAL)
import-unidirectional-flow- Enforce unidirectional import flowimport-no-cross-feature- Prohibit cross-feature importsimport-public-api- Export through public API onlyimport-avoid-barrel-files- Avoid deep barrel file re-exportsimport-path-aliases- Use consistent path aliasesimport-type-only- Use type-only imports for types
3. Module Boundaries (HIGH)
bound-feature-isolation- Enforce feature isolationbound-interface-contracts- Define explicit interface contractsbound-feature-scoped-routing- Scope routing to feature concernsbound-minimize-shared-state- Minimize shared state between featuresbound-event-based-communication- Use events for cross-feature communicationbound-feature-size- Keep features appropriately sized
What ships with it
42 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.
- references/bound-event-based-communication.md 2.6 KB
- references/bound-feature-isolation.md 2.3 KB
- references/bound-feature-scoped-routing.md 2.3 KB
- references/bound-feature-size.md 2.3 KB
- references/bound-interface-contracts.md 2.1 KB
- references/bound-minimize-shared-state.md 2.2 KB
- references/fcomp-colocate-styles.md 2.2 KB
- references/fcomp-composition-over-props.md 2.4 KB
- references/fcomp-container-presentational.md 2.5 KB
- references/fcomp-error-boundaries.md 2.5 KB
- references/fcomp-props-as-data-boundary.md 2.5 KB
- references/fcomp-single-responsibility.md 2.6 KB
- references/fquery-avoid-n-plus-one.md 2.3 KB
- references/fquery-colocate-with-feature.md 2.0 KB
- references/fquery-feature-scoped-keys.md 2.1 KB
- references/fquery-parallel-fetching.md 2.2 KB
- references/fquery-server-component-fetching.md 2.3 KB
- references/fquery-single-responsibility.md 2.0 KB
- references/fstate-context-sparingly.md 2.1 KB
- references/fstate-feature-scoped-stores.md 2.2 KB
- references/fstate-lift-minimally.md 2.3 KB
- references/fstate-reset-on-unmount.md 2.3 KB
- references/fstate-server-state-separation.md 2.6 KB
- references/import-avoid-barrel-files.md 2.0 KB
- references/import-no-cross-feature.md 2.4 KB
- references/import-path-aliases.md 1.7 KB
- references/import-public-api.md 2.3 KB
- references/import-type-only.md 2.1 KB
- references/import-unidirectional-flow.md 2.2 KB
- references/name-descriptive-exports.md 2.0 KB
- references/name-feature-naming.md 1.9 KB
- references/name-file-conventions.md 2.3 KB
- references/struct-app-layer.md 2.0 KB
- references/struct-feature-folders.md 2.0 KB
- references/struct-feature-self-contained.md 1.8 KB
- references/struct-flat-hierarchy.md 1.6 KB
- references/struct-optional-segments.md 1.9 KB
- references/struct-shared-layer.md 2.0 KB
- references/test-colocate-with-feature.md 2.0 KB
- references/test-feature-isolation.md 2.2 KB
- references/test-integration-at-app-layer.md 2.7 KB
- references/test-shared-utilities.md 2.5 KB
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 Changed · -7 lines · -52 tokens per session bb242d67ce67
- 2mo ago Changed · +2 lines fe230048c763
- 3mo ago First seen · 116 lines · 65 tokens per session scan A f0cb94a65e49
feature-arch is a skill published in the GitHub repository PyModel/react-frontend-skills (52 stars, last pushed 20d ago), licensed MIT. It adds 13 tokens to every session and 1,119 once invoked, about $0.0001 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.
feature-arch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feature-archPyModel/react-frontend-skills | Skill | 52 | 20d ago | MIT | A | 13 | Claude Code, Codex |
| lov-install-tanstack-querylovstudio/skills | Skill | 72 | 3d ago | MIT | A | 61 | Claude Code |
| lov-kill-emojilovstudio/skills | Skill | 72 | 3d ago | MIT | A | 48 | Claude Code |
| lov-video-chapter-designlovstudio/skills | Skill | 72 | 3d ago | MIT | A | 51 | Claude Code |
| vercel-react-best-practicescalesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 67 | Claude Code, Codex |
| vercel-composition-patternscalesthio/OpenMontage | Skill | 84k | 14d ago | AGPL-3.0 | A | 58 | Claude Code, Codex |
| web-artifacts-builderPrismer-AI/PrismerCloud | Skill | 1.4k | 1mo ago | MIT | A | 63 | Claude Code, Codex |