SuperAPI AI 工具集

maestro-knowhow

编程与开发

查看项目

更新于 10-15 20:10

技能介绍

用途:把日常经验沉淀为结构化知识条目。用户只需描述想记录的内容(如“记一个关于X的决策”“保存这段代码模板”“写个部署配方”“存个调试技巧”),工作流会推断类型并写入。

主要能力:支持九种类型,各自有前缀与关键词——session(session/compact/压缩,KNW-)、template(template/tpl/模板,TPL-)、recipe(recipe/rcp/配方/步骤,RCP-)、reference(reference/ref/参考,REF-)、decision(decision/dcs/adr/决策,DCS-)、tip(tip/note/技巧/记录,TIP-)、asset(asset/资产,AST-)、blueprint(blueprint/蓝图,BLP-)、document(document/doc/文档,DOC-)。

使用方式:将完整 $ARGUMENTS 作为意图传给工作流,首个 capture 参数为隐含值。最简创建命令为:maestro knowhow add --type <type> --title "<title>" --content-file <path>;type、title、content 是仅有的必填参数。关键词、sourceRef、relatedPaths、applicability、language、decision state、显式 ID、tool 属高级可选元数据。

限制:仓库权限由宿主控制。当前仓库写入时省略 targetRepoId;仅对明确选定且具备实时 knowhow 写入能力的关联写入,才传入宿主提供的稳定 UUID。不得用 cwd、名称、别名或路径推导身份,也不得将其持久化为身份。