Skip to content

Instantly share code, notes, and snippets.

View LeoVS09's full-sized avatar

Vladislav Goncharov LeoVS09

  • Gdansk, Poland
View GitHub Profile
@LeoVS09
LeoVS09 / claude-helpers.sh
Last active March 29, 2026 15:18
Claude workflow and agent devcontainer managment script
#!/usr/bin/env bash
# Shared helper functions for claude justfile recipes.
# Source this file at the top of each recipe that needs these utilities:
# source "$(dirname "${BASH_SOURCE[0]:-$0}")/../scripts/claude-helpers.sh"
# Or from justfile recipes:
# source "scripts/claude-helpers.sh"
# ── Configuration defaults ──────────────────────────────────────────
MAX_SESSION_RETRIES="${MAX_SESSION_RETRIES:-12}"
SESSION_RETRY_WAIT="${SESSION_RETRY_WAIT:-3600}" # 1 hour in seconds
@LeoVS09
LeoVS09 / Dockerfile
Last active March 27, 2026 15:59
Dev Container for Claude Code
##############################################
# Stage 1: Base image with all tool installs
##############################################
FROM mcr.microsoft.com/devcontainers/javascript-node:24-bullseye AS base
# Install common utils
RUN apt-get update && apt-get install -y \
apt-utils \
bash-completion \
openssh-client \
@LeoVS09
LeoVS09 / CLAUDE.md
Created March 6, 2026 21:33
Agent Harness for node-typescript projects

Development Commands

# Install dependencies
npm install

# Development with watch mode
npm run dev
@LeoVS09
LeoVS09 / docker-sandbox.sh
Last active March 4, 2026 06:10
Launch Docker sandbox for claude code
#!/usr/bin/env bash
set -euo pipefail
# Host repo directory = current directory
REPO_DIR="$(pwd)"
CONTAINER_DIR="/workspace"
IMAGE="node:24"
# Optional: pass a command to run inside the container.
# If no command is provided, start an interactive shell.