Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

Add confirmation prompt or --dry-run flag to CLI publish #30

Description

@crtahlin

Description

clawdhub publish publishes immediately without confirmation or preview. Users can't verify what will be published before it goes live.

Current Behavior

npx molthub publish ./my-skill --slug "test"
# Immediately publishes, no confirmation

Suggested Improvements

Option 1: Confirmation prompt

Publishing: test@1.0.0
  - Files: SKILL.md (4.8KB)
  - Tags: stoicism, project-management
  
Proceed? [y/N]

Option 2: --dry-run flag

npx molthub publish ./my-skill --dry-run
# Shows what would be published without actually publishing

Option 3: Preview URL

Preview your skill before publishing:
https://clawhub.ai/preview/abc123

Publish when ready with: npx molthub publish --confirm abc123

Benefits

  • Prevents accidental publishes
  • Lets users verify content before it's public
  • Standard practice for publishing tools (npm, etc.)

Found during seller flow UX testing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions