mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-18 18:04:26 +00:00
* feat(cli): add beautiful onboarding UI with @clack/prompts - Add new onboarding module with theme, logo, prompts, summary, and preferences - Implement adaptive ASCII logos (full/compact/minimal based on terminal width) - Add agent icons (⟁ ◫ ◎ ✦ ⬡) and circle-based step indicators (● ○) - Create agentMultiselect and skillMultiselect with visual formatting - Add progress bars and score formatting utilities - Store user preferences in ~/.skillkit/preferences.json - Update all interactive commands with new UI (init, install, sync, marketplace, recommend) - Add unit tests (18 tests) and e2e tests (16 tests) - Replace nested ternaries with if/else for clarity * fix(cli): address review feedback from CodeRabbit and Devin - Fix symlink install method: actually create symlinks for subsequent agents - Fix validate type signature to match @clack/prompts API (string | Error | undefined) - Handle zero detected agents to avoid empty multiselect blocking - Clamp divider width to avoid negative repeat counts - Guard progressBar against invalid totals/values - Isolate preference tests from real ~/.skillkit state * fix(cli): TypeScript type compatibility with @clack/prompts - Cast select options to match Option<T> type signature - Cast groupMultiselect options for proper Record type - Fix tasks function return type to Promise<string | void> * fix(cli): use 'as any' for @clack/prompts type compatibility The Option<T> type from @clack/prompts has a complex structure that doesn't match our inline types. Using 'as any' assertion to bypass strict type checking while maintaining runtime correctness.