‹ 首页

gen-mdf-proxy

@lngyneric · 收录于 今天 · 上游提交 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上下文体积 · 单文件
索引托管

怎么用

技能原文 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 查看 →

评论

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