Repository navigation
fix(cli): improve DX across CLI commands and package metadata - #2
Merged
Merged
Conversation
The remove command now prompts for confirmation before deleting skills. Use -y/--yes to skip the prompt for scripted usage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Descriptions are now truncated to fit within 80 columns, breaking at sentence boundaries when possible. A new "Details" hint directs users to the info command for full descriptions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The add command now shows "(copied)" when the symlink fallback is used. Re-installing a skill over an existing copy (non-symlink) now replaces it instead of failing, so users don't have to manually remove before re-adding. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Consolidates the duplicated resolveAgents function from add, remove, and dev commands into agents.ts. The "Unknown agent" error now lists valid agent names so users don't have to check the docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds node >=18 engines constraint to catch incompatible runtimes early. Expands keywords with use-wallet, haystack, codex, cursor, and opencode for better npm discoverability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
txnlab-release-bot Bot
added a commit
that referenced
this pull request
Feb 10, 2026
# 1.0.0 (2026-02-10) ### Features * **haystack-router:** add haystack-router skill with routing doc and reference files ([1d8cca4](1d8cca4)) * **nfd:** add nfd skill with routing doc and reference files ([204ad35](204ad35)) * **use-wallet:** add use-wallet skill with routing doc and reference files ([841f1f4](841f1f4)) * bootstrap @txnlab/skills project ([d3a72f8](d3a72f8)) ### Bug Fixes * **cli:** improve DX across CLI commands and package metadata ([#2](#2)) ([bcfe0ed](bcfe0ed))
Contributor
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses the top five findings from a developer experience review of the first public release. The changes improve error messages, add safety to destructive operations, make the
listoutput readable in standard terminals, and improve npm discoverability.Details
Key changes
remove— Theremovecommand now prompts before deleting skills instead of running immediately. Pass-y/--yesto skip for scripted usage. Newsrc/prompt.tsutility using Node's built-inreadline.listoutput — Skill descriptions are truncated to fit 80 columns, preferring sentence boundaries. A "Details:" hint directs users toinfo <name>for full text.addnow shows(copied)when the symlink-to-copy fallback is used (e.g., on Windows). Re-installing over an existing copy replaces it instead of failing with "not a symlink."resolveAgentswith better errors — Extracted the duplicatedresolveAgentsfromadd,remove, anddevcommands intoagents.ts. Unknown agent errors now list valid names:claude-code, codex, cursor, opencode.engines: { node: ">=18" }to catch incompatible runtimes early. Expanded keywords withuse-wallet,haystack,codex,cursor,opencode.Testing
installer.test.tsto cover the new re-install-over-copy behavior