multi-skilled-repository
Discovered★ 3AI Agent Skills Collection — CMD+PowerShell Pitfalls Guide · CLI Priority Decision Matrix · More Skills Continuously Added
AI Agent Skills
Curated skill collection for AI agents — reusable knowledge, proven workflows.
中文: AI 智能体技能合集仓库。每个技能是一个独立的
SKILL.md,封装特定领域的专家知识和最佳实践。English: A collection of reusable AI agent skills. Each skill is a self-contained
SKILL.mdwith domain-specific knowledge and proven workflows.
📦 Skills
| Skill | Description |
|---|---|
cmd-powershell-pitfalls | CMD + PowerShell 混合脚本避坑指南 — 35 条规则与代码示例,涵盖代码页/编码、引号与变量展开、路径、退出码、UAC 最小权限和 MSYS2 参数转换。Use when writing or debugging .cmd/.bat scripts with embedded PowerShell. |
cli-first-decision | CLI-First Decision 3.7 — DSH/FastCtx 优先路由、ast-grep、codebase-memory、DAG 并行,以及基于 run_code + 自动生成 tools:sdk 的 PTC runtime SDK 编排。GitHub/Context7 插件不是依赖。 |
customize-dsh | DeepSeek Harness (DSH) 自定义修改指南 — settings.yaml、profiles/*/cordis.patch.yml 与 bundles、技能创作与修复、agent preset、MCP server (dsh-mcp-client)、cordis 插件、自定义工具、slash 命令、启动失败与 patch 报错诊断。Use when editing or creating DSH configs/extensions. |
game-item-spawner | 游戏模组"网页点击生成物品"系统 — 逆向找生成API、提取物品目录(内嵌JSON)、模组内嵌本地HTTP服务器(localhost:PORT)、网页物品浏览器(分类/搜索/点击生成)、GitHub Pages托管+全链路验证。Use when user wants in-game item spawning with a visual web UI (spawn item, item browser, cheat generator). |
nexusmods-publisher | Nexus Mods v3 模组发布 — 打包 ZIP、GitHub Actions 自动发布、官方 upload-action、API key / file_id / mod_id、multipart 上传、版本与 changelog 校验。Use when publishing or automating Nexus Mods mod file releases. |
🚀 快速入口 | Quick Entry
cmd-powershell-pitfalls
编写 Windows 批处理(.cmd / .bat)并内嵌 PowerShell 命令时,常见的陷阱与解决方案。
17 条核心规则预览:
| # | 类别 | 问题 | 严重性 |
|---|---|---|---|
| 1 | 🔤 编码 | 区分控制台代码页、PowerShell 管道与文件编码 | 🟡 Medium |
| 2 | 🔄 循环 | for 循环体内 ) 被当作结束符吞掉 | 🔴 High |
| 3 | ❝ 引号 | \\\" 在 CMD 字符串中无效 | 🔴 High |
| 4 | 🧩 路径对象 | 使用 Join-Path 处理 PathInfo 和路径拼接 | 🟡 Medium |
| 5 | ⏳ 延迟展开 | 括号块读取更新值时按需使用 !var!,并注意字面 ! | 🟡 Medium |
| 6 | 📦 重定向 | 括号 () 与输出重定向 > 的优先级问题 | 🟡 Medium |
| 7 | ➖ 续行 | ^ 在双引号内不起作用 | 🟡 Medium |
| 8 | 💲 变量传递 | $ / % 在 CMD → PowerShell 的传递规则 | 🟡 Medium |
| 9 | 📝 文件编码 | Set-Content 在各 PowerShell 版本的默认编码差异 | 🟡 Medium |
| 10 | ❌ 错误处理 | %ERRORLEVEL% 与 $LASTEXITCODE 的正确使用 | 🟡 Medium |
| 11 | 🚪 退出码 | PowerShell 退出码需显式传递回 CMD | 🟡 Medium |
| 12 | 📁 路径 | %~dp0 的正确使用与拼接方式 | 🟢 Low |
| 13 | 🔍 过滤 | findstr 正则语法有限 | 🟢 Low |
| 14 | 🔗 管道 | `\ | ` 在 CMD 字符串中不会触发管道解析 |
| 15 | ⚡ 性能 | .NET 直调 vs Cmdlet 的性能差距 | 🟢 Low |
| 16 | 📄 追加 vs 重定向 | 循环内 >> 逐个打开文件 vs 一次性 > | 🟢 Low |
| 17 | ✅ 检查清单 | 写完脚本后逐项自查 | — |
➡️ 技能正文 · 回归评测 · CMD/PowerShell 实机 smoke fixtures
cli-first-decision
核心规则:本地文件优先 FastCtx;终端批处理优先 CLI;结构搜索使用 ast-grep;调用链和影响面使用 codebase-memory;多步骤工具操作使用 DSH PTC 的 run_code + tools:sdk runtime-language 组合。先确认当前 SDK 签名,再按 DAG 合并/并行,最后验证结果。
| 场景 | 首选 |
|---|---|
| 文件读取/搜索 | FastCtx inspect_local_file / grep / glob |
| 跨文件机械替换 | FastCtx replace(先 dry-run) |
| 结构搜索/改写 | sg(ast-grep) |
| 符号/调用链/影响面 | codebase-memory |
| JSON/YAML / HTTP | jq / yq / curl |
| 长任务 | run_background + job_output |
| MCP 退路 | 仅使用已 bake 的 mcp2cli |
GitHub、Context7 插件不是本技能的本地运行依赖;只有当前运行时真实注册时才可选用。从零开始先进行架构选型与网络官方文档调研,并明确速度/内存优先优化;并新增 DSH/FastCtx/CLI 上游权威文档索引与 Context7 文档检索流程;附带 74 个评估用例。
➡️ 技能主体 · 工具总参考 · CLI 工具链 · 权威文档索引 · 架构设计与官方文档调研 · 编程规则 · 工程原则 · 评估用例
customize-dsh
编辑或创建 DeepSeek Harness (DSH) 自身配置与扩展时的权威参考:
| 定制面 | 关键文件/机制 |
|---|---|
| 配置 | settings.yaml(旧版默认模型/权限预设/主题迁移) |
| Profile/Patch | profiles/*/cordis.patch.yml、package.json (dsh.profile.bundles) |
| 技能 | ~/.dsh/skills、~/.agents/skills、项目 .dsh/skills(6 层 rank) |
| MCP | @deepseek-ai/dsh-mcp-client(stdio / streamable-http) |
| 插件/工具/命令 | cordis 插件包、defineTool、ctx.commands.register |
涵盖配置生效时机(HMR/热重载)、Profiles 层叠与 patch 语义(insert/disabled/整体替换)、反直觉陷阱(空/仅注释 patch 文件 throws 须用 [])、区分当前 Cordis Agent preset 与已废弃的旧式目录 preset,以及逃生舱(dev_fix_patch/dev_heal_links/dev_clear_routes/dev_uninject_plugin)等。附带 references/AUTHORITATIVE-SOURCES.md 权威来源索引、Context7 检索流程和 evals/evals.json(16 个回归评估用例,包含 legacy settings 部分导入恢复与权限默认值路径)。
➡️ 完整内容: skills/customize-dsh/SKILL.md
game-item-spawner
为游戏模组搭建"网页点击生成物品"系统——网页物品浏览器点"生成"→ 物品进游戏背包。
核心架构: 网页只用 HTTP,与游戏解耦;模组是本机服务。
| 环节 | 说明 |
|---|---|
| 逆向 | 找游戏生成API(DirectoryMaster.Item 类)+ 主背包入口 |
| 提取 | 内嵌资源 JSON → items_data.js(ID/名称/分类) |
| 服务器 | HttpListener (localhost:26880),待处理队列上限 128、单请求最多 25 件、主线程每帧最多生成 4 件;HTTP 202 仅表示已入队,状态通过 /api/spawn/status 查询;浏览器 Origin 使用精确 allowlist |
| 网页 | items_data.js 外置加载;目录字段仅通过 DOM API/textContent 渲染;按钮区分入队、处理中、游戏成功与 Mock 模拟完成 |
| 验证 | mock 明确区分入队与模拟完成;模拟成功不代表真实游戏已入包 |
换游戏复用: HTTP/队列/网页/验证框架可复用;只需接入游戏创建 API、主背包和入包 API。TrySpawnOne 未接入真实游戏 API 时默认失败,不会伪造生成成功。附带 evals/evals.json(7 个评估用例)和目录提取/转换、mock HTTP 协议回归测试。
➡️ 完整内容: skills/game-item-spawner/SKILL.md
nexusmods-publisher
将已打包的游戏模组发布为 Nexus Mods 现有 mod file 的新版本。默认使用官方 upload-action,并区分首次创建 file entry 与更新已有文件。
| 发布环节 | 关键规则 |
|---|---|
| 打包 | 只上传必要的发布目录;检查 ZIP 结构、哈希、许可证与第三方资产来源 |
| 身份 | file_id 是目标文件,mod_id 是所属模组;mod_id 仅在写 changelog 时需要 |
| 认证 | NEXUSMODS_API_KEY 必须保存在 GitHub Secret;生产 Action 固定审查过的 commit SHA |
| 上传 | multipart → 分片 ETag → complete → finalise → available → 创建 file version |
| 幂等性 | changelog API 是追加式;部分成功后只补偿失败阶段,避免重跑重复创建版本/追加内容 |
| 近期变更 | 2026-11-23 起 description 最多 255 字符;2026-12-01 起单段上传 md5 必填 |
附带官方 API 与 Action 协议参考、8 个回归评估用例。
➡️ 技能正文 · API 与 Action 参考 · 评估用例
🏗 目录结构 | Directory Structure
.
├── .github/
│ └── workflows/
│ └── repository-regression.yml
├── .gitignore
├── LICENSE
├── README.md
└── skills/
├── cmd-powershell-pitfalls/
│ ├── SKILL.md
│ ├── evals/
│ │ └── evals.json
│ └── tests/
│ ├── cmd-runtime-smoke.cmd
│ └── powershell-runtime-smoke.ps1
├── cli-first-decision/
│ ├── SKILL.md
│ ├── references/
│ │ ├── REFERENCE.md
│ │ ├── CLI-TOOLS.md
│ │ ├── AUTHORITATIVE-SOURCES.md
│ │ ├── ARCHITECTURE-DESIGN.md
│ │ ├── PROGRAMMING-RULES.md
│ │ └── ENGINEERING-PRINCIPLES.md
│ └── evals/
│ └── evals.json
├── customize-dsh/
│ ├── SKILL.md
│ ├── references/
│ │ └── AUTHORITATIVE-SOURCES.md
│ └── evals/
│ └── evals.json
├── game-item-spawner/
├── SKILL.md
├── DATA-SOURCES.md
├── scripts/
│ ├── extract_catalog.py
│ ├── json_to_js.py
│ ├── spawn_server.cs
│ └── mock_spawn_server.py
├── assets/
│ └── items_browser.html
├── tests/
│ ├── test_catalog_pipeline.py
│ └── test_mock_server.py
└── evals/
└── evals.json
└── nexusmods-publisher/
├── SKILL.md
├── references/
│ └── API-REFERENCE.md
└── evals/
└── evals.json
🤝 贡献 | Contributing
有新技能想加入合集?欢迎提 Issue 或 PR!
Want to add a new skill? Feel free to open an issue or PR.
📄 许可与数据来源 | License & Data Provenance
仓库中的技能文档、脚本模板和网页模板按根目录 MIT License 发布。游戏本体、DLL、内嵌物品目录、图像、名称与描述等第三方内容不因该许可证而自动获得再分发授权。物品目录默认由使用者从其有权访问的本地游戏资源生成;请记录游戏版本、资源文件、提取日期和授权依据,并在发布前核验游戏 EULA 与相关权利方要求。详见 game-item-spawner 数据来源声明。
MIT
Comments
Loading…
Similar plugins
by agent-plaza
Zero-signup public commons for AI agents — HTTP API + Agent Skill (Codex, Cursor, Hermes)
★ 3
MIT
TypeScript
Aug 14, 2026
dsh plugin --profile web add agent-plazaby Scodive
A comprehensive library of AI agent skills for academic research and writing, designed to be used by autonomous agents to generate high-quality research outputs.
★ 22
MIT
Python
Nov 9, 2026
dsh plugin --profile web add dsh-paper-agent-skillsby andrepontesmelo
The DSH productivity suite: plugins + agent skills for the DeepSeek Harness, installable in one command.
★ 0
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add @andrepontesmelo/dsh-suiteby jasonguide
一个多 Agent 平台的 Skills 统一管理插件(DeepSeek Harness 插件),可以在DSH中统一管理codex、claude code、PI、OpenCode、Hermes、Openclaw等平台的Skills技能
★ 0
MIT
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-skills-hubby creght-dev
Codex and agent skills for Cregh.
★ 10
MIT
JavaScript
Nov 16, 2026
dsh plugin --profile web add creght-skillsby Epiphany-Leon
Multi-Agent collaborative skill forging system for DeepSeek Harness — distill conversational experience into verifiable, reusable Agent Skills.
★ 0
MIT
TypeScript
Sep 6, 2026
dsh plugin --profile web add dsh-skill-forge