Skip to content

Instantly share code, notes, and snippets.

@fireboy1919
fireboy1919 / setup-claude-commands.sh
Last active November 24, 2025 17:41
Setup Claude Code custom commands for code review and PR creation
#!/bin/bash
set -e
# Setup Claude Code custom commands for code review and PR creation
# This script is idempotent - safe to run multiple times
COMMANDS_DIR="$HOME/.claude/commands"
REVIEW_FILE="$COMMANDS_DIR/review.md"
CREATE_PR_FILE="$COMMANDS_DIR/create-pr.md"
@fireboy1919
fireboy1919 / light-state-sync.yaml
Last active August 11, 2024 16:12
Synchronize States Between Two Lights
blueprint:
name: Synchronize brightness states
description: Synchronize the on/off state of 2 entities
domain: automation
input:
entity_1:
name: First entity
selector:
entity: {}
entity_2:
gitlab_repo = https://gitlab.com/gitlab-org/gitlab-ce.git gitlab_shell_repo = https://gitlab.com/gitlab-org/gitlab-shell.git
gitlab_development_root = $(shell pwd)
postgres_bin_dir = $(shell pg_config --bindir)
all: gitlab-setup gitlab-shell-setup support-setup
# Set up the GitLab Rails app
gitlab-setup: gitlab/.git gitlab-config gitlab/.bundle