npx claudepluginhub 15195999826/lomomarketplace --plugin typescript-styleProvides TypeScript best practices for error handling patterns and project conventions. Use when handling errors, designing Result types, or implementing retry logic. Triggers: "错误处理", "Result类型", "自定义Error", "重试", "最佳实践".
Applies TypeScript naming conventions for variables, functions, classes, types, and files. Use when writing new code or reviewing naming patterns. Triggers: "命名规范", "怎么命名", "变量名", "naming convention".
Guides TypeScript code structure: imports, exports, module organization. Use when organizing code, setting up project structure, or resolving circular dependencies. Triggers: "import", "export", "模块", "文件结构", "barrel", "循环依赖".
Guides TypeScript type usage: type vs interface decision, avoiding any, and Zod runtime validation. Use when defining types, choosing type patterns, or validating external data. Triggers: "type vs interface", "any", "unknown", "Zod", "运行时验证", "类型".
Lomo's Claude Code Plugin Marketplace - 为 Claude Code 提供定制化插件支持,同时包含 InkMon 项目完整技术栈和通用游戏逻辑框架。
LomoMarketplace 是一个多功能 monorepo 项目,包含:
LomoMarketplace/
├── plugins/ # Claude Code 插件
│ ├── UE_ReactUMG/ # UE ReactUMG 开发助手
│ └── InkMon/ # InkMon 开发助手
├── packages/
│ ├── logic-game-framework/ # @lomo/logic-game-framework 游戏逻辑框架
│ └── inkmon-core/ # @inkmon/core 核心库
├── lomo-mcp-servers/
│ └── inkmon-server/ # InkMon MCP 服务器
├── inkmon-pokedex/ # Web 图鉴应用(Next.js)
├── data/ # 数据目录
│ ├── inkmon.db # SQLite 数据库
│ └── inkmons/ # InkMon JSON 文件
├── plan_docs/ # 设计文档
├── dev_docs/ # Claude Code 开发文档参考
├── .mcp.json # MCP 服务器配置
└── CLAUDE.md # Claude Code 项目指引
git clone <repo-url>
cd LomoMarketplace
pnpm install
| 变量名 | 说明 | 示例值 |
|---|---|---|
INKMON_DB_PATH | InkMon 数据库文件路径 | E:\path\to\data\inkmon.db |
Windows 设置(永久):
setx INKMON_DB_PATH "E:\talk\LomoMarketplace\data\inkmon.db"
⚠️ 设置系统环境变量后需要重启终端才能生效
逻辑表演分离的通用游戏框架,支持回合制/ATB 等多种玩法。
import { Actor, AttributeSet } from '@lomo/logic-game-framework'
import { BattleUnit, DamageAction } from '@lomo/logic-game-framework/stdlib'
核心特性:
开发命令:
pnpm --filter @lomo/logic-game-framework build # 构建
pnpm --filter @lomo/logic-game-framework test # 测试
安装 Claude Code 插件:
# 添加 Marketplace
/plugin marketplace add <repo-path>
# 安装插件
/plugin install UE_ReactUMG@lomoMarketplace
/plugin install InkMon@lomoMarketplace
插件列表:
| 插件 | 说明 |
|---|---|
UE_ReactUMG | Unreal Engine ReactUMG 开发助手 |
InkMon | InkMon 项目开发助手 |
在项目根目录的 .mcp.json 中配置(已预配置):
{
"mcpServers": {
"inkmon-mcp": {
"command": "node",
"args": ["lomo-mcp-servers/inkmon-server/build/index.js"]
}
}
}
首次使用需构建:
pnpm build:mcp
可用工具:
ping - 测试连接get_inkmon - 获取 InkMon 详情list_inkmons_name_en - 列出所有 InkMonsync_inkmon - 同步 InkMon 到数据库get_next_dex_number - 获取下一个图鉴编号# 开发服务器
pnpm dev:web
# 生产构建
pnpm build:web
访问 http://localhost:3000 查看图鉴。
| 命令 | 说明 |
|---|---|
pnpm install | 安装所有依赖 |
pnpm build:core | 构建 @inkmon/core 核心库 |
pnpm build:mcp | 构建 MCP 服务器 |
pnpm build:web | 构建 Web 应用 |
pnpm build:all | 构建全部项目 |
pnpm dev:web | 启动 Web 开发服务器 |
pnpm --filter @lomo/logic-game-framework test | 运行框架测试 |
MIT License
Share bugs, ideas, or general feedback.
JavaScript and TypeScript development with modern patterns and Node.js backend
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Orchestrate multi-agent teams for parallel code review, hypothesis-driven debugging, and coordinated feature development using Claude Code's Agent Teams
Complete developer toolkit for Claude Code
Comprehensive toolkit for developing Claude Code plugins. Includes 7 expert skills covering hooks, MCP integration, commands, agents, and best practices. AI-assisted plugin creation and validation.