Compare commits

..
Author SHA1 Message Date
Rohit Ghumare d8a6b4a700 fix: replace workspace dependencies with actual versions for npm package display 2026-01-24 12:14:31 +00:00
Rohit Ghumare 0518ed40a3 chore: remove release notes file 2026-01-24 12:04:59 +00:00
Rohit Ghumare 91e7ab3450 docs: add release notes for v1.6.0 2026-01-24 12:03:23 +00:00
Rohit Ghumare d62fe0b761 chore: bump version to 1.6.0 2026-01-24 11:57:32 +00:00
Rohit Ghumare 1344d65b3d feat: implement phases 12-18 - complete agentic development platform (#6)
* feat: implement phases 12-18 - complete agentic development platform

This comprehensive update implements 7 major phases (12-18) transforming
SkillKit into a universal agentic development platform with methodology
packs, hooks, orchestration, planning, and AI capabilities.

Phase 12: Methodology Framework
- MethodologyManager for pack-based methodology distribution
- 5 methodology packs (testing, debugging, planning, collaboration, meta)
- 13 curated methodology skills
- Pack loader with validation and installation
- 56 comprehensive tests

Phase 13: Hooks & Automatic Triggering System
- HookManager with event-driven skill activation
- 10+ event types (session:start, file:open, task:start, etc.)
- Pattern-based triggers with glob support
- Agent-specific hook generation
- 29 comprehensive tests

Phase 14: Subagent Orchestration
- TeamOrchestrator for multi-agent coordination
- TaskManager with cross-agent assignment
- Plan approval workflow (submit → approve/reject)
- TeamMessageBus for agent communication
- Two-stage review system (spec compliance + code quality)
- 36 comprehensive tests

Phase 15: Structured Plan System
- PlanParser for markdown → structured plan conversion
- PlanValidator for completeness checking
- PlanExecutor with dry-run support
- Bite-sized task format (2-5 min atomic tasks)
- 36 comprehensive tests

Phase 16: Slash Commands & Agent Integration
- CommandRegistry for slash command management
- Agent-specific command generation (Claude, Cursor, OpenCode)
- Command aliases and arguments support
- 42 comprehensive tests

Phase 17: Enhanced Agent Features
- Permission system (allow/deny/ask patterns)
- Glob pattern matching for file-scoped skills
- Bootstrap files (AGENTS.md, SOUL.md, TOOLS.md)
- Multi-mode support (Code/Architect/Debug/Ask)
- Agent feature tests

Phase 18: Advanced Features (AI & Audit)
- AIManager with natural language skill search
- Automatic skill generation from examples/code
- MockAIProvider for testing without API keys
- AuditLogger with complete operation trail
- Query, export (JSON/CSV/text), and statistics
- 37 comprehensive tests (15 AI + 22 audit)

CLI Commands Added:
- skillkit methodology list|install|sync
- skillkit hook add|remove|list|generate
- skillkit plan parse|validate|execute|create
- skillkit commands generate|list
- skillkit ai search|generate|similar
- skillkit audit log|export|stats|clear

TUI Enhancements:
- Methodology screen (o key) for pack browsing
- Plan screen (n key) for plan viewing/execution
- Updated navigation and sidebar

Test Coverage:
- Total: 619 tests passing (582 core + 49 agents + 1 cli + 3 app)
- New: 245+ tests for phases 12-18
- Coverage maintained at 80%+

Breaking Changes: None
Dependencies: No new external dependencies added

* fix: apply CodeRabbit security and quality improvements

Security Fixes:
- Replace custom glob-to-regex with minimatch to prevent ReDoS vulnerabilities
- Fix regex pattern generation in globs.ts using battle-tested library
- Eliminate unsafe regex patterns in modes.ts and permissions.ts

Code Quality Improvements:
- Use shared GlobMatcher utility to eliminate code duplication in modes.ts
- Preserve command metadata on updates to prevent data loss
- Fix single-file vs directory output path handling in command.ts
- Pass --strict flag through to plan validator

Race Condition & Concurrency Fixes:
- Add Promise-based mutex to prevent race condition in audit logger flush()
- Handle both sync and async event listeners to prevent unhandled rejections
- Maintain synchronous event emission while safely handling async listeners

Data Integrity Fixes:
- Fix dependency checking to detect missing dependencies
- Rehydrate Date fields when importing tasks from JSON
- Fix executePlan to properly detect incomplete tasks

State Management:
- Add validation for missing step executor (fail fast)
- Handle cancellation and reset executor state in finally block
- Add 'cancelled' status and event to PlanStatus/PlanEvent types

Dependencies:
- Add minimatch@^10.0.1 to @skillkit/agents package

All 639 tests passing.

* docs: update READMEs with Phase 10-18 features

- Root README: add minimal "What's New in v1.5.0" section with 5 bullet points
- packages/core: add usage examples for Team, Plugin, Methodology, Orchestration, Plan, Hooks
- packages/cli: add command sections for team, plugin, methodology, plan, hook, command
- packages/tui: add screen descriptions for Marketplace, Workflow, Execute, Team, Plugins, Methodology, Plan, Memory
- apps/skillkit: expand with practical usage examples for all new features

All updates are clean, user-focused, and avoid AI marketing fluff.

* fix: resolve multiple code quality and robustness issues

- Fix minimatch dependency: downgrade to ^9.0.0 for Node 18 compatibility
- Fix command.ts export: handle directory paths and ensure parent directories exist
- Fix command.ts merge: preserve curated examples when merging commands
- Fix plan.ts: filter empty entries from comma-separated inputs
- Fix audit logger pagination: respect explicit 0 for limit and offset
- Fix audit logger: gracefully handle malformed JSON lines without data loss
- Fix team orchestrator: prevent task assignment to non-idle agents
- Fix plan executor: unblock waitIfPaused() when cancel() is called

All 639 tests passing.

* fix: additional robustness improvements for plan and executor

- Fix plan.ts createPlan: filter empty strings from techStack after split/trim
- Fix executor.ts: re-check abort signal after waitIfPaused() in both execute() and executeTask()
  to prevent running additional tasks/steps after cancellation during pause

All 639 tests passing.
2026-01-24 11:54:47 +00:00
7 changed files with 98 additions and 36 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "skillkit",
"version": "1.5.0",
"version": "1.6.0",
"description": "Universal skills loader for AI coding agents - supports Claude Code, Codex, Cursor, Antigravity, OpenCode, Gemini CLI and more",
"type": "module",
"bin": {
@@ -53,10 +53,10 @@
"node": ">=18.0.0"
},
"dependencies": {
"@skillkit/core": "workspace:*",
"@skillkit/agents": "workspace:*",
"@skillkit/cli": "workspace:*",
"@skillkit/tui": "workspace:*",
"@skillkit/core": "^1.6.0",
"@skillkit/agents": "^1.6.0",
"@skillkit/cli": "^1.6.0",
"@skillkit/tui": "^1.6.0",
"clipanion": "^4.0.0-rc.4"
},
"devDependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "skillkit-monorepo",
"version": "1.5.0",
"version": "1.6.0",
"private": true,
"description": "Universal skills loader for AI coding agents - Monorepo",
"type": "module",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@skillkit/agents",
"version": "1.5.0",
"version": "1.6.0",
"description": "Agent adapters for SkillKit - supports 17+ AI coding agents",
"type": "module",
"main": "./dist/index.js",
@@ -21,7 +21,7 @@
"test": "vitest run"
},
"dependencies": {
"@skillkit/core": "workspace:*",
"@skillkit/core": "^1.6.0",
"minimatch": "^9.0.0"
},
"devDependencies": {
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@skillkit/cli",
"version": "1.5.0",
"version": "1.6.0",
"description": "CLI commands for SkillKit",
"type": "module",
"main": "./dist/index.js",
@@ -21,9 +21,9 @@
"test": "vitest run"
},
"dependencies": {
"@skillkit/core": "workspace:*",
"@skillkit/agents": "workspace:*",
"@skillkit/tui": "workspace:*",
"@skillkit/core": "^1.6.0",
"@skillkit/agents": "^1.6.0",
"@skillkit/tui": "^1.6.0",
"chalk": "^5.3.0",
"clipanion": "^4.0.0-rc.4",
"got": "^14.4.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@skillkit/core",
"version": "1.5.0",
"version": "1.6.0",
"description": "Core functionality for SkillKit - skill discovery, parsing, and translation",
"type": "module",
"main": "./dist/index.js",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@skillkit/tui",
"version": "1.5.0",
"version": "1.6.0",
"description": "Terminal UI for SkillKit",
"type": "module",
"main": "./dist/index.js",
@@ -21,8 +21,8 @@
"test": "vitest run"
},
"dependencies": {
"@skillkit/core": "workspace:*",
"@skillkit/agents": "workspace:*",
"@skillkit/core": "^1.6.0",
"@skillkit/agents": "^1.6.0",
"chalk": "^5.3.0",
"ink": "^5.0.1",
"ink-select-input": "^6.0.0",
+82 -20
View File
@@ -30,17 +30,17 @@ importers:
apps/skillkit:
dependencies:
'@skillkit/agents':
specifier: workspace:*
version: link:../../packages/agents
specifier: ^1.6.0
version: 1.6.0
'@skillkit/cli':
specifier: workspace:*
version: link:../../packages/cli
specifier: ^1.6.0
version: 1.6.0(@types/react@18.3.27)(typanion@3.14.0)
'@skillkit/core':
specifier: workspace:*
version: link:../../packages/core
specifier: ^1.6.0
version: 1.6.0
'@skillkit/tui':
specifier: workspace:*
version: link:../../packages/tui
specifier: ^1.6.0
version: 1.6.0(@types/react@18.3.27)
clipanion:
specifier: ^4.0.0-rc.4
version: 4.0.0-rc.4(typanion@3.14.0)
@@ -61,8 +61,8 @@ importers:
packages/agents:
dependencies:
'@skillkit/core':
specifier: workspace:*
version: link:../core
specifier: ^1.6.0
version: 1.6.0
minimatch:
specifier: ^9.0.0
version: 9.0.5
@@ -83,14 +83,14 @@ importers:
packages/cli:
dependencies:
'@skillkit/agents':
specifier: workspace:*
version: link:../agents
specifier: ^1.6.0
version: 1.6.0
'@skillkit/core':
specifier: workspace:*
version: link:../core
specifier: ^1.6.0
version: 1.6.0
'@skillkit/tui':
specifier: workspace:*
version: link:../tui
specifier: ^1.6.0
version: 1.6.0(@types/react@18.3.27)
chalk:
specifier: ^5.3.0
version: 5.6.2
@@ -154,11 +154,11 @@ importers:
packages/tui:
dependencies:
'@skillkit/agents':
specifier: workspace:*
version: link:../agents
specifier: ^1.6.0
version: 1.6.0
'@skillkit/core':
specifier: workspace:*
version: link:../core
specifier: ^1.6.0
version: 1.6.0
chalk:
specifier: ^5.3.0
version: 5.6.2
@@ -650,6 +650,22 @@ packages:
resolution: {integrity: sha512-P1Cz1dWaFfR4IR+U13mqqiGsLFf1KbayybWwdd2vfctdV6hDpUkgCY0nKOLLTMSoRd/jJNjtbqzf13K8DCCXQw==}
engines: {node: '>=18'}
'@skillkit/agents@1.6.0':
resolution: {integrity: sha512-rYq9wMqI55ucVOMxR6fyal7Pj87funV884bb8NNop7MUOAEoETtHbMPMRL6MYv9bGvBRzwaNkWRo8cszCj+zjQ==}
engines: {node: '>=18.0.0'}
'@skillkit/cli@1.6.0':
resolution: {integrity: sha512-ghmeF3kj0TIB5hfct5aoQJO8KnxVBm2+m7wFwXg9aPtewSwws1C7nEYVFMRFWnL0kHPe6+tEo4qddm+GxJ8NFQ==}
engines: {node: '>=18.0.0'}
'@skillkit/core@1.6.0':
resolution: {integrity: sha512-987hhnYir4a3qnIkB/iIxeVeJ8mNF6R8IidtnFo9Q4GamcyvJ0W692V5wVOoR2MiS1F/NSstjfrV/h2ujMydyw==}
engines: {node: '>=18.0.0'}
'@skillkit/tui@1.6.0':
resolution: {integrity: sha512-5ifBzM0G0QhiX3cJDiUNd65SSQEmoFWKJEFtYLNDe/wcP7k3WPZemliyIpSknZh2564wqnwf3w4Ua2TtO9M/WQ==}
engines: {node: '>=18.0.0'}
'@types/estree@1.0.8':
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
@@ -1891,6 +1907,52 @@ snapshots:
'@sindresorhus/is@7.2.0': {}
'@skillkit/agents@1.6.0':
dependencies:
'@skillkit/core': 1.6.0
minimatch: 9.0.5
'@skillkit/cli@1.6.0(@types/react@18.3.27)(typanion@3.14.0)':
dependencies:
'@skillkit/agents': 1.6.0
'@skillkit/core': 1.6.0
'@skillkit/tui': 1.6.0(@types/react@18.3.27)
chalk: 5.6.2
clipanion: 4.0.0-rc.4(typanion@3.14.0)
got: 14.6.6
isomorphic-git: 1.36.1
ora: 8.2.0
yaml: 2.8.2
transitivePeerDependencies:
- '@types/react'
- bufferutil
- react-devtools-core
- typanion
- utf-8-validate
'@skillkit/core@1.6.0':
dependencies:
'@types/minimatch': 6.0.0
minimatch: 10.1.1
yaml: 2.8.2
zod: 3.25.76
'@skillkit/tui@1.6.0(@types/react@18.3.27)':
dependencies:
'@skillkit/agents': 1.6.0
'@skillkit/core': 1.6.0
chalk: 5.6.2
ink: 5.2.1(@types/react@18.3.27)(react@18.3.1)
ink-select-input: 6.2.0(ink@5.2.1(@types/react@18.3.27)(react@18.3.1))(react@18.3.1)
ink-spinner: 5.0.0(ink@5.2.1(@types/react@18.3.27)(react@18.3.1))(react@18.3.1)
ink-text-input: 6.0.0(ink@5.2.1(@types/react@18.3.27)(react@18.3.1))(react@18.3.1)
react: 18.3.1
transitivePeerDependencies:
- '@types/react'
- bufferutil
- react-devtools-core
- utf-8-validate
'@types/estree@1.0.8': {}
'@types/http-cache-semantics@4.0.4': {}