Skip to content

feat(install): add skilld to PATH in the shell profile - #201

Merged
harlan-zw merged 1 commit into
mainfrom
feat/install-path
Oct 6, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
feat/install-path

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Related to skilld-dev/skilld.dev#449

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

skilld.dev/cli now leads with curl -fsSL https://skilld.dev/install.sh | sh. That script only printed "Add ~/.skilld/bin to your PATH", so a new user who ran skilld next got "command not found". install.ps1 already adds itself to the user PATH on Windows.

If ~/.skilld/bin is not on PATH, install.sh now appends one line to the profile for $SHELL:

$SHELL Profile Line
zsh ${ZDOTDIR:-$HOME}/.zshrc export PATH=...
bash ~/.bashrc, or ~/.bash_profile on macOS export PATH=...
fish ~/.config/fish/conf.d/skilld.fish fish_add_path ...
other ~/.profile export PATH=...

A reinstall finds the line and adds no second one. If the profile cannot be written, the script prints the line to add and still exits 0. SKILLD_NO_MODIFY_PATH=1 keeps the old hint and writes nothing.

The installer tests now give each run its own HOME, so no test can write to a real profile. The change reaches users with the next release, because latest/download/install.sh serves the script from the latest release.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

skilld.dev/cli now leads with install.sh, and it only printed a PATH hint. A new user who ran skilld next got command not found. install.ps1 already adds itself to the user PATH. SKILLD_NO_MODIFY_PATH=1 keeps the old hint.
@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 6, 2026
@harlan-github-agent

harlan-github-agent Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-06 11:51 UTC.

GitHub merged this pull request.

  • Logged (20/100): Install skips profile persistence when the dir is only transiently on PATH. View code
    • Ask an agent to verify and fix this finding

12253a13-edc8-4630-934c-5c5d43421495

Selected findings run after merge and open separate pull requests.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Oct 6, 2026
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. label Oct 6, 2026

@harlan-github-agent harlan-github-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Harlan Agent Kit posted this automated review. AI open source policy.

Automated Review: READY.

Read the Review results

@harlan-zw
harlan-zw merged commit 6138ee3 into main Oct 6, 2026
3 checks passed
@harlan-zw harlan-zw mentioned this pull request Oct 6, 2026
1 of 6 tasks
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Oct 6, 2026
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.

1 participant