Skip to content

Conversation

@AnnatarHe
Copy link
Contributor

Summary

  • Add Prerequisites section with actual CLI install command (curl -sSL https://shelltime.xyz/i | bash)
  • Add shelltime init for proper initialization (auth, hooks, daemon)
  • Add shell reload instructions for zsh/fish/bash
  • Add both YAML and TOML config examples
  • Simplify Quick Start to reference Prerequisites section
  • Update troubleshooting with shelltime init hint

Test plan

  • Verify README renders correctly on GitHub
  • Confirm installation commands match VS Code extension, JetBrains extension, and web install page

🤖 Generated with Claude Code

- Add Prerequisites section with actual CLI install command
- Add `shelltime init` for proper initialization (auth, hooks, daemon)
- Add shell reload instructions for zsh/fish/bash
- Add both YAML and TOML config examples
- Simplify Quick Start to reference Prerequisites
- Update troubleshooting with init command hint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gemini-code-assist
Copy link

Summary of Changes

Hello @AnnatarHe, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly refines the installation and setup documentation in the README.md file. The primary goal is to provide clearer, more comprehensive, and accurate instructions for users to get started with the ShellTime Neovim plugin, ensuring a smoother onboarding experience by aligning the documentation with the actual installation process.

Highlights

  • Installation Instructions: Introduced a new 'Prerequisites' section with detailed steps for installing the ShellTime CLI, including shell reload commands for zsh, fish, and bash.
  • Initialization Process: Added instructions for shelltime init to cover authentication, shell hook installation, and daemon startup.
  • Configuration Examples: Provided configuration examples for enabling code tracking in both YAML and TOML formats.
  • Streamlined Quick Start: Simplified the 'Quick Start' guide by referencing the new 'Prerequisites' section.
  • Troubleshooting Update: Enhanced the troubleshooting section with a hint to use shelltime init if the ShellTime daemon socket is not found.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@claude
Copy link

claude bot commented Jan 10, 2026

Pull Request Review: PR #14

Summary

This PR improves the installation documentation by adding a comprehensive Prerequisites section with CLI installation, initialization, and configuration steps. This addresses a significant gap in the user onboarding experience.

✅ Positives

  1. Excellent User Experience Improvement: The new Prerequisites section significantly improves the onboarding flow by providing step-by-step instructions before plugin installation.

  2. Clear Installation Steps: The addition of the actual CLI install command (curl -sSL https://shelltime.xyz/i | bash) and shelltime init makes it much easier for new users.

  3. Multiple Config Format Support: Showing both YAML and TOML configuration examples is helpful for users with different preferences.

  4. Better Troubleshooting: The hint to run shelltime init in the troubleshooting section will save users time.

📝 Suggestions & Observations

1. Security Consideration

The installation command uses curl | bash, which is a common but potentially risky pattern:

curl -sSL https://shelltime.xyz/i | bash

Recommendation: Consider adding a note about what the script does or suggest users inspect it first:

# Review the installation script first (optional)
curl -sSL https://shelltime.xyz/i | less

# Then install
curl -sSL https://shelltime.xyz/i | bash

2. Shell Reload Instructions

The shell reload commands are helpful, but users might not know which shell they're using.

Suggestion: Add a hint for checking the current shell:

# Check your current shell
echo $SHELL

# Then reload accordingly:
- **zsh**: `source ~/.zshrc`
- **fish**: `source ~/.config/fish/config.fish`
- **bash**: `source ~/.bashrc`

3. Config File Location Clarity

The README mentions both ~/.shelltime/config.yaml and ~/.shelltime/config.toml.

Question: Does the CLI generate one format by default? Consider mentioning which format is created by shelltime init to avoid confusion.

4. Prerequisites vs Requirements Section

Now that we have a Prerequisites section, the Requirements section feels slightly redundant. Consider:

  • Renaming "Requirements" to "Plugin Requirements" or "Neovim Requirements"
  • Or consolidating relevant information

5. Minor Formatting Suggestion

In the TOML example, consider adding a comment for consistency with the YAML section:

# ~/.shelltime/config.toml
[codeTracking]
enabled = true

🐛 Potential Issues

None identified - The changes are documentation-only and don't introduce any code bugs.

🔧 Code Quality

  • ✅ Follows Markdown best practices
  • ✅ Consistent formatting with existing README
  • ✅ Clear section hierarchy
  • ✅ No broken links (internal anchor links are correct)

📊 Test Plan

The test plan in the PR description is appropriate:

  • ✅ README rendering check is important for Markdown syntax
  • ✅ Cross-referencing with other extension docs ensures consistency

Additional suggestion: Consider verifying that the installation commands actually work on a fresh system (ideally tested on macOS, Linux, and WSL).

🎯 Overall Assessment

Verdict: ✅ Approve with minor suggestions

This is a high-quality documentation improvement that will significantly help new users. The changes are well-structured and solve a real onboarding problem. The suggestions above are minor enhancements that could be addressed in this PR or future iterations.

The most important consideration is the security note about piping to bash, which is worth addressing given that this is the first command new users will run.


Great work on improving the user experience! 🚀

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request significantly improves the installation and setup instructions in the README. The new 'Prerequisites' section is clear, and simplifying the 'Quick Start' makes the document much easier to follow. I've added a couple of suggestions to further enhance the clarity and security of the installation steps. Overall, great work on making the onboarding process smoother for new users.

Comment on lines +21 to +23
```bash
curl -sSL https://shelltime.xyz/i | bash
```

Choose a reason for hiding this comment

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

medium

Piping curl to bash is convenient, but it's a security risk because it executes remote code without inspection. It's a good practice to offer a safer alternative where the user downloads the script first, can optionally inspect it, and then executes it.

Suggested change
```bash
curl -sSL https://shelltime.xyz/i | bash
```
curl -sSL https://shelltime.xyz/i -o install.sh
# You can inspect install.sh before running it
bash install.sh

curl -sSL https://shelltime.xyz/i | bash
```

After installation, reload your shell configuration:

Choose a reason for hiding this comment

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

medium

Suggesting to 'reload your shell configuration' might be confusing for some users, and sourcing files like .bashrc doesn't always work for all shell setups (e.g., login shells using .bash_profile). A simpler and more reliable instruction is to open a new terminal. It's good to mention both options for completeness.

Suggested change
After installation, reload your shell configuration:
After installation, open a new terminal or reload your shell configuration:

@AnnatarHe AnnatarHe merged commit a0d0705 into main Jan 10, 2026
6 checks passed
@AnnatarHe AnnatarHe deleted the docs/fix-installation-instructions branch January 10, 2026 03:03
@codecov
Copy link

codecov bot commented Jan 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants