By leiax00
Complete collection of battle-tested Claude Code configs from an Anthropic hackathon winner - agents, skills, hooks, and rules evolved over 10+ months of intensive daily use
Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. MUST BE USED for all code changes.
Expert planning specialist for complex features and refactoring. Use PROACTIVELY when users request feature implementation, architectural changes, or complex refactoring. Automatically activated for planning tasks.
Test-Driven Development specialist enforcing write-tests-first methodology. Use PROACTIVELY when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage.
Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
从目标分支合并指定的功能分支,支持选择性清理 worktree 和分支
Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.
仅在用户明确要求时执行提交,确保提交流程、提交信息与风险控制符合仓库规范。
Start a new isolated development task with branch + worktree(交互式版本)
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
wewins-fota-new 是一个面向千万级 IoT 设备的固件 OTA(Over-The-Air)管理平台,旨在解决大规模设备升级中的核心挑战:
📋 规划完成,实施启动中(文档驱动阶段)
✅ 架构方案、任务分解、里程碑规划已完成 🚀 正在按照 Milestone 1 推进基础框架搭建
MODE=main:主区域模式(管理后台 + 配置中心 + 数据汇聚)MODE=region:区域模式(设备 API + 配置同步 + 数据转发)hash(imei) % 100 < gray_rate| 类别 | 技术 | 版本 | 用途 |
|---|---|---|---|
| 后端 | Java | 21 | 开发语言 |
| 框架 | Spring Boot | 3.2+ | 应用框架 |
| 数据库 | PostgreSQL | 16+ | 主数据存储 |
| 缓存 | Redis | 7+ | 缓存、限流、Bitmap |
| 分析 | ClickHouse | 23+ | 事件日志与聚合 |
| 消息队列 | RabbitMQ | 3.12+ | 异步事件处理 |
| 部署 | Docker | - | 容器化部署 |
flowchart TB
subgraph "设备侧"
Device[IoT 设备]
end
subgraph "区域部署 (MODE=region)"
RegionAPI[设备 API<br/>check/report]
RegionSync[配置同步 Worker<br/>30s 轮询]
RegionForward[Forwarder<br/>批量转发]
LocalRedis[(Redis<br/>策略快照)]
LocalMQ[(RabbitMQ)]
LocalCH[(ClickHouse<br/>事件明细)]
end
subgraph "主区域 (MODE=main)"
MainAPI[Internal API<br/>版本/快照/Ingest]
MainAdmin[管理后台<br/>产品/策略/固件]
MainPG[(PostgreSQL<br/>产品/设备/策略)]
MainCH[(ClickHouse<br/>汇聚数据)]
MainStorage[(RustFS/S3<br/>固件存储)]
end
subgraph "CDN"
CDN[CDN 节点]
end
Device -->|check/report| RegionAPI
RegionAPI --> LocalRedis
RegionAPI --> LocalMQ
LocalMQ --> LocalCH
RegionSync -->|HTTPS+HMAC| MainAPI
RegionForward -->|HTTPS+HMAC| MainAPI
MainAPI --> MainPG
MainAPI --> MainCH
MainStorage --> CDN
RegionAPI -->|签名 URL| CDN
Device -->|下载固件| CDN
检查更新流程:
上报流程:
配置同步:
⚠️ 注意:当前仓库处于规划阶段,工程骨架正在搭建中。以下为预期启动路径。
必需组件:
依赖服务:
# 使用 Docker Compose 启动开发环境
docker-compose up -d postgres redis rabbitmq clickhouse
git clone https://github.com/your-org/wewins-fota-new.git
cd wewins-fota-new
# 构建
mvn clean package
# 主区域模式
java -jar -DMODE=main target/fota-service.jar
# 区域模式
java -jar -DMODE=region target/fota-service.jar
# 健康检查
curl http://localhost:8080/actuator/health
# 设备检查更新(示例)
curl "http://localhost:8080/v1/upgrade/check?product=test&imei=123456789012345&version=v1.0.0"
| 文档 | 说明 | 链接 |
|---|---|---|
| 产品需求 | 业务需求、功能规格、交互流程 | docs/prd.md |
| 技术架构 | 系统架构、技术选型、接口设计 | docs/FOTA 系统架构及技术说明书.md |
| 文件存储策略 | 本地临时文件与 S3 可选最终存储策略 | docs/02-architecture/storage-strategy.md |
| 实施计划 | Milestone 规划、验收标准、风险管理 | docs/implementation-plan.md |
| 任务列表 | 全量任务清单、任务依赖、技术细节 | docs/tasks.md |
| 文档 | 说明 | 链接 |
|---|---|---|
| Week 1 验收模板 | Milestone 1 Week 1 验收报告模板 | docs/week1-acceptance-template.md |
| 风险登记模板 | 项目风险管理模板 | docs/risk-log-template.md |
| 文档 | 说明 | 链接 |
|---|---|---|
| Agent 指南 | Claude Code Agent 使用说明 | agent/README.md |
| 编码规范 | Java/TypeScript 编码标准 | agent/rules/coding-style.md |
npx claudepluginhub leiax00/wewins-fota-newApplies Anthropic's official brand colors and typography to artifacts for consistent visual identity and professional design standards.
Embedded & IoT engineer — firmware, microcontrollers, edge computing, device protocols
Enterprise IoT Solutions Architect for device management, edge computing, and industrial IoT
Embedded development agents providing expertise in RTOS, firmware, and IoT
IoT domain specialization with MQTT messaging, device management, edge computing, IoT-specific security, time-series databases, protocol advisory, cloud platform integration, and digital twin patterns.
IoT security testing toolkit with skills for firmware analysis, network reconnaissance, UEFI security, and device exploitation
Manage API versions with migration strategies and backward compatibility