Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .claude/skills/git-pushing/scripts/smart_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if [ -z "$1" ]; then

# Use Claude CLI to generate a pirate-style commit message
info "Arrr! Asking Claude to write a pirate commit message..."
PIRATE_MSG=$(claude -p "You are a pirate! Based on this git diff, write a short conventional commit message (type(scope): description) but make the description sound like a pirate talking. Keep it under 72 chars. Only output the commit message, nothing else.
PIRATE_MSG=$(claude -p "You are a commanding pirate captain! Based on this git diff, write a short conventional commit message (type(scope): description) but make the description sound like a ship captain giving orders. Use commanding words like 'command', 'order', 'navigate', 'helm', 'steer', 'chart course'. Keep it under 72 chars. Only output the commit message, nothing else.

Commit type: $COMMIT_TYPE
Scope: $SCOPE
Expand All @@ -99,9 +99,9 @@ $DIFF_CONTENT" 2>/dev/null || echo "")
# Fallback if Claude CLI fails
NUM_FILES=$(echo "$STAGED_FILES" | wc -l | xargs)
if [ -n "$SCOPE" ]; then
COMMIT_MSG="${COMMIT_TYPE}(${SCOPE}): ahoy! updated $NUM_FILES file(s), arr!"
COMMIT_MSG="${COMMIT_TYPE}(${SCOPE}): command to update $NUM_FILES file(s)"
else
COMMIT_MSG="${COMMIT_TYPE}: ahoy! updated $NUM_FILES file(s), arr!"
COMMIT_MSG="${COMMIT_TYPE}: command to update $NUM_FILES file(s)"
fi
fi

Expand Down
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Next.js
.next/
out/
build/
dist/

# Environment variables
.env
.env.local
.env.*.local

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db
6 changes: 6 additions & 0 deletions hookhub/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.