mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-19 02:13:58 +00:00
* feat: add custom AI sub-agents support (Phase 19) Add full support for custom AI sub-agents (.claude/agents/*.md): Core module (packages/core/src/agents/): - types.ts: Agent types, schemas, AGENT_DISCOVERY_PATHS for 17 AI agents - parser.ts: Parse agent markdown with YAML frontmatter - discovery.ts: Discover agents across all supported agent directories - translator.ts: Translate agents between Claude, Cursor, and universal formats - index.ts: Export all agent functionality CLI commands (skillkit agent): - list: List all installed agents (project + global) - show: Show agent details - create: Create a new agent from template - translate: Translate agents between formats - sync: Sync agents to target AI coding agent - validate: Validate agent definitions Features: - Agent discovery across 17 AI coding agents - Frontmatter support: name, description, model, permissionMode, disallowedTools, allowedTools, hooks, skills, context, tags, author, version - Translation between claude-agent, cursor-agent, and universal formats - 36 new tests (706 total passing) Closes #5 * fix: use workspace:* for internal dependencies pnpm automatically converts workspace:* to actual versions when publishing, but uses local workspace packages during development and CI. * fix: replace require() with ESM imports and add name validation - parser.ts: Import statSync instead of using require('node:fs') - translator.ts: Add ESM imports for extractAgentFrontmatter, extractAgentContent, AgentFrontmatter - agent.ts: Add validation for agent name format (lowercase alphanumeric with hyphens) Addresses review comments from Devin.