技能质量审计_skills-audit
以下为本文档的中文说明skills-audit 是一个用于审计和评估 LobeHub 生态系统中技能Skills质量的工具。LobeHub 是一个开源的 AI 助手平台支持丰富的插件和技能扩展机制开发者可以为其创建各种功能技能。该技能的核心功能是对已注册的技能进行全面的质量检查包括代码质量、文档完整性、安全性和兼容性等方面。使用场景包括在将新技能发布到 LobeHub 市场前进行质量审查、定期审计已有技能的运行状态和兼容性、评估技能是否符合社区标准和质量规范。核心特点包括自动检测技能的基本元数据完整性包括名称、描述、版本号、作者信息等必要字段的完整性检查技能配置文件是否符合 LobeHub 的 Schema 规范验证技能的 API 接口定义和参数设置是否正确包括输入输出的类型匹配评估技能的安全风险检测可能存在的注入漏洞、敏感信息泄露或不安全的默认配置生成结构化的审计报告标注问题等级严重、警告、建议并提供修复建议。该技能帮助维护 LobeHub 技能市场的整体质量水平。此外该技能还支持审计历史的追踪和趋势分析帮助团队持续监控技能质量的改进情况并提供与 LobeHub CI/CD 流水线的集成方案实现自动化质量门禁。Skills AuditPeriodic review of the project-local skill set under.agents/skills/. The goal is to catch drift before the catalog becomes confusing — too many skills, overlapping triggers, descriptions that no longer match the body, references to skills that were renamed/deleted.Recommended cadence:weekly, or after any week where 1 skill was added/renamed.Procedure1 — InventoryBuild a fresh census of all SKILL.md files. Do NOT trust any prior cached list.find.agents/skills-nameSKILL.md|wc-l# total countfind.agents/skills-nameSKILL.md-execwc-l{}\\;|sort-rn# by body lengthGroup by domain in a mental table (DB / state / UI / agent / testing / workflow / docs / etc.). Note new arrivals since last audit (git log --since1 week ago -- .agents/skills/).2 — Pull frontmatter for all skills# Extract name description for each SKILL.mdforfin.agents/skills/*/SKILL.md;doecho$(basename$(dirname $f))awk/^---$/{c; next} c1$f|head-20doneRead the description block of every skill. The body can stay unread unless step 4 flags it.3 — Detect overlap / redundancyFor each pair within the same domain, ask:Same description? → likely duplicate (one is probably a stale rename leftover, or a global-vs-local collision).Trigger keywords substantially overlap? → either merge, OR tighten one description so the model can choose unambiguously.One skill’s body says “see also: foo”? → confirmfoostill exists, AND confirm the cross-reference is still meaningful (the referenced skill may have absorbed the referrer’s concerns).Skill duplicates content fromAGENTS.md? → fold into AGENTS.md or slim the skill to just the delta.Common false positives (do NOT merge):db-migrationsvsdrizzle— distinct workflows (migration files vs schema authoring).microcopyvsi18n— content vs mechanics.agent-runtime-hooksvsagent-tracingvsagent-signal— different surfaces of the agent system.testingvslocal-testingvscli-backend-testing— different test types.4 — Description format consistencyApply thestandard template:{Topic key conventions or scope}. Use when {scenarios — verbs nouns}. Triggers on {code-symbols, natural phrases, 中文}.Skills withdisable-model-invocation: true(user-invoked only, slash commands) don’t needTriggers on— they’re never auto-routed.Flag descriptions that:❌ Have NOUse whenclause (model can’t decide when to load it).❌ Have NOTriggers onclause (and aren’tdisable-model-invocation).❌ Use weird formats (numbered lists(1)(2)(3),Triggers:colon instead ofTriggers on,MUST use when ...as opening word).❌ Are dramatically terse for a 200 line body, or dramatically verbose for a 60-line body.❌ Reference deleted/renamed skills.5 — Stale-skill checkFor narrow domain skills (e.g.response-compliance, one-off CLI workflows):# Confirm the referenced code surface still existsrg-lresponse-compliance|openresponsespackages/ src/# adjust per skillgitlog--since3 months ago-- .agents/skills/skill/SKILL.md# is it being maintained?If the underlying surface is gone and the skill hasn’t been edited in 3 months → flag for archival.6 — Cross-reference integrityAny skill body mentioning another skill by name:# Scan all skill bodies for skill-name referencesrg-o[a-z][a-z0-9-].agents/skills/*/SKILL.md|grep-v:\\s*$|sort-uFor each name extracted, confirm.agents/skills/name/SKILL.mdexists. Broken references happen after renames — fix them in the same audit pass.7 — Output reportProduce a markdown summary back to the user with the same structure as the original audit (this skill was created during one):## Inventory {count, domain breakdown} ## Recommendations ### High confidence - { action} — {reason} ### Medium confidence - {action} — {reason needs verification} ### Low confidence / no-op - {item considered but skipping because ...} ## Suggested order {table of actions with risk LOC estimate}End by asking the user which actions to apply — do NOT auto-apply unless the user passed--applyand even then confirm destructive deletes individually.Output rulesBe specific. “Skill X overlaps with Y” is useless without naming the overlapping triggers.Cite line numbers when flagging description / body issues.Don’t recommend merges unless the call sites would actually load the merged skill in the same context.Don’t recommend deletes for skills that haven’t been touched recently — “unused” can mean “stable”, not “dead”.What NOT to do❌ Don’t rename skill directories without checking for cross-references AND user memory entries that name the old slug.❌ Don’t normalize a description by removing trigger keywords just to fit the template — the keywords are the routing signal.❌ Don’t fold a heavy 200 line skill into another just because they share a domain — large skills get loaded selectively and merging makes everything load.❌ Don’t propose.agents/skills/INDEX.mdordomain-skillprefix renames unless the user explicitly asks — costs benefits for cosmetic reorgs.Related historyFirst audit:chore/skills-auditbranch (2026-05-25) — deletedsource-command-dedupe, renameddata-fetching→data-fetching-architecture, normalized 9 descriptions, created this skill.3e:[“,,,L41”,null,{“content”:“$42”,“frontMatter”:{“name”:“skills-audit”,“description”:“Audit .agents/skills SKILL.md files. Use for recurring checks of duplicate, overlapping, stale, inconsistent, or broken skills and merge/delete candidates.”,“disable-model-invocation”:true,“argument-hint”:“[–verbose | --apply]”}}]3f:[“KaTeX parse error: Expected }, got EOF at end of input: …,children:[[”,“div”,null,{“className”:“flex items-center justify-between border-b border-border bg-muted/30 px-4 py-2.5”,“children”:[[“KaTeX parse error: Expected }, got EOF at end of input: …,children:[”,“span”,null,{“className”:“truncate text-xs font-medium text-muted-foreground”,“children”:“同仓库更多 Skills”}]}],[“KaTeX parse error: Expected EOF, got } at position 88: …ldren:同仓库}]]}̲],[”,“div”,null,{“className”:“p-4 sm:p-5”,“children”:[[“,h2,null,id:related−skills−heading,className:text−2xlfont−semiboldtracking−normaltext−foreground,children:同仓库更多Skills],[,h2,null,{id:related-skills-heading,className:text-2xl font-semibold tracking-normal text-foreground,children:同仓库更多 Skills}],[,h2,null,id:related−skills−heading,className:text−2xlfont−semiboldtracking−normaltext−foreground,children:同仓库更多Skills],[”,“div”,null,{“className”:“mt-4 grid gap-3 sm:grid-cols-2”,“children”:[“L43,L43,L43,L44”,“L45,L45,L45,L46”,“L47,L47,L47,L48”]}]]}]]}]49:I[206516,[“/_next/static/chunks/051aanbhrv4br.js”,“/_next/static/chunks/0mizr60h7ayzt.js”,“/_next/static/chunks/0v9lm1dmbdoo-.js”,“/_next/static/chunks/0rxr1j1j3j-.r.js”,“/_next/static/chunks/02ftybezfvqjd.js”,“/_next/static/chunks/0.v9ksvnnj8ia.js”,“/_next/static/chunks/0bn6id96nx3k.js,“/_next/static/chunks/13ybnhn37c.tc.js”,“/_next/static/chunks/0_fnrdtruz8uf.js”,“/_next/static/chunks/0r6l15utt1mwb.js”,“/_next/static/chunks/0dm9a5into854.js”,/_next/static/chunks/07k6hqoibtcn.js”,“/next/static/chunks/0b4cao.4y…j.js”,“/_next/static/chunks/02i-n28z7kjd0.js”],“default”]

