·optimizing-large-skills
</>

optimizing-large-skills

通过外部化、整合和渐进加载模式来减少技能文件大小的系统方法。当技能超过 300 行、具有类似功能的多个代码块(10+)、带有 Markdown 的大量 Python 内联、嵌入的函数超过 20 行时使用。技能低于300行且组织良好时请勿使用。创造新技能 - 使用模块化技能。当技能评估显示“大型技能文件”警告时,请查阅此技能。

18安装·0热度·@athola

安装

$npx skills add https://github.com/athola/claude-night-market --skill optimizing-large-skills

如何安装 optimizing-large-skills

通过命令行快速安装 optimizing-large-skills AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/athola/claude-night-market --skill optimizing-large-skills
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:athola/claude-night-market。

SKILL.md

查看原文

Systematic methodology for reducing skill file size while preserving functionality through separation of concerns and strategic code organization.

Before: 654-line skill with heavy inline Python implementations After: 150-line skill with external tools and references

| Externalize Python modules | 60-70% reduction | Heavy implementations (>20 lines) | | Consolidate similar functions | 15-20% reduction | Repeated patterns with minor variations | | Replace code with structured data | 10-15% reduction | Configuration-driven logic | | Progressive loading patterns | 5-10% reduction | Multi-stage workflows |

通过外部化、整合和渐进加载模式来减少技能文件大小的系统方法。当技能超过 300 行、具有类似功能的多个代码块(10+)、带有 Markdown 的大量 Python 内联、嵌入的函数超过 20 行时使用。技能低于300行且组织良好时请勿使用。创造新技能 - 使用模块化技能。当技能评估显示“大型技能文件”警告时,请查阅此技能。 来源:athola/claude-night-market。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/athola/claude-night-market --skill optimizing-large-skills
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from athola/claude-night-market

快速解答

什么是 optimizing-large-skills?

通过外部化、整合和渐进加载模式来减少技能文件大小的系统方法。当技能超过 300 行、具有类似功能的多个代码块(10+)、带有 Markdown 的大量 Python 内联、嵌入的函数超过 20 行时使用。技能低于300行且组织良好时请勿使用。创造新技能 - 使用模块化技能。当技能评估显示“大型技能文件”警告时,请查阅此技能。 来源:athola/claude-night-market。

如何安装 optimizing-large-skills?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/athola/claude-night-market --skill optimizing-large-skills 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/athola/claude-night-market