Files
skillkit/package.json
T
Rohit Ghumare 5bd7ebf607 feat: viral growth features — quick setup, badges, matrix, SKILL.md, federated search (#41)
* feat: add viral growth features (quick setup, badges, matrix, SKILL.md, federated search)

Tier 2: skillkit quick zero-friction entry, shareable badge generator,
agent compatibility matrix on website.

Tier 3: reposition as npm for agent skills, SKILL.md validate/init/check
commands, federated GitHub skill search with --federated flag on find.

* fix: matrix filtering, path traversal, cross-platform paths, fetch timeout

- CompatibilityMatrix: query matching agents now shows all categories
  (and vice versa) instead of hiding both dimensions independently
- quick.ts: sanitize skill names and validate targetInstallPath stays
  inside installDir before rmSync/cpSync/symlinkSync
- skillmd.ts: use path.relative() instead of string replace for
  cross-platform path display
- registry: add AbortController timeout (10s default) and distinct
  RateLimitError on 403 instead of silent empty return
- find.ts: handle RateLimitError with user-facing message
- Add quick-security.test.ts regression tests for path traversal

* fix: harden isPathInside with path.resolve, propagate RateLimitError

- isPathInside now uses path.resolve() + path.sep comparison instead of
  naive string replacement, fixing detection of paths completely outside
  the parent directory (both packages/core and src/core copies)
- FederatedSearch.search re-throws RateLimitError from rejected
  Promise.allSettled results so callers (find.ts) can handle 403s
- Updated security test to use the corrected isPathInside logic

* fix: use GITHUB_TOKEN/GH_TOKEN for authenticated GitHub API requests

GitHubSkillRegistry now reads GITHUB_TOKEN or GH_TOKEN from env and
sends Bearer auth header, raising the rate limit from 10 to 30 req/min
for code search. Matches the guidance shown to users on 403 errors.
2026-02-03 13:48:35 +00:00

66 lines
1.6 KiB
JSON

{
"name": "skillkit-monorepo",
"version": "1.10.0",
"private": true,
"description": "The package manager for AI agent skills — install, translate, share across 32 coding agents",
"type": "module",
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"ui": "pnpm --filter skillkit exec bun skillkit ui",
"test": "turbo run test",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "vitest run --config e2e/vitest.config.ts",
"test:e2e:watch": "vitest --config e2e/vitest.config.ts",
"test:all": "pnpm test && pnpm test:e2e",
"typecheck": "turbo run typecheck",
"lint": "turbo run lint",
"clean": "rm -rf node_modules packages/*/node_modules apps/*/node_modules packages/*/dist apps/*/dist"
},
"keywords": [
"ai",
"skills",
"claude",
"codex",
"cursor",
"gemini",
"opencode",
"antigravity",
"agent",
"coding-assistant",
"skill-loader",
"cli",
"monorepo",
"skill-md",
"package-manager",
"plugin",
"workflow",
"automation",
"SKILL.md"
],
"author": "Rohit Ghumare",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/rohitg00/skillkit.git"
},
"bugs": {
"url": "https://github.com/rohitg00/skillkit/issues"
},
"homepage": "https://github.com/rohitg00/skillkit#readme",
"engines": {
"node": ">=18.0.0"
},
"packageManager": "pnpm@9.0.0",
"devDependencies": {
"@types/node": "^22.10.5",
"@types/react": "^18.3.18",
"tsup": "^8.3.5",
"turbo": "^2.3.4",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"pnpm": {}
}