相关新闻

CANN启航营提交规范详解:从Fork到PR的完整流程

CANN启航营提交规范详解:从Fork到PR的完整流程

CANN启航营提交规范详解:从Fork到PR的完整流程 【免费下载链接】cann-launch-camp 用户可借助此项目规范管理 CANN 开源社区启航营高校活动的课程作业、课设、毕设等实践作品,其核心功能是统一标准化目录层级与提交规范,保障作品提交规整、可…

2026/7/19 16:07:18阅读更多 →
内置工具开发_builtin-tool

内置工具开发_builtin-tool

以下为本文档的中文说明 LobeHub内置工具包构建指南,专门用于开发和集成LobeHub平台中可被代理调用的工具。该技能定义了内置工具的五大核心组件:Manifest与类型定义(为LLM提供工具规范和系统提示)、ExecutionRuntime执行运行时&a…

2026/7/19 16:07:18阅读更多 →
Replication Manager完全指南:MySQL/MariaDB高可用性解决方案入门

Replication Manager完全指南:MySQL/MariaDB高可用性解决方案入门

Replication Manager完全指南:MySQL/MariaDB高可用性解决方案入门 【免费下载链接】replication-manager Signal 18 repman - Replication Manager for MySQL / MariaDB / Percona Server 项目地址: https://gitcode.com/gh_mirrors/re/replication-manager …

