埃恩代码
- 作者仓库星标 36
- 许可证 MIT
- 作者仓库 everything-react-native-expo
- 领域
- 工程开发
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @JubaKitiashvili · MIT
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# /erne-code — Feature Implementation
You are executing the `/erne-code` command. Use the **senior-developer** agent to implement production-grade feature code.
## Process
1. **Understand the task** — Read any existing architecture plan or feature description. If none exists, ask for scope and requirements.
2. **Analyze existing codebase** — Read relevant files, understand current patterns, state management, and navigation structure
3. **Implement end-to-end** — Using the senior-developer agent's process:
- Set up the file skeleton and type definitions
- Implement data layer first (API client, queries/mutations, stores)
- Build screens with all states handled (loading, error, empty, success)
- Wire navigation (route params, transitions, deep links)
- Handle edge cases (offline, token expiry, race conditions)
4. **Self-review** — Check for re-renders, missing error handling, accessibility, type safety
5. **Deliver** — Complete implementation with file paths, type definitions, and integration notes
## When to Use
- Implementing a feature from an architect plan
- Building screens, hooks, API integration, and state management
- End-to-end feature work that touches multiple files
## Notes
- Reference the active platform rules layer for conventions
- Follow the project's import ordering: react -> react-native -> expo -> external -> internal -> types
- If the task is a single isolated unit (one screen, one hook), consider `/erne-feature` instead
章节与文件索引
按说明文件中的顺序排列。
工艺流程
何时使用
注释
文件/命令 -> /erne-code · /erne-feature · queries/mutations
内容校验值 -> c6ddd2df59ca
当前原文的自动摘译,尚未人工审校。
工艺流程
理解任务——阅读任何现有的架构计划或功能描述。如果不存在,请询问范围和要求。分析现有代码库 — 读取相关文件,了解当前模式、状态管理和导航结构 实现端到端 — 使用高级开发人员代理流程:设置文件框架和类型定义 首先实现数据层(API 客户端、查询/突变、存储)
何时使用
根据架构师计划实现功能 构建屏幕、挂钩、API 集成和状态管理 涉及多个文件的端到端功能工作
注释
参考活动平台规则层的约定遵循项目的导入顺序:react ->react-native ->expo ->external ->internal ->types 如果任务是单个隔离单元(一个屏幕,一个钩子),请考虑使用
/erne-feature