everything-react-native-expo: Skill for Claude Code

.claude/skills/quality-gate/SKILL.md

quality-gate is a skill for Claude Code from JubaKitiashvili/everything-react-native-expo. It costs 19 tokens per session (464 once invoked), scanned A, a copy of erne-quality-gate, MIT.

A pre-merge checklist that runs code-review and performance checks before changes are merged into a project.

In plain words
What is it for?
Use it to check React Native changes for correctness, type safety, error handling, tests, unnecessary re-renders, image optimization, list performance, and animation behavior.
Why use it?
It helps catch logic, security, testing, bundle-size, runtime, memory, and rendering problems before they enter the shared codebase.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is JubaKitiashvili/everything-react-native-expo's own configuration. It tells Claude Code how to work on everything-react-native-expo 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 everything-react-native-expo configures →

Part of the erne-universal plugin — 45 skills, 12 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to JubaKitiashvili/everything-react-native-expo. 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/JubaKitiashvili/everything-react-native-expo/main/.claude/skills/quality-gate/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JubaKitiashvili/everything-react-native-expo

Made for: Claude Code.

Or install erne-universal, the plugin that ships this one along with the rest of its 45 skills, 12 agents.

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 quality-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/jubakitiashvili/everything-react-native-expo/quality-gate/github.svg)](https://agentmods.dev/skills/jubakitiashvili/everything-react-native-expo/quality-gate)
Your own site
<a href="https://agentmods.dev/skills/jubakitiashvili/everything-react-native-expo/quality-gate"><img src="https://agentmods.dev/badge/skills/jubakitiashvili/everything-react-native-expo/quality-gate/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.

agentmods 80×15 button for quality-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/jubakitiashvili/everything-react-native-expo/quality-gate"><img src="https://agentmods.dev/badge/skills/jubakitiashvili/everything-react-native-expo/quality-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 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 86% copy Near-identical to another mod 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.00019 $0.00464
Opus 5 $0.00010 $0.00232
Sonnet 5 $0.00004 $0.00093
Haiku 4.5 $0.00002 $0.00046

Measured 11d ago against content hash 1327fd460dd2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

quality-gate 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 11d 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.

Origin

This is a copy

86% identical to erne-quality-gate — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/quality-gate/SKILL.md · 81 lines

What it actually says

/quality-gate — Pre-Merge Checks

You are executing the /quality-gate command. Run code-reviewer and performance-profiler in parallel for comprehensive pre-merge validation.

Parallel Execution

Agent 1: code-reviewer — Code Quality

Run a full code review focused on merge readiness:

Correctness:

  • Logic errors, edge cases
  • TypeScript type safety (no any escapes)
  • Error handling completeness

Style & Conventions:

  • Follows project rules (check .claude/rules/)
  • NativeWind usage is consistent
  • Component structure matches patterns

Security:

  • No secrets in code
  • Input validation at boundaries
  • Secure storage used for sensitive data

Testing:

  • All new code has tests
  • Tests actually test behavior (not implementation)
  • Edge cases covered

Agent 2: performance-profiler — Performance Checks

Run performance validation:

Bundle Impact:

# Compare bundle size before/after changes
npx react-native-bundle-visualizer

Runtime Checks:

  • No unnecessary re-renders introduced
  • Lists use FlashList with estimatedItemSize
  • Images are optimized (expo-image with caching)
  • Animations run on UI thread (worklets)

Memory:

  • Event listeners and subscriptions cleaned up
  • No circular references in state
  • Large data sets paginated

Gate Result

## Quality Gate Result: PASS / FAIL

### Code Review: PASS
- 0 Critical issues
- 1 Warning (TODO in checkout.tsx:45)
- 3 Suggestions

### Performance: PASS
- Bundle size: +12KB (within threshold)
- No new re-render issues detected
- Memory: No leaks detected

### Verdict: PASS ✓
Ready for merge. Address 1 warning in next iteration.

The gate produces a binary PASS/FAIL. FAIL if:

  • Any critical code review issue
  • Bundle size increase > 50KB without justification
  • Performance regression detected
  • Missing tests for new code paths
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. 11d ago First seen · 81 lines · 19 tokens per session scan A 1327fd460dd2

Subscribe to this mod's changes

quality-gate is a skill published in the GitHub repository JubaKitiashvili/everything-react-native-expo (45 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 464 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to erne-quality-gate, differing in 8 lines, and is treated as a copy.