agentleFS
ferocknewferocknew/claude_code_public_skills/CLAUDE.md

claude_code_public_skills

CLAUDE.md8 starsChanged 4 months agoMITView on GitHub

本仓库的 Claude Code 开发指导文件。 Claude Code Skills Collection:Claude Code 可加载的技能集合,每个目录一个技能包。 技能分两类: - Bundled:run.js + build.js + package.json,esbuild 打包为独立 skill.js(零依赖), 运行 node skill.js <args> - Agent-only:仅 SKILL.md,LLM 通过 MCP 工具或 CLI 命令驱动 各 skill 用法和架构详见其目录下 SKILL.md 和 CLAUDE.md。 YAML frontmatter 必须包含 name(kebab-case)和 description(说明"何时使用", 触发词覆盖查询+写入意图)。 Bundled skill 采用"瘦索引"模式:快速开始 + 命令总表(必须含写入命令)+ 选项 + 认证 + FAQ,详细案例路由到 examples/。 所有 Bundled skill 共享 esbuild 打包流程: build.js 标准配置:platform: "node"、target: "node18"、bundle: true、 define: { __VERSION } 注入版本号,自动更新 SKILL.md 的 skill_version。 版本号格式 YYMMDD.HHmmSS,由 getTimestamp() 生成。 native 模块(better-sqlite3、ssh2)须加 external,不能打进…

  • Reads credentials
  • Installs packages

The file

Files
CLAUDE.md

CLAUDE.md

本仓库的 Claude Code 开发指导文件。

仓库概览

Claude Code Skills Collection:Claude Code 可加载的技能集合,每个目录一个技能包。

技能分两类:

  • Bundled:run.js + build.js + package.json,esbuild 打包为独立 skill.js(零依赖), 运行 node skill.js <args>
  • Agent-only:仅 SKILL.md,LLM 通过 MCP 工具或 CLI 命令驱动

当前技能

技能类型用途
88chaBundled企业搜索(工商信息、关联企业、专利)
agent-browserAgent-only浏览器自动化、截图、网页测试
brz_repair_manual_queryAgent-only斯巴鲁 BRZ 维修手册查询
cmo-weather-queryBundled中国气象局天气查询
db_clientBundled数据库客户端(MySQL/PostgreSQL/SQLite + SSH 隧道)
dianping-searchBundled大众点评商户搜索
drawio_nodejsBundled私有化 draw.io 远程操作(建图、节点、连接、批量、导出、编辑 URL)
doc_readerBundled读取 .docx 转 Markdown/HTML
documents_ripgrepBundledripgrep + textract 全文搜索(代码+Office)
excel-alasqlBundledSQL 查询 Excel,支持中文列名
financialBundled金融信息 API(金银期、A股、K线、新闻)
figma-code-connectAgent-onlyFigma 组件与代码映射
figma-create-design-system-rulesAgent-onlyAI 编码助手设计系统规则生成
figma-create-new-fileAgent-only创建空白 Figma 文件
figma-generate-designAgent-only从代码/描述构建 Figma 页面
figma-generate-libraryAgent-only从代码库构建 Figma 设计系统
figma-implement-designAgent-onlyFigma 设计稿转生产代码
figma-useAgent-onlyFigma Plugin API MCP 封装
file_code_boxAgent-only匿名口令分享文本和文件
gaode_mapBundled高德地图(地理编码、POI、路径、路况)
game_mahjong_agentBundledAI 多人麻将游戏模拟器
happy_agent_easyBundledHappy Agent 远程会话管理客户端
jina_readerAgent-onlyJina AI Reader 网页纯文本提取
makepad-进化Agent-only自我改进 Makepad 开发技能
mind-map-skillBundled心智图 REST API 远程控制
ms_office_x_editerBundledWord/Excel 编辑(替换、样式、表格、图片、diff)
nexus3-skillBundledNexus3 REST API(Basic Auth,查询仓库/组件/资产,删除 docker tag/npm/pypi/maven 组件,默认预览+--yes 执行)
obsidian_cliAgent-onlyObsidian 知识库交互(读写、搜索、任务)
obsidian-basesAgent-onlyObsidian Bases 文件创建/编辑
obsidian-json-canvasAgent-onlyJSON Canvas 文件创建/编辑
opencode-go-usageBundledOpenCode Go 订阅用量查询(原生 fetch+完整浏览器头读 SSR 页面,滚动/每周/每月百分比+重置时间,auth cookie 认证)
sendmailBundledSMTP 发送邮件(支持附件)
siyuan_apiBundled思源笔记 REST API(增删改查、SQL、导出)
ssh2-nodeBundledSSH 客户端(exec/shell/sftp/tunnel/keygen,零依赖打包)
use_http_mcpBundledHTTP 请求工具(GET/POST/PUT/DELETE)
website_security_scanBundled网站安全扫描(HTTP头、CORS、CSP、XSS)
where-am-iBundled公网 IP 地理位置查询
where-is-thisBundled经纬度逆地理编码
wikijs_apiBundledWiki.js GraphQL API 客户端
xiaomi-mimo-queryBundled小米 MiMo CodingPlan 用量查询(本月/计划/补偿 token 用量与百分比)
x_release_by_agent_browserAgent-onlyX/Twitter 自动发布推文

