Mcsmart Butler

麦麦智能管家(开发仓库版):拼单仲裁、双预算精算与 McDNA 战报的业务内核与 Skill 打包源码。本文件面向开发者;面向智能体/用户的正式 Skill 见 skill-template/SKILL.md(由打包脚本生成到发布包)。

138 stars 1 forksSkill & Plugin Authoring

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Hanmoy/mcsmart-butler --skill mcsmart-butler
Manual install
git clone --depth 1 https://github.com/Hanmoy/mcsmart-butler.git /tmp/mcsmart-butler
mkdir -p ~/.claude/skills
cp -r /tmp/mcsmart-butler/. ~/.claude/skills/mcsmart-butler

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 麦麦智能管家(开发仓库)

> 本仓库是 **mcsmart-butler Skill 的源码仓库**:网页演示页与 Skill CLI 共用同一业务内核。
> 正式的 Skill 定义在 [`skill-template/SKILL.md`](./skill-template/SKILL.md)(打包时注入版本号)。

## 模块地图(Skill 化改造后)

| 域 | 模块 | 说明 |
|---|---|---|
| 配置 | `src/config.ts` | 可调参数单例(默认值 ← 用户 config.json ← 请求参数),零依赖校验器 |
| 路径 | `src/paths.ts` | 安装布局解析(dev/package 就近优先);种子只读 + 用户数据目录可写 |
| 服务 | `src/service.ts` | **唯一业务编排层**:stores / solveSingle / solveGroup / mcdna / doctor;网页(server.ts)与 CLI(cli.ts)共用 |
| 单人配餐 | `src/optimizer.ts` | 双约束 MILP 内核(HiGHS WASM),套餐/槽位/购买单元建模 |
| 多人配餐 | `src/groupKernel.ts` + `src/group.ts` | 三轨统一内核(散点/套壳/券包)+ 心愿解析原语 |
| 渠道 | `src/unionCps.ts` + `src/unionClient.ts` + `src/vouchers.ts` | 美团 CPS 客户端(凭据来源:env → config → bundled;查询失败再退到本地团单库/预置参考资料)+ 券轨 |
| 营养 | `src/nutrition.ts` + `src/officialNutrition.ts` | MCP 营养表解析 + 官网营养库(规格级行) |
| 分账 | group/groupKernel 内(`members[].shareCents/payableCents`) | 参考原价→食品单位数→人数分摊;个人券只冲减本人,尾差守恒 |
| 展示 | `src/present.ts` | 「先怎么买,再怎么看详情」文本卡(CLI `--format text`) |
| CLI | `src/cli.ts` | doctor/stores/solve-single/solve-group/parse-group/mcdna/config/version;稳定错误码 |
| 网页 | `src/server.ts` | HTTP 薄壳(业务全部委托 service.ts,响应结构与 CLI 同源) |

## 开发与验证

```bash
npm run build        # tsc 编译(src → dist)
npm test             # 全量回归(内核契约/解析/目标/券轨/CLI 契约)
npm run watch        # 监听编译
npm run cli -- ui    # 直接打开操作面板(无 Token 时进入首次配置引导)
```

改单个模块后:`npm run build && node scripts/test-<对应域>.mjs`(如改 groupKernel → `test-group-kernel.mjs`);全量验证跑 `npm test`。
Read the full skill on GitHub

Details

Skill name
mcsmart-butler
License
MIT
Repo updated
21 October 2026

FAQ

What does the Mcsmart Butler skill do?

麦麦智能管家(开发仓库版):拼单仲裁、双预算精算与 McDNA 战报的业务内核与 Skill 打包源码。本文件面向开发者;面向智能体/用户的正式 Skill 见 skill-template/SKILL.md(由打包脚本生成到发布包)。

How do I install the Mcsmart Butler skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Hanmoy/mcsmart-butler --skill mcsmart-butler. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Mcsmart Butler popular?

It lives in Hanmoy/mcsmart-butler, which has 138 GitHub stars and 1 forks.

Related skills

Oil Skill Creator

95

oil-oil/oil-skill-creator

创建、评审、整改和发布 Skill,并规划免费版与付费版、收款交付和更新机制。用户想从零创建 Skill、评审现有 Skill、检查它是否真正有用、修复触发或执行流程,改善首次使用、稳定性、Token 开销、文件分层、弱模型可读性与跨平台兼容性,或者想为 Skill 收费时使用。不要用于执行目标 Skill 负责的实际任务,也不要因为普通的编码、设计或写作请求触发。

Skill & Plugin Authoring

Skill Builder

112

metaskills/skill-builder

Use this skill when creating new Claude Code skills from scratch, editing existing skills to improve their descriptions or structure, or converting Claude Code sub-agents to skills. This includes designing skill workflows, writing SKILL.md files, organizing supporting files with intention-revealing names, and leveraging CLI tools and Node.js scripting.

Skill & Plugin Authoring21

Skill Creator Plus

74

robonuggets/skill-creator-plus

Audits, creates and improves Agent Skills (folders with a SKILL.md) against Anthropic's skill authoring best practices, the Claude Code skills docs and the prompting guides for newer models such as Claude Fable 5 and Opus 5.5. Audit mode reports every rule as pass, fail or not applicable, with file and line evidence and a proposed fix, and changes nothing until the user approves. Use when the user asks to audit, review, check or score a skill or a folder of skills, to create a new skill or turn a repeated workflow into one, to improve, shorten, refactor or update an old skill for newer models,

Skill & Plugin Authoring12

Dao Skill

247

gnipbao/dao-skill

道生万 · Agent Skill 元设计器:从模糊需求归根,设计、生成、审计、优化、发布准备或基于证据进化可运行的 Skill。Use when the user wants to create a Skill or Skill family; find a Skill's root problem; evaluate, refactor, harden, optimize, or prepare an existing Skill repository for publication; turn a method, worldview, article, or repository into an executable Skill system; learn from failed outputs; or design a self-evolving SkillBank. Also trigger on 道.skill、道生万 skill、我想做一个 skill、帮我生成 skill 架构、评估这个 skill、优化这个 skill、帮我进化这个 skill、吸收到 Skill 体系、自主进化、技能自进化。

Skill & Plugin Authoring23

Skill Interview Builder

58

irenerachel/skill-interview-builder

通过分步访谈引导用户理清需求,最终产出完整的Skill文件包(含SKILL.md、参考文档、示例文件等), 并打包为可直接使用的压缩包。 当用户说"我想通过访谈新建Skill"、"用访谈方式做一个Skill"、"访谈建Skill"、 "通过访谈帮我生成Skill"、"访谈式创建Skill"、"我想访谈做一个XX的技能"时触发。 触发关键词必须包含"访谈"二字,不含"访谈"的Skill创建请求不由本Skill处理。 不用于已有完整SKILL.md只需小改的情况,也不用于一次性提示词请求。

Skill & Plugin Authoring

Skill Creator Ultra

338

marketingjuliancongdanh79-pixel/skill-generator

Tạo AI Skill mới từ ý tưởng hoặc quy trình công việc. Kết hợp phỏng vấn thông minh, pattern detection, và quantitative evaluation để tạo skill chất lượng production. Dùng khi user nói "tạo skill", "biến quy trình thành skill", "make a new skill", "tự động hóa công việc này", hoặc mô tả quy trình lặp lại mà họ muốn AI tự làm. Cũng dùng khi user muốn cải thiện, test, hoặc optimize skill hiện có.

Skill & Plugin Authoring84

Browse the most popular Claude skills, all skill & plugin authoring skills, or write your own with the skills generator.