14`;import{existsSync as wi}from"fs";import{join as po}from"path";var qt="toolkit-conventions",Tn="SKILL.md",ho=[".agents/skills",".trae/skills",".claude/skills","agent/skills",".aug...
15`)}function pr(e){let t=ho.filter(n=>wi(po(e,n)));return t.length>0?t:[Ri]}function ko(e){let t=[];for(let n of ho){let r=`${n}/${qt}`,o=`${r}/${Tn}`;wi(po(e,o))&&t.push({dir:r,fil...
16`)}import{spawnSync as Uh}from"child_process";import{realpathSync as Hh}from"fs";import{basename as ic,dirname as Ai,isAbsolute as Mh,join as Bh,resolve as Vh}from"path";function h...
17`),xc()}function rt(e){Mi(vr(N(),".toolkitrc.json"),"skillsInstall",e)}function Qt(e,t=process.cwd()){let r=yt(t).project.file??vr(Rc(t),".toolkitrc.json");Mi(r,"projectSkills",e)}...
18`)}function Ho(){return pu}function _t(