-
Notifications
You must be signed in to change notification settings - Fork 1
Set up template for Claude integration #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up template for Claude integration #103
Conversation
This commit adds complete support for Claude Code online environment: - Add .claude/hooks/SessionStart: Automatically sets up pixi and dependencies - Add .claude/README.md: Comprehensive documentation for Claude Code usage - Add .claude/activate.sh: Manual environment activation script - Update README.md: Add Claude Code section with quick start guide The SessionStart hook automatically: - Installs pixi package manager if not present - Installs all project dependencies via pixi - Sets up pre-commit hooks - Configures git merge drivers This enables immediate development in Claude Code online without manual setup.
Reviewer's GuideThis PR introduces a complete Claude Code integration template by adding a new Sequence diagram for automated environment setup in Claude CodesequenceDiagram
actor User
participant "Claude Code"
participant "SessionStart Hook"
participant "Pixi"
participant "Pre-commit"
participant "Git"
User->>"Claude Code": Open repository online
"Claude Code"->>"SessionStart Hook": Start session
"SessionStart Hook"->>"Pixi": Check/install pixi
"SessionStart Hook"->>"Pixi": Install dependencies
"SessionStart Hook"->>"Pre-commit": Set up hooks
"SessionStart Hook"->>"Git": Configure merge drivers
"SessionStart Hook"-->>"Claude Code": Environment ready
"Claude Code"-->>User: Ready to run pixi commands
Class diagram for new Claude integration scriptsclassDiagram
class SessionStart {
+installPixi()
+installDependencies()
+setupPreCommitHooks()
+configureGitMergeDrivers()
}
class ActivateSh {
+activatePixiEnv()
+showAvailableCommands()
+checkPixiInstalled()
}
SessionStart <.. ActivateSh : "manual activation fallback"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit adds complete support for Claude Code online environment:
The SessionStart hook automatically:
This enables immediate development in Claude Code online without manual setup.
Summary by Sourcery
Enable seamless development in Claude Code by automating environment setup via pixi including dependencies installation, pre-commit hook and git configuration, plus provide a manual activation script and documentation.
New Features:
Documentation: