‹ 首页

gen-mdf-proxy

@lngyneric · 收录于 1 周前 · 上游提交 2 周前

Use when changing the backend MDF proxy, request validation, timeout handling, or frontend/backend ownership for MDF conversion. Keep the external service hidden from the browser.

适合你,如果需要在浏览器中隐藏外部服务并管理MDF转换代理

/ 通过 npx 安装 校验哈希
npx oh-my-skill add lngyneric/ai-coach/gen-mdf-proxy
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- lngyneric/ai-coach/gen-mdf-proxy
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify lngyneric/ai-coach/gen-mdf-proxy
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~224上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 5802c88 · 表述以原文为准
它做什么

安装后,Claude 会修改后端 MDF 代理的请求验证、超时处理或前后端所有权,确保浏览器不直接调用外部 MDF 服务。

什么时候触发

当需要更改后端 MDF 代理、请求验证、超时处理或 MDF 转换的前后端所有权时触发。

装好后可以这样说
Claude 会调整后端超时设置。
Claude 会在代理前添加验证逻辑。
Claude 会检查并修正调用路径。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 5802c88

MDF Proxy

Core Rules
  • The frontend must call the backend proxy, not the external MDF service.
  • Preserve validation for text length, language, and timeout before proxying.
  • Return error payloads that remain localizable and do not leak upstream config.
Workflow
  1. Start from src/api/flaskr/service/gen_mdf/route.py and funcs.py.
  2. Check whether the change affects request validation, upstream request shape, timeout handling, or response normalization.
  3. Keep secrets and external URLs on the backend side only.
  4. Add or update focused tests under src/api/tests/service/gen_mdf/ if this module gains broader behavior.
Regression Checklist
  • Valid conversion request.
  • Validation failure for oversize or unsupported language input.
  • Upstream timeout or provider error.
  • Frontend still calls the backend proxy contract.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。