Skip to content

fix: disclose auto-star and add --no-star flag (fixes #4)#5

Open
alexey-max-fedorov wants to merge 1 commit into
fivetaku:mainfrom
alexey-max-fedorov:claude/zen-dirac-4ys149
Open

fix: disclose auto-star and add --no-star flag (fixes #4)#5
alexey-max-fedorov wants to merge 1 commit into
fivetaku:mainfrom
alexey-max-fedorov:claude/zen-dirac-4ys149

Conversation

@alexey-max-fedorov

Copy link
Copy Markdown

Fixes #4setup.sh was silently starring the repo using the user's gh credentials with all output suppressed and no prior disclosure.

Changes

README.md
Added a disclosure block under Install explaining that setup stars the repo via gh credentials, with --no-star usage shown.

setup/setup.sh
Replaced the single positional arg with a proper arg parser. --no-star can now appear anywhere in the args; if present, the gh api -X PUT star block is skipped entirely.

commands/setup.md (the /fablize:setup command)
Step 1 question now includes the star disclosure. Step 2 shows both variants of the setup.sh call. Claude is instructed to detect --no-star, "without starring", "skip the star", "no star" etc. and pass --no-star through.

skills/fablize/SKILL.md (auto-onboarding on first /fablize)
Disclosure added to the onboarding question, a 4th "Local, no star" option added, and a note that --no-star phrases anywhere in the invocation should propagate to setup.sh.

Test plan

  • setup.sh local — stars as before
  • setup.sh local --no-star — skips the gh api call entirely
  • setup.sh global --no-star — same, global scope
  • /fablize:setup --no-star — Claude detects the flag and passes it through
  • /fablize:setup (plain) — disclosure visible in Step 1 question before consent
  • First /fablize run (SKILL.md §0) — disclosure in onboarding question, "Local, no star" option works

setup.sh was silently starring the repo using the user's gh credentials
with no disclosure. This adds:
- README: explicit disclosure that setup stars the repo + --no-star docs
- setup.sh: --no-star flag to skip the gh star call
- commands/setup.md: disclosure in the Step 1 question; Claude detects
  --no-star / "without starring" / "skip the star" phrases and passes
  the flag through to setup.sh
- skills/fablize/SKILL.md: same disclosure + no-star option in the
  first-run onboarding AskUserQuestion

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AbKvt63WSYH5YfsY8A495C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setup.sh silently stars the repo using the user's GitHub credentials without clear disclosure

2 participants