各 skill 用法和架构详见其目录下 SKILL.md 和 CLAUDE.md。

SKILL.md 规范

YAML frontmatter 必须包含 name(kebab-case)和 description(说明"何时使用", 触发词覆盖查询+写入意图)。

---
name: skill-name
description: 当用户要求"..."时使用此 skill。
skill_version: YYMMDD.HHmmSS    # build.js 自动更新,不要手填
---

Bundled skill 采用"瘦索引"模式:快速开始 + 命令总表(必须含写入命令)+ 选项 + 认证 + FAQ,详细案例路由到 examples/。

构建与版本

所有 Bundled skill 共享 esbuild 打包流程:

cd <skill-dir>
pnpm install && pnpm run build   # run.js → skill.js(零依赖)
node skill.js --help             # 验证

build.js 标准配置:platform: "node"、target: "node18"、bundle: true、 define: { __VERSION } 注入版本号,自动更新 SKILL.md 的 skill_version。

版本号格式 YYMMDD.HHmmSS,由 getTimestamp() 生成。

native 模块(better-sqlite3、ssh2)须加 external,不能打进 bundle。

模块化规范

Bundled skill 的 lib/ 有两种模式:

  • 扁平模式(简单 skill):lib/api.js + lib/commands.js
  • cmd 子目录(复杂 skill):lib/cmd/<对象>.js + index.js + lib/parser.js + lib/env.js + lib/errors.js + lib/output.js

编码规范:CommonJS(require/module.exports)、Node 18+ 全局 fetch、 错误统一 JSON.stringify({ error, message }) 输出、配置从环境变量读取、 中文注释与输出。

隐私红线

禁止将私有信息提交到 GitHub。 本仓库为公开仓库。

  • 代码/SKILL.md/help 不得硬编码内网 IP、token、密码、内部域名
  • 默认值用 localhost 或占位符,真实地址由 .env 注入
  • .env/cookie/私钥文件必须被 .gitignore
  • skill.js 打包会将 lib/ 源码原样打进 bundle,隐私检查必须在源码层做
  • 提交前扫描: git diff --cached | grep -iE "token|password|10\.0\."

Node.js skill 专家 agent:.claude/agents/nodejs-expert.md 内置撰写规范、隐私检查和验证清单。

添加新技能

  1. 创建目录(短名用下划线如 db_client,多词用连字符如 agent-browser)
  2. 添加 SKILL.md(frontmatter: name + description)
  3. Bundled skill:添加 run.js + build.js + package.json + lib/
  4. pnpm install && pnpm run build 打包,node skill.js --help 验证
  5. 更新本文件和 README.md 的技能表格

文件规范

项目规范
Skill 文档SKILL.md(大写)
打包入口run.js(开发)→ skill.js(产物,提交仓库)
打包脚本build.js,esbuild,仅 devDep: esbuild
模块化lib/cmd/*.js + lib/cmd/index.js
版本号YYMMDD.HHmmSS,build.js 自动更新

子 skill 三文档模型:SKILL.md(LLM 运行时)、 CLAUDE.md(开发指导)、README.md(人类用户)。

Session 历史

2026-07-26:创建 nodejs-expert agent(内置撰写规范); 修复 drawio_nodejs 内网 IP 泄露(10.0.0.40 硬编码), filter-branch 重写历史 + force push; 将"隐私红线"写入 agent 和本文件。

GitNexus MCP

本项目由 GitNexus 索引(149 symbols)。 代码理解/调试/影响分析任务先读 gitnexus://repo/claude_code_public_skills/context。

任务Skill 文件
理解架构.claude/skills/gitnexus/exploring/SKILL.md
爆炸半径.claude/skills/gitnexus/impact-analysis/SKILL.md
追踪 bug.claude/skills/gitnexus/debugging/SKILL.md
重命名/重构.claude/skills/gitnexus/refactoring/SKILL.md

工具:query(代码智能)、context(符号全景)、 impact(爆炸半径)、detect_changes(git diff)、 rename(协同重命名)、cypher(图查询)。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.