一键导入
skill-compress
当用户要求精简 skill、减少体积、提高命中率或拆分大 skill 时触发。勿用于业务代码、技术文档或插件实现。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
当用户要求精简 skill、减少体积、提高命中率或拆分大 skill 时触发。勿用于业务代码、技术文档或插件实现。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
将指定 commit(含)之前的 Git 历史压缩为一个新的根提交,再把之后的提交按顺序 cherry-pick 到新历史上。 触发场景: - 用户说"把某个 hash 之前的历史合并成一个提交" - 压缩/折叠早期噪声提交,只保留近期增量历史 - 发布前整理仓库,生成"一个基线 + 后续增量提交"结构 - 清理历史再对外开源或归档 不适用:含大量 merge commit 的复杂拓扑、多人共享且禁止 force push 的公共分支。
Evaluate Clawdbot skills for quality, reliability, and publish-readiness using a multi-framework rubric (ISO 25010, OpenSSF, Shneiderman, agent-specific heuristics). Use when asked to review, audit, evaluate, score, or assess a skill before publishing, or when checking skill quality. Runs automated structural checks and guides manual assessment across 25 criteria.
Use when implementing OAuth2 login with frontend-backend separation, where frontend redirects to backend OAuth endpoint and receives JWT token via redirect
Package published npm CLI tools into Arch Linux AUR packages with reproducible npm tarball builds. Use when creating or updating PKGBUILD/.SRCINFO for a Node.js or TypeScript command-line package already published to npm, computing sha256 for npm tarballs, inspecting bin entries and postinstall scripts, generating wrapper scripts, or running makepkg verification. Triggers include: \u201c把 npm CLI 打包成 AUR\u201d, \u201c为 npm 包生成 PKGBUILD\u201d, \u201cupdate AUR package for Node.js CLI\u201d, \u201c生成 .SRCINFO\u201d, \u201ccompute sha256 for npm tarball\u201d.
Use when designing, reviewing, or optimizing MySQL database schemas — covering table structure design, fixed audit fields, status field conventions, time field type selection, unique constraints for idempotency, and index design principles with EXPLAIN guidance. Triggers: 在项目中设计、评审或优化 MySQL 表结构,需要统一固定字段、状态字段、时间字段、唯一约束与索引设计规范时。Also relevant for database schema review, SQL table creation, index optimization, database migration design, and multi-table relationship modeling.
Guide users through co-authoring a substantial structured document such as a proposal, spec, RFC, PRD, or decision doc. Trigger only when the user needs a staged writing workflow from context gathering through drafting and reader validation; do not use for small edits, proofreading, translation, or generic Q&A.
| name | skill-compress |
| description | 当用户要求精简 skill、减少体积、提高命中率或拆分大 skill 时触发。勿用于业务代码、技术文档或插件实现。 |
| version | 1.0.0 |
| compatibility | ["opencode","claude-code","codex"] |
| tags | ["skill"] |
| category | utilities |
| metadata | {"language":"cn","license":"MIT","author":"devcxl"} |
对已有 skill 进行压缩重构,收敛职责、移除冗余、外置资料,保留最小可执行协议。
压缩已有 skill · 优化 SKILL.md 体积与结构 · 提高触发准确率 · 判断是否应拆分
生成业务代码 · 编写技术文档 · 实现插件逻辑
一句话概括:"该 skill 仅用于……"。无法表述时说明过宽,需拆分。
改写 description:用于[任务]。当[场景]时触发;不要用于[相邻任务]。 禁止:空泛能力词、"各种""综合处理"等模糊描述。
正文仅保留:作用、适用/不适用、输入、步骤、输出、约束。 删除:背景介绍、原理解释、历史上下文、重复提醒。
最终应满足:直接理解何时使用 → 加载后直接执行 → 不易误触发相邻任务