Skip to content

Add SessionStart hook for git config and npm install#7

Closed
dreamstyle wants to merge 2 commits into
mainfrom
claude/check-git-config-AWUvH
Closed

Add SessionStart hook for git config and npm install#7
dreamstyle wants to merge 2 commits into
mainfrom
claude/check-git-config-AWUvH

Conversation

@dreamstyle
Copy link
Copy Markdown
Owner

Summary

  • Add SessionStart hook that configures git identity (user.name/email) and installs npm dependencies
  • Runs in async mode for faster session startup
  • Only activates in Claude Code web (remote) environment

Files

  • .claude/hooks/session-start.sh — hook script
  • .claude/settings.json — hook registration

https://claude.ai/code/session_01FyJdxciwt4eQucsvbZ85Q5

Sets up git user.name/email and runs npm install automatically
when starting a new Claude Code web session.

https://claude.ai/code/session_01FyJdxciwt4eQucsvbZ85Q5
Faster session startup by running git config and npm install
in the background.

https://claude.ai/code/session_01FyJdxciwt4eQucsvbZ85Q5
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 6, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-03-06 09:29 UTC

@dreamstyle dreamstyle closed this Mar 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