Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (erne-universal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
๐๏ธ ERNE โ Everything React Native & Expo
The complete AI coding agent harness for React Native and Expo โ 11 specialized agents, adaptive stack detection, multi-agent orchestration, and a pixel-art dashboard. Every config is generated to match your exact project setup.
โก Quick Start
npx erne-universal initThis will:
- ๐ Deep-scan your project โ detects 15 stack dimensions (state management, navigation, styling, lists, images, forms, storage, testing, build system, component style, monorepo, New Architecture, and more)
- ๐๏ธ Let you choose a hook profile (minimal / standard / strict)
- ๐ Select MCP integrations (simulator control, GitHub, etc.)
- โ๏ธ Generate adaptive configuration โ selects from 24 variant templates matched to your exact stack (Zustand vs Redux, Expo Router vs React Navigation, NativeWind vs StyleSheet, etc.)
๐ฆ What's Included
| Component | Count | Description |
|---|---|---|
| ๐ค Agents | 11 | Specialized AI agents for architecture, development, review, testing, UI, native, orchestration |
| ๐ Agent variants | 9 | Stack-adaptive agent configurations (StyleSheet vs NativeWind, Zustand vs Redux, etc.) |
| โก Commands | 19 | Slash commands for every React Native workflow |
| ๐ Rule layers | 5 | Conditional rules: common, expo, bare-rn, native-ios, native-android |
| ๐ฏ Rule variants | 15 | Stack-specific rules selected by deep detection (state, navigation, styling, security, etc.) |
| ๐ก๏ธ Hook profiles | 3 | Minimal, standard, strict โ quality enforcement your way |
| ๐ Skills | 7 | Reusable knowledge modules loaded on-demand |
| ๐ญ Contexts | 3 | Behavior modes: dev, review, vibe |
| ๐ MCP configs | 10 | Pre-configured server integrations |
| ๐ Workflow examples | 4 | End-to-end multi-agent workflow guides |
| ๐ค Handoff templates | 4 | Structured agent-to-agent context passing |
๐ฎ Agent Dashboard
ERNE includes a real-time pixel-art dashboard that visualizes all 11 agents working in an animated office environment.
erne dashboard # Start on port 3333, open browser
erne dashboard --port 4444 # Custom port
erne dashboard --no-open # Don't open browser
erne start # Init project + dashboard in backgroundFeatures:
- ๐ข 4 office rooms โ Development, Code Review, Testing, and Conference
- ๐จ 11 animated agent sprites with walking, typing, and done animations
- ๐ฌ Thought bubbles showing the current task above working agents
- ๐ฅ๏ธ Animated monitor screens (green code when working, screensaver when idle)
- ๐ Toast notifications for agent start/complete events
- ๐ Bottom stats bar with session duration, tasks completed, working/planning counts
- ๐ค Agent detail overlay with full activity history (click any agent)
- ๐ฏ Pipeline orchestrator coordination view in conference room
- ๐ Real-time WebSocket updates with auto-reconnect
๐ฏ Multi-Agent Orchestration
ERNE supports coordinated multi-agent workflows through the pipeline orchestrator:
/orchestrate "build user profile screen"Pipeline phases:
๐๏ธ Plan architect decomposes the task
โ
โก Implement senior-developer + feature-builder (parallel)
โ
๐งช Test tdd-guide writes and runs tests
โ
๐ Review code-reviewer validates with evidence
โ
๐ Validate performance-profiler checks performanceFeatures retry logic (max 3 attempts), escalation to user on persistent failures, and structured handoff templates for context passing between agents. See Pipeline Documentation for details.
๐ค Agents
Each agent has a distinct personality, quantified success metrics, and memory integration for cross-session learning.
| Agent | Emoji | Domain | Room |
|---|---|---|---|
| architect | ๐๏ธ | System design and project structure | Development |
| senior-developer | ๐จโ๐ป | End-to-end feature implementation, screens, hooks, API | Development |
| feature-builder | โก | Focused implementation units, works in parallel | Development |
| native-bridge-builder | ๐ | Turbo Modules and native platform APIs | Development |
| expo-config-resolver | โ๏ธ | Expo configuration and build issues | Development |
| ui-designer | ๐จ | Accessible, performant UI components | Development |
| code-reviewer | ๐ | Code quality with evidence-based approval | Code Review |
| upgrade-assistant | ๐ฆ | Version migration guidance | Code Review |
| tdd-guide | ๐ฆ | Test-driven development workflow | Testing |
| performance-profiler | ๐๏ธ | FPS diagnostics and bundle optimization | Testing |
| pipeline-orchestrator | ๐ฏ | Multi-agent workflow coordination | Conference |
๐ฐ Token Efficiency
ERNE's architecture is designed to minimize token usage through six layered mechanisms:
| Mechanism | How it works | Savings |
|---|---|---|
| Profile-gated hooks | Minimal profile runs 4 hooks instead of 16 | ~31% |
| Conditional rules | Only loads rules matching your project type (Expo, bare RN, native) | ~26% |
| On-demand skills | Skills load only when their command is invoked, not always in context | ~12% |
| Subagent isolation | Fresh agent per task with only its own definition + relevant rules | ~12% |
| Task-specific commands | 19 focused prompts instead of one monolithic instruction set | ~13% |
| Context-based behavior | Modes change behavior dynamically without loading new rulesets | ~3% |
Result: Typical workflows use 60โ67% fewer tokens compared to a naive all-in-context approach.
๐ก๏ธ Hook Profiles
| Profile | Hooks | Use Case |
|---|---|---|
minimal |
4 | โก Fast iteration, vibe coding โ maximum speed, minimum friction |
standard |
12 | โ๏ธ Balanced quality + speed (recommended) โ catches real issues |
strict |
16 | ๐ Production-grade enforcement โ full security, accessibility, perf budgets |
Change profile: set ERNE_PROFILE env var, add <!-- Hook Profile: standard --> to CLAUDE.md, or use /vibe context.
โก Commands
| Category | Commands |
|---|---|
| Core | /plan, /code-review, /tdd, /build-fix, /perf, /upgrade, /native-module, /navigate, /code, /feature |
| Extended | /animate, /deploy, /component, /debug, /quality-gate |
| Orchestration | /orchestrate |
| Learning | /learn, /retrospective, /setup-device |
๐ฅ๏ธ IDE & Editor Support
ERNE works with every major AI coding assistant out of the box:
| File | IDE / Tool |
|---|---|
CLAUDE.md |
Claude Code |
AGENTS.md |
Codex, Windsurf, Cursor, GitHub Copilot |
GEMINI.md |
Google Antigravity |
.cursorrules |
Cursor |
.windsurfrules |
Windsurf |
.github/copilot-instructions.md |
GitHub Copilot |
All config files are generated adaptively based on your project's detected stack.
๐๏ธ Architecture
Claude Code Hooks โโโถ run-with-flags.js โโโถ Profile gate โโโถ Hook scripts
โ
โโโโโโโโโโโโดโโโโโโโโโโโ
โ Only hooks for โ
โ active profile โ
โ are executed โ
โโโโโโโโโโโโโโโโโโโโโโโ
erne dashboard โโโถ HTTP + WS Server โโโถ Browser Canvas
โฒ
Claude Code PreToolUse โโค (Agent pattern)
Claude Code PostToolUse โKey design principles:
- ๐ชถ Zero runtime dependencies for the harness itself (ws package only for dashboard)
- ๐ฏ Conditional loading โ rules, skills, and hooks load based on project type and profile
- ๐งน Fresh subagent per task โ no context pollution between agent invocations
- ๐ Silent failure โ hooks never block Claude Code if something goes wrong
๐ค Contributing
We welcome contributions from everyone โ from typo fixes to new agents and skills.
| I want to... | Start here |
|---|---|
| ๐ Report a bug | Bug Report |
| ๐ก Request a feature | Feature Request |
| ๐ Propose a new skill | Skill Proposal |
| ๐ Submit a PR | Contributing Guide |
git checkout -b feat/your-feature
npm run validate && npm test # Must pass before PR๐ค Partnerships
Skills, agents, and MCP configs are open source โ anyone can add them via PR. Partnerships are for deeper collaboration:
| Partnership Type | What It Means |
|---|---|
| Co-Maintenance | You keep your library's ERNE skill up to date as your API evolves |
| Early Access | We update ERNE before your breaking changes ship, so users never hit stale guidance |
| Joint Promotion | Your docs recommend ERNE for AI-assisted development, we feature you on erne.dev |
| Domain Expertise | Co-develop specialized agents that require deep knowledge of your platform |
If you maintain a React Native library, Expo tool, or developer service โ let's talk.
๐ฆ Available On
- npm โ
npx erne-universal init - SkillsMP โ Auto-indexed from GitHub
- BuildWithClaude โ Plugin directory
- VoltAgent/awesome-agent-skills โ Curated skills list
๐ Documentation
| Doc | Description |
|---|---|
| Getting Started | Installation and first run |
| Agents Guide | All 11 agents with domains and usage |
| Commands Reference | All 19 slash commands |
| Hooks & Profiles | Hook system and 3 profiles |
| Creating Skills | Author your own skills |
| Pipeline & Orchestration | Multi-agent workflow coordination |
| Memory Integration | Cross-session learning with MCP |
| Handoff Templates | Structured agent-to-agent context |
| Contributing | How to contribute |
๐ License
MIT License โ use freely, commercially or personally.
๐๏ธ ERNE โ Your React Native AI Dream Team ๐๏ธ
โญ Star this repo ยท ๐ด Fork it ยท ๐ Report an issue ยท ๐ erne.dev
Made with โค๏ธ for the React Native community