Skip to content

Release v0.2.0

Choose a tag to compare

@github-actions github-actions released this 26 May 06:35
· 19 commits to main since this release

Added

  • Modular API / CLI Separation: Refactored index.js into a lightweight, pure programmatic API. Removed all commander imports and CLI logic, making require('skillsman') extremely fast and clean of console artifacts.
  • Unified skills / skillsman CLI: Created cli.js as the new unified executable entry point, mapping both global commands (skills and skillsman) to it, supercharging the standard skills tool with native preset management out-of-the-box.
  • Self-Healing Global Shims: Integrated a lightweight 1.5ms check (ensureSkillsLink) run on every CLI execution. Automatically detects if the global skills command was overwritten by another installation and restores it programmatically (cross-platform, zero-privilege on Windows).
  • Environment & Path Redirection: Configured delegated package-manager commands (add, remove, update, find, list, init for templates, etc.) to execute under sandboxed XDG_STATE_HOME and XDG_DATA_HOME environment variables, redirecting all operations seamlessly straight to skillsman's local library.
  • Automatic Ingestion & Preset Hooks (skills collect): Replaced init (for environment setup) with a unified collect command. It scans ~/.agents/skills/ for physical directories, migrates them to the library, generates a corresponding preset on-the-fly (parsing metadata from SKILL.md using gray-matter), and creates Directory Junctions.
  • Auto-Preset and Clean-up Hooks: Configured automatic hook post-processing that creates preset markdown files after successful skills add installations, and purges orphaned library folders and preset files after skills remove.
  • Renamed Overlapping Commands: Renamed preset listing list/ls to presets (alias ps), and environment setup init to collect, keeping init reserved exclusively for initializing new skill project templates.