一键导入
network-proxy
// Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues. It suggests and applies proxy environment variables to fix connectivity problems.
// Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues. It suggests and applies proxy environment variables to fix connectivity problems.
Mpx 跨端输出 RN(简称 Mpx2RN 或 Mpx2DRN)的开发适配指南,覆盖模板、脚本、样式、JSON 配置四大维度。当用户要求对已有 Mpx 组件进行 RN 跨端适配改造、创建符合 RN 跨端兼容规范的 Mpx 组件、排查 Mpx2RN 编译报错或查询某项能力(模板指令、基础组件、样式属性、生命周期、环境 API、JSON 字段等)在 RN 平台的支持情况时强制调用。当用户问题不涉及 Mpx 跨端输出 RN 时不应调用,如小程序原生开发问题,纯 RN 原生开发问题、Web 端样式问题等。
通过查看当前最新版本与上一版本间的git提交记录与代码变更,生成版本变更日志,当用户询问“创建/生成变更日志”、“创建/生成changelog”时使用。
Mpx 跨端输出 RN 开发适配的 Gene 表达形式——基于 Gene Evolution Protocol (GEP) 将文档导向的 Skill 蒸馏为紧凑的 Strategy Gene 集合。当用户要求对已有 Mpx 组件进行 RN 跨端适配改造、创建符合 RN 跨端兼容规范的 Mpx 组件时调用。与 mpx2rn skill 的区别:mpx2rn 提供完整文档参考,本 skill 提供紧凑的行为控制指令,适合执行阶段直接注入上下文。
将传统文档导向的 Procedural Skill 转换为紧凑的 Strategy Gene 格式。基于论文 "From Procedural Skills to Strategy Genes" 的 Gene Evolution Protocol (GEP),将 ~2500 token 的文档型 Skill 蒸馏为 ~200-300 token 的控制型 Gene 集合。当用户要求将 skill 转为 gene、优化 skill 的 token 效率、将经验知识蒸馏为紧凑控制指令、或提到 gene/GEP/strategy-gene 时调用。
markdown文档编辑时,为标题添加简单的哈希锚点,当用户提到添加简单哈希锚点时强制调用。
| name | network-proxy |
| description | Helps when network-related commands (like curl, git, npm, pip, brew) are failing, timing out, or running slowly due to network issues. It suggests and applies proxy environment variables to fix connectivity problems. |
This skill helps you troubleshoot and fix network connectivity issues by applying proxy settings.
Unless the user specifies otherwise, assume the local proxy is running at:
http://127.0.0.1:7897http://127.0.0.1:7897socks5://127.0.0.1:7897(Note: Port 7897 is common for tools like Clash/V2Ray. Adjust if the user provides a different port.)
For a single command execution, prepend the environment variables:
export https_proxy=http://127.0.0.1:7897 http_proxy=http://127.0.0.1:7897 all_proxy=socks5://127.0.0.1:7897
[original command]
Example:
export https_proxy=http://127.0.0.1:7897 http_proxy=http://127.0.0.1:7897 all_proxy=socks5://127.0.0.1:7897
git clone https://github.com/some/repo.git
To set it for the current session:
export https_proxy=http://127.0.0.1:7897
export http_proxy=http://127.0.0.1:7897
export all_proxy=socks5://127.0.0.1:7897
To clear the proxy settings:
unset https_proxy http_proxy all_proxy
If the default port (7897) doesn't work: