Skip to content

Instantly share code, notes, and snippets.

View nirgeier's full-sized avatar

Nir Geier nirgeier

View GitHub Profile
@nirgeier
nirgeier / project_bundle.sh
Created May 17, 2026 19:06
Project bundle scripts
#!/usr/bin/env bash
# project_bundle.sh
#
# Bundles all project files into a single .txt file and restores them.
# Supports interactive menu or CLI arguments.
#
# CLI Usage:
# ./project_bundle.sh export [source-path] [output-bundle]
# ./project_bundle.sh import [input-bundle] [target-path]
#
---
name: make-skill-template
description: 'Create new Agent Skills for GitHub Copilot from prompts or by duplicating this template. Use when asked to "create a skill", "make a new skill", "scaffold a skill", or when building specialized AI capabilities with bundled resources. Generates SKILL.md files with proper frontmatter, directory structure, and optional scripts/references/assets folders.'
---
# Make Skill Template
A meta-skill for creating new Agent Skills. Use this skill when you need to scaffold a new skill folder, generate a SKILL.md file, or help users understand the Agent Skills specification.
## When to Use This Skill
#!/bin/bash
set -e
# -------------------------------------------------------------------------
# Git LFS (Large File Storage) .gitattributes
# -------------------------------------------------------------------------
# --- Images ---
*.jpg filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
@nirgeier
nirgeier / install.md
Last active December 21, 2025 17:01
Installations
@nirgeier
nirgeier / K8S-AI-Tools.md
Last active December 21, 2025 17:06
K8S-AI-Tools
#!/bin/bash
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install ingress-nginx ingress-nginx/ingress-nginx --namespace ingress-nginx --create-namespace
# Exit on error
set -e
CERT_NAME="devbit"
NAMESPACE="lab-ingress-nginx"
#!/bin/bash
# Script to generate ConfigMap definitions for files in a specified directory
# Check if a directory path was provided
if [ $# -ne 2 ]; then
echo "Usage: $0 <source_directory> <configmap_name>"
echo "Example: $0 ./config-files my-app-config"
exit 1
fi
@nirgeier
nirgeier / raftt.sh
Created March 24, 2025 15:41
Run raftt Demo
#!/bin/bash
# OPTIONAL: load .env
RAFTT_SERVER="https://admiral.matrix.raftt.io"
# Install brew raftt
#brew install rafttio/tap/raftt
# Load the colors themes
source <(curl -s https://raw.githubusercontent.com/nirgeier/labs-assets/refs/heads/main/assets/scripts/colors.sh)
@nirgeier
nirgeier / Istio.yaml
Created February 24, 2025 13:36
Istio bookinfo-review
#!/bin/bash
# Verify that k8s is running
kubectl label namespace default istio-injection=enabled
# 1. Install istio
##.....
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.1.0/standard-install.yaml
@nirgeier
nirgeier / Install_docker.sh
Created December 3, 2024 19:00
Install_docker
#!/bin/bash
install_docker (){
OPTIONS=$(whiptail \
--title "Installation Methods" \
--menu "Oron the king" 25 78 16 \
"Docker" "Install Docker" \
"Nachman Was Here" "Nachman" \
"<-- Back" "Exit." \