2026/7/19 16:07:18阅读更多 →
ngx_output_chain_get_buf

ngx_output_chain_get_buf

1 定义 ngx_output_chain_get_buf 函数 定义在 src/core/ngx_output_chain.cstatic ngx_int_t ngx_output_chain_get_buf(ngx_output_chain_ctx_t *ctx, off_t bsize) {size_t size;ngx_buf_t *b, *in;ngx_uint_t recycled;in ctx->in->buf;size ctx->buf…

2026/7/20 0:15:05阅读更多 →
互联网大厂常见Java面试题及答案汇总(2026持续更新)

互联网大厂常见Java面试题及答案汇总(2026持续更新)

金九银十即将来袭,又是一个跳槽的好季节,准备跳槽的同学都摩拳擦掌准备大面好几场,今天为大家准备了互联网面试必备的 1 到 5 年 Java 面试者都需要掌握的面试题,分别 JVM,并发编程,MySQL,Tomca…

2026/7/20 0:15:05阅读更多 →
python数据可视化技巧的100个练习 -- 31. 类别数据的点图

python数据可视化技巧的100个练习 -- 31. 类别数据的点图

重要性★★★☆☆ 难度★★☆☆☆ 你是一家零售公司的数据分析师。你的经理要求你可视化最近产品发布的客户满意度评级分布。评级是分类的,范围从“非常不满意”到“非常满意”。创建一个点图以显示每个评级类别的频率。使用 Python 进行数据处理和可视化。在代码中生成输入…

2026/7/20 0:13:05阅读更多 →
智能体走进物理世界,千里科技携舱驾协同成果亮相WAIC 2026

智能体走进物理世界,千里科技携舱驾协同成果亮相WAIC 2026

在2026世界人工智能大会(WAIC 2026)举办期间,千里科技董事长、阶跃星辰董事长印奇作为特邀嘉宾出席大会开幕式并在大会主论坛(上午场)发表主题演讲《当智能体进入物理世界》。在印奇看来,"智能体"…

2026/7/20 0:13:05阅读更多 →
商汤大装置发布“技术-生态-商业”闭环布局,共启“国产AI基础设施规模化商用元年”

商汤大装置发布“技术-生态-商业”闭环布局,共启“国产AI基础设施规模化商用元年”

7月18日,在WAIC 2026商汤科技 “基座大模型架构创新与生态合作论坛”上,商汤科技联合创始人、大装置事业群总裁杨帆发表《智变共生——加速AI基础设施持续升级》主题演讲,系统呈现了商汤大装置国产AI基础设施“技术-生态-商业”闭环布局&…

2026/7/20 0:13:05阅读更多 →
2026郑州美发学校避坑指南:拆解5种教学方式,谁在“流水线”谁在“真传技”?

2026郑州美发学校避坑指南:拆解5种教学方式,谁在“流水线”谁在“真传技”?

2026年想在郑州学美发,很多零基础学员最先搜索的问题就是:郑州美发学校哪家好?这个问题没有一个只看学校名字就能得出的答案。因为不同学校的课程方向、学习周期、教学方式和适合人群并不一样。有的更适合零基础,有的偏向发型师进修,还有的只做某一项短期技术培训。对于完全没…

2026/7/20 0:11:05阅读更多 →
Go语言静态资源打包方案对比与实践指南

Go语言静态资源打包方案对比与实践指南

1. 项目背景与核心需求在Go语言开发中,我们经常需要处理静态资源文件的打包问题。无论是Web应用的模板文件、前端资源,还是配置文件、证书等,都需要随程序一起分发。传统做法是将这些文件与编译后的二进制文件放在同一目录下,但这…

2026/7/20 0:50:54阅读更多 →
Go语言实现高性能LDAP认证服务的架构与实践

Go语言实现高性能LDAP认证服务的架构与实践

1. 项目背景与核心价值LDAP(轻量级目录访问协议)作为企业级身份认证的黄金标准,已经服务了超过80%的财富500强公司。我在金融科技领域实施统一认证体系时,发现传统Java方案存在启动慢、内存占用高等痛点。而Go语言凭借其协程并发模…

2026/7/20 0:50:54阅读更多 →
【AI面试官实战指南】:用ChatGPT模拟10类高频技术岗面试,3天提升应答精准度92%

【AI面试官实战指南】:用ChatGPT模拟10类高频技术岗面试,3天提升应答精准度92%

更多请点击: https://intelliparadigm.com 第一章:AI面试官实战指南的核心价值与适用场景 AI面试官并非替代人类HR的“黑箱工具”,而是以可解释、可审计、可迭代的方式,赋能招聘全链路的关键基础设施。其核心价值在于将主观经验沉…

2026/7/20 0:50:54阅读更多 →
2026 WAIC:努比亚二代“豆包手机”NaviX Ultra亮相,智能体验全面升级!

2026 WAIC:努比亚二代“豆包手机”NaviX Ultra亮相,智能体验全面升级!

7月18日智东西消息,在2026 WAIC期间,努比亚联合字节豆包打造的二代“豆包手机”努比亚NaviX Ultra首次亮相,相比一代有诸多升级。智能体手机理念中兴通讯终端事业部总裁、努比亚总裁倪飞表示,智能体手机要从人操作手机变为手机帮人…

2026/7/20 0:01:04阅读更多 →
努比亚NaviX Ultra亮相WAIC,智能体手机能否让用户生活更简单?

努比亚NaviX Ultra亮相WAIC,智能体手机能否让用户生活更简单?

努比亚NaviX Ultra:外观与功能双升级在2026 WAIC期间,首次亮相的努比亚NaviX Ultra吸引了众多目光。它是努比亚联合字节豆包打造的二代“豆包手机”,与一代努比亚M153相比,外观设计变化较大。其机身背部搭载横向排布的大尺寸影像模…

2026/7/20 0:01:04阅读更多 →
C# 将逗号分割的字符串转换为long,并添加到List<long>

C# 将逗号分割的字符串转换为long,并添加到List<long>

目录 方法1:使用Split和Convert.ToInt64 方法2:使用LINQ的Select和ToList 方法3:使用TryParse进行异常安全转换(推荐) 如果您喜欢此文章,请收藏、点赞、评论,谢谢,祝您快乐每一天…

2026/7/20 0:01:04阅读更多 →
YOLOv8推理性能优化:从1.2FPS到35FPS的全链路加速实践

YOLOv8推理性能优化:从1.2FPS到35FPS的全链路加速实践

如果你在部署 YOLOv8 时,发现推理速度只有可怜的 1-2 FPS,而别人的演示视频却能跑到 30 FPS 以上,那么问题很可能不在模型本身,而在于你的整个处理链路。很多开发者拿到一个训练好的 YOLOv8 模型后,会直接使用官方示例…

2026/7/19 22:50:49阅读更多 →
Coze与Dify对比指南:低代码AI应用开发从入门到实战

Coze与Dify对比指南:低代码AI应用开发从入门到实战

1. 从零到一:为什么你需要了解 Coze 和 Dify?如果你对 AI 应用开发感兴趣,但一看到“大模型”、“智能体”、“工作流”这些词就头疼,觉得门槛太高,那这篇文章就是为你准备的。很多开发者,包括我自己&#…

2026/7/19 14:50:26阅读更多 →
AI生图工具怎么选?2026年6月版实测对比

AI生图工具怎么选?2026年6月版实测对比

做自媒体的朋友应该都有体会:配图一直是个让人头疼的问题。2026年,AI生图工具已经非常成熟了,但工具太多反而不知道怎么选。以下是截至2026年6月我对主流AI生图工具的实测对比。Midjourney V8.1:速度之王2026年6月11日&#xff0c…

2026/7/19 18:50:36阅读更多 →