{"_id":"@agent-skills-dashboard/core","_rev":"3-e487480161b6fc0fbaee8c541c62f77c","name":"@agent-skills-dashboard/core","dist-tags":{"latest":"0.1.9"},"versions":{"0.1.0":{"name":"@agent-skills-dashboard/core","version":"0.1.0","_id":"@agent-skills-dashboard/core@0.1.0","maintainers":[{"name":"wenson123","email":"luwenchun1@gmail.com"}],"dist":{"shasum":"0001e7dfb913be99bad80fdfb6c2eb896b5e69db","tarball":"https://registry.npmjs.org/@agent-skills-dashboard/core/-/core-0.1.0.tgz","fileCount":7,"integrity":"sha512-XCR3p8P3+wWtvBiKvpxUBFN9OZmOwvt5iGa8mVTxE8XnfY1/YjrqUTyi24t7Q4nf3qbdxk8mE8X2L+nQVDCLZg==","signatures":[{"sig":"MEUCIQCeDFFjg80mKNC8QEjTQO5iZBIIKeMkCTFV10W0YssUIgIgevj27e1hcP93KD4cFocpdnjmov3sZrBWrfi1EwooX60=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51702},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"4517cdbaad06485c66a9df325cd4847a407e6a19","private":false,"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup"},"_npmUser":{"name":"wenson123","email":"luwenchun1@gmail.com"},"_npmVersion":"10.8.2","description":"TypeScript data parsing layer for Agent Skills graph","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^1.0.0","typescript":"^5.4.0","@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1776845828970_0.49321075556628236","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@agent-skills-dashboard/core","version":"0.1.8","keywords":["agent-skills","ai-coding","skill-graph","workflow","typescript"],"_id":"@agent-skills-dashboard/core@0.1.8","maintainers":[{"name":"wenson123","email":"luwenchun1@gmail.com"}],"homepage":"https://github.com/wensonlu/agent-skills-dashboard#readme","bugs":{"url":"https://github.com/wensonlu/agent-skills-dashboard/issues"},"dist":{"shasum":"ea44e14b46e17a6251436bae149902fd76250933","tarball":"https://registry.npmjs.org/@agent-skills-dashboard/core/-/core-0.1.8.tgz","fileCount":8,"integrity":"sha512-MF+d2bfbNG1QFvg5Xmf18xQ0D2AR8ieXMIQTIzi7+O7M5hNiOMI0PIjee08uYvZpI3OJUWHJTZFDJ313ZbLuow==","signatures":[{"sig":"MEYCIQDBDv6UoD7aDQQepIWU94cfpfYl7blI+vojMkltPCW0PwIhAPpO08QV3DzPIAM88ujO+YMDnVJqHZrseVR+QuhN4EcT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53927},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"d0c6781b4607c849e037dfb74bcff86b14c74ad3","private":false,"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup"},"_npmUser":{"name":"wenson123","email":"luwenchun1@gmail.com"},"repository":{"url":"git+https://github.com/wensonlu/agent-skills-dashboard.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Parse SKILL.md files into an Agent Skills graph and recommend next-step skills for AI coding workflows.","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^1.0.0","typescript":"^5.4.0","@types/node":"^25.6.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.8_1776846371719_0.8360839026581506","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@agent-skills-dashboard/core","version":"0.1.9","private":false,"description":"Organize SKILL.md files into phase, dependency, and recommendation skill graphs for AI agent coding workflows.","keywords":["agent-skills","ai-coding","skill-graph","workflow","typescript"],"homepage":"https://github.com/wensonlu/agent-skills-dashboard#readme","bugs":{"url":"https://github.com/wensonlu/agent-skills-dashboard/issues"},"repository":{"type":"git","url":"git+https://github.com/wensonlu/agent-skills-dashboard.git","directory":"packages/core"},"publishConfig":{"access":"public"},"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run"},"devDependencies":{"@types/node":"^25.6.0","tsup":"^8.0.0","typescript":"^5.4.0","vitest":"^1.0.0"},"_id":"@agent-skills-dashboard/core@0.1.9","gitHead":"55ee738460d9f04f5b5e9fb005d040ff7e9f5ce8","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-QK5ztxn2x9NFZbKYL3I8hq9LJ+d2JipihDsgRtq+8d8Z4MoGMuAjlI0xOS1hn8Xy9+2VLVk6Guxan7WzjuXW2Q==","shasum":"329575a0a0e87d452c65443a27a5917f53be71ee","tarball":"https://registry.npmjs.org/@agent-skills-dashboard/core/-/core-0.1.9.tgz","fileCount":8,"unpackedSize":54415,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBWeNVJZrsjS6LrI/0+mZcKHsdBpzt1waoFfxTfhHqEfAiEAzmM4zf2DnsDXPiPfAokzywoH5TQ/izZNDIq2G85+BtE="}]},"_npmUser":{"name":"wenson123","email":"luwenchun1@gmail.com"},"directories":{},"maintainers":[{"name":"wenson123","email":"luwenchun1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.9_1776848254994_0.004939745563385722"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-22T08:17:08.871Z","modified":"2026-04-22T08:57:35.264Z","0.1.0":"2026-04-22T08:17:09.116Z","0.1.8":"2026-04-22T08:26:11.849Z","0.1.9":"2026-04-22T08:57:35.135Z"},"bugs":{"url":"https://github.com/wensonlu/agent-skills-dashboard/issues"},"homepage":"https://github.com/wensonlu/agent-skills-dashboard#readme","keywords":["agent-skills","ai-coding","skill-graph","workflow","typescript"],"repository":{"type":"git","url":"git+https://github.com/wensonlu/agent-skills-dashboard.git","directory":"packages/core"},"description":"Organize SKILL.md files into phase, dependency, and recommendation skill graphs for AI agent coding workflows.","maintainers":[{"name":"wenson123","email":"luwenchun1@gmail.com"}],"readme":"# @agent-skills-dashboard/core\n\nTypeScript data layer for Agent Skills. It reads `SKILL.md` files, builds a skill graph, and helps AI agents find or recommend the next skill for a development workflow.\n\n它把 `SKILL.md` 这类 Agent 技能文件组织成“阶段 + 依赖 + 推荐”的技能图谱。对 AI Agent 来说，它像一个开发流程导航器：可以根据当前阶段、任务描述和技能依赖，推荐下一步应该使用的技能。\n\n## Install\n\n```bash\npnpm add @agent-skills-dashboard/core\n\n# or\nnpm install @agent-skills-dashboard/core\n```\n\n### AI Install\n\n给 AI Agent 或自动化脚本使用时，可以临时指定淘宝 npm 镜像源，不修改全局 registry：\n\n```bash\nnpm install @agent-skills-dashboard/core --registry=https://registry.npmmirror.com\n```\n\n## Quick Start\n\n```ts\nimport {\n  createSkillGraph,\n  findForPhase,\n  findForTask,\n  recommendNext,\n  createProject,\n  updateProjectState,\n} from '@agent-skills-dashboard/core';\n\nconst graph = await createSkillGraph('/path/to/agent-skills/skills');\n\nconst buildSkills = findForPhase(graph, 'build');\nconst apiSkills = findForTask(graph, 'api integration');\nconst recommendations = recommendNext(graph, 'define', 'I want to start a new app');\n\nlet project = createProject('My AI Project');\nproject = updateProjectState(project, 'idea-refine', graph);\n```\n\n## Input\n\n`createSkillGraph()` expects a directory that contains skill folders with `SKILL.md` files:\n\n```text\nskills/\n├── idea-refine/\n│   └── SKILL.md\n├── planning-and-task-breakdown/\n│   └── SKILL.md\n└── shipping-and-launch/\n    └── SKILL.md\n```\n\n## Main APIs\n\n- `createSkillGraph(skillsRoot)` parses skills and returns a graph.\n- `findForPhase(graph, phase)` returns skills for `define`, `plan`, `build`, `verify`, `review`, or `ship`.\n- `findForTask(graph, task)` searches skills by keyword, name, and description.\n- `recommendNext(graph, currentPhase, context)` recommends useful next skills.\n- `createProject(name)` creates a project tracking state.\n- `updateProjectState(project, completedSkillId, graph)` marks a skill complete and advances the project phase when ready.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}