19 Commits
Author SHA1 Message Date
Rohit Ghumare 6916c09962 chore: bump version to 1.7.2 2026-01-27 11:04:31 +00:00
Rohit Ghumare 85d9eee7e9 chore: bump version to 1.7.1 2026-01-27 00:06:13 +00:00
Rohit Ghumare 1b5722a8c0 chore: bump version to 1.7.0 2026-01-26 12:37:17 +00:00
Rohit Ghumare 0210556634 feat(tui): migrate to OpenTUI with monochromatic design (#11)
* feat(tui): migrate to OpenTUI with monochromatic design

## Summary
- Migrate TUI from Ink to OpenTUI framework (requires Bun >=1.2.0)
- Implement monochromatic B&W design with colored accents
- Add Help screen accessible via `/` key
- Fix terminal cleanup on exit (no more escape code garbage)
- Clean up code: remove unnecessary comments, simplify components
- Add 9 unit tests for TUI state, theme, and utilities

## Breaking Changes
- TUI now requires Bun runtime (>=1.2.0) for OpenTUI
- Help moved from `?` (requires Shift) to `/` key

## Changes
- **index.tsx**: Clean exit handler with ANSI terminal restore
- **App.tsx**: Simplified screen routing with switch statement
- **Help.tsx**: New help screen with keyboard shortcuts reference
- **Home.tsx**: Extract FEATURES constant, simplified agent width logic
- **Sidebar.tsx**: Removed unused onNavigate prop usage
- **state/types.ts**: Consolidated type definitions, added help screen
- **README.md**: Updated with Bun requirement and new architecture

## Test Coverage
- 757 tests passing (664 core + 80 agents + 9 tui + 1 cli + 3 app)

## Code Quality
- Removed all JSDoc comments describing obvious code
- Extracted reusable ShortcutSection component
- Replaced nested ternaries with clearer if/else
- Moved static data outside components to prevent recreation

* fix: address CodeRabbit review issues

- AgentGrid: prevent infinite loop when columns <= 0
- Splash: clamp progress width to prevent negative repeat
- StatsCard: reset animation state when items change
- Help: clamp contentWidth to minimum 1
- Browse: add useKeyboard handler for navigation and search
- Installed: add useKeyboard handler for toggle functionality
- Marketplace: add useKeyboard handler and clamp contentWidth
- Recommend: fix spinner interval, add keyboard handler
- Settings: add keyboard handler, fix SETTINGS -> settings state
- Sync: add keyboard handler and sync flow implementation
- Workflow: add keyboard handler and clamp contentWidth
- skills.ts: add path validation to prevent directory traversal

* fix: address additional CodeRabbit review issues

Splash.tsx:
- Change generateParticles from useMemo to useCallback for fresh random rows

Browse.tsx:
- Clamp maxLen to avoid negative slicing
- Add Enter/Return handler to open selected repo

Installed.tsx:
- Wire up 'd' key to toggle handler
- Update shortcuts label from "delete" to "disable"

Marketplace.tsx:
- Add handleInstall callback for Enter key
- Add 'b' key handler to navigate to browse

Recommend.tsx:
- Add handleInstall callback for Enter key

Settings.tsx:
- Update shortcuts label from "enter edit" to "enter toggle"

Sync.tsx:
- Add useRef for timeout cleanup on unmount
- Clamp selectedIndex when agents list shrinks

Workflow.tsx:
- Remove unimplemented shortcuts from display string

* fix: address performance and stale closure issues

Splash.tsx:
- Cache getVersion() with useMemo to avoid repeated sync file I/O

Installed.tsx:
- Wrap keyboard handler in useCallback to prevent stale closures

Settings.tsx:
- Wrap keyboard handler in useCallback with proper dependencies

Workflow.tsx:
- Remove "Press 'n' to create one" text since 'n' key isn't implemented
2026-01-26 12:35:30 +00:00
Rohit Ghumare 570ae26cd5 chore: bump version to 1.6.4 2026-01-25 14:15:03 +00:00
Rohit Ghumare 131bc122be chore: bump version to 1.6.1
- Add comprehensive E2E test suite (180 tests)
- Fix ESM compatibility, security improvements in test runner
- Align E2E tests with actual CLI interface
- Add timeout guards for reliable test execution
2026-01-24 21:31:30 +00:00
Rohit Ghumare e35cd0d0df test: add comprehensive E2E test suite for CLI commands (#7)
* test: add comprehensive E2E test suite for CLI commands

- Add 183 E2E tests covering all major CLI commands
- Core commands: init, list, read, validate, enable, disable, sync
- Translation: all 17 agents, context detection, recommendations
- Team collaboration: init, share, sync, bundle operations
- Methodology & Plan: 5 methodology packs, plan CRUD operations
- Hooks & Orchestration: event triggers, multi-agent coordination
- Plugin system: install, uninstall, enable, disable, marketplace
- Commands & Settings: slash commands, memory, audit, CI/CD

CI/CD updates:
- Add dedicated E2E job running on Node 22 after unit tests
- Upload artifacts on E2E test failures for debugging
- Add ci-success job for branch protection

New npm scripts:
- pnpm test:e2e - Run E2E tests
- pnpm test:e2e:watch - Run E2E tests in watch mode
- pnpm test:all - Run unit + E2E tests

* fix: improve E2E test reliability and align with actual CLI interface

- Fix ESM compatibility: use import.meta.url for __dirname equivalent
- Fix security: use execFileSync instead of execSync to prevent shell injection
- Fix skillCount: use nullish coalescing (??) to respect explicit 0
- Fix weak assertions: replace always-true checks (exitCode !== undefined)
  with meaningful assertions (exitCode <= 1, hasRelevantOutput)
- Fix CLI alignment: update tests to use actual command actions
  - methodology: load -> install, apply -> sync, validate -> info
  - plan: list -> templates, status -> generate
  - team init: add required --registry parameter

All 180 E2E tests now pass.

* fix: add .agent/skills directory check and timeout guards

- Add .agent/skills to directory checks in init tests (fixes CI failure)
- Add explicit timeout guards (exitCode !== -1) before exitCode <= 1 checks
  to fail fast on runCli timeouts instead of false positives
2026-01-24 21:26:54 +00:00
Rohit Ghumare d62fe0b761 chore: bump version to 1.6.0 2026-01-24 11:57:32 +00:00
Rohit Ghumare 9688959361 chore: bump version to 1.5.0 2026-01-23 22:34:29 +00:00
Rohit Ghumare 64b802a1e6 chore: release v1.4.0
New Features:
- Session Memory System: Cross-agent learning capture and sharing
- Skill Marketplace: Browse and install skills from curated repositories
- Skill Testing Framework: Test assertions and runner
- Workflow Orchestration: Multi-step skill compositions
- CI/CD Templates: GitHub Actions, GitLab CI, CircleCI support

Improvements:
- Enhanced TUI with marketplace browser
- Improved error-solution matching
- ReDoS protection for regex patterns
- Better input validation for CLI flags

All 346 tests passing.
2026-01-23 18:16:51 +00:00
Rohit Ghumare bc12775e0e docs: add README files to all packages 2026-01-23 09:58:16 +00:00
Rohit Ghumare ca9af70f10 chore: bump version to 1.3.0 2026-01-23 09:47:19 +00:00
Rohit Ghumare 160d2b1534 feat: add TUI enhancements and monorepo structure (#2)
* feat: add TUI enhancements and monorepo structure

- Add Translate screen for cross-agent skill translation
- Add Context screen for project context management
- Add Recommend screen with smart skill recommendations
- Fix TUI screen duplication by using fixed height container
- Clean up unnecessary comments following code-simplifier principles
- Refactor to monorepo structure with @skillkit/core, @skillkit/cli,
  @skillkit/tui, and @skillkit/agents packages
- Add comprehensive tests for translator, context, and recommend features
- Update license to Apache-2.0
- Add CONTRIBUTING.md with contribution guidelines

* ci: switch from npm to pnpm for monorepo support

* ci: use pnpm version from package.json

* fix: remove unused import in TUI helpers
2026-01-23 09:41:15 +00:00
Rohit Ghumare 75001a1310 feat: add interactive TUI for skill management
- Beautiful terminal interface with monochrome design
- Browse 33+ skill repositories dynamically
- Install skills with single keystroke
- Multi-agent installation support
- View installed skills and sync across agents
- Responsive design for all terminal sizes
- Keyboard navigation with clear instructions
- Animated logo reveal on home screen

Features:
- Browse: Discover skills from popular repositories
- List: View all installed skills
- Sync: Sync skills across multiple agents
- Settings: Configure SkillKit preferences

Keyboard shortcuts:
- h/b/l/s/, for navigation
- Enter to install/select
- m for multi-agent selection
- Esc to go back, q to quit
2026-01-22 13:21:58 +00:00
Rohit Ghumare 73f9c26cbe chore: bump version to 1.1.0 2026-01-21 12:07:08 +00:00
Rohit Ghumare 2f4232182f Auto-publish on tag push + auto-create release 2026-01-20 16:23:40 +00:00
Rohit Ghumare d90b6f67bb Bump to v1.0.2 2026-01-20 16:22:46 +00:00
Rohit Ghumare 0a1e07360c Fix repository URLs to rohitg00/skillkit 2026-01-20 16:18:30 +00:00
Rohit Ghumare 088b9bad4e Initial release v1.0.0 - Universal skills loader for AI agents
Features:
- Multi-agent support: Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Antigravity
- Multi-platform Git: GitHub, GitLab, Bitbucket, local paths
- Agent Skills spec compliance (agentskills.io)
- Skill toggle, validation, and CI/CD support
- Programmatic API for library usage
2026-01-20 15:42:51 +00:00