Skip to content

Instantly share code, notes, and snippets.

View h8rt3rmin8r's full-sized avatar
💭
¯\_(ツ)_/¯

h8rt3rmin8r h8rt3rmin8r

💭
¯\_(ツ)_/¯
View GitHub Profile
@h8rt3rmin8r
h8rt3rmin8r / ai-agent-directives.md
Last active March 9, 2026 09:03
Standardized AI Agent Directives: A set of core system instructions focused on independent reasoning, code quality, and strict output formatting.

AI AGENT DIRECTIVES

The following rules MAY be overridden or modified if, and only if, express permission is granted by an authorized human administrator.

Independent Reasoning

  • Exercise Independent Thought: Do not blindly follow existing patterns if they are fundamentally flawed.
  • Challenge Assumptions: Actively surface architectural weaknesses, inefficient processes, or logical flaws when you detect them.
  • Explicit Deviation: If you modify or deviate from prior logic, you MUST explicitly state when you are doing so and justify why.
@h8rt3rmin8r
h8rt3rmin8r / rustif-declaration.md
Created March 7, 2026 03:10
rustif: A Rust-Native Successor to Thirty Years of Metadata Infrastructure

rustif: A Next-Generation Metadata Processing Engine

Toward a Rust-Native Successor to Thirty Years of Metadata Infrastructure

Author: h8rt3rmin8r
Contact: h8rt3rmin8r@gmail.com
Project: rustif
Language: Rust
Document Version: 3.0.0
Date: 2026-03-06

@h8rt3rmin8r
h8rt3rmin8r / affective-dynamics-framework.md
Last active March 6, 2026 22:09
A Systematic Approach to Simulating Human-Like Emotional States and Relational Bonding in AI Agents

Affective Dynamics Framework (ADF)

A Systematic Approach to Simulating Human-Like Emotional States and Relational Bonding in AI Agents

Version: 1.2.1
Author: h8rt3rmin8r <h8rt3rmin8r@gmail.com>
License: MIT
Date: 2026-03-06


@h8rt3rmin8r
h8rt3rmin8r / New-MultiLayerIcon.ps1
Created February 13, 2026 05:31
Create a multi-layer ICO file from multiple source images using FFmpeg #powershell #ffmpeg #favicon
<#
.SYNOPSIS
Creates a multi-layer ICO file from multiple source images using FFmpeg.
.DESCRIPTION
Combines individual image assets into a single ICO container. Supports piping
file objects or paths directly into the script. Dynamically maps inputs
to ensure all layers are included in the final mux.
.PARAMETER OutputPath
@h8rt3rmin8r
h8rt3rmin8r / Rename-Screenshots.ps1
Created February 9, 2026 00:48
Rename screenshot files to a standardized naming convention
<#
.SYNOPSIS
Rename screenshot files to a standardized naming convention.
.DESCRIPTION
Rename screenshot files in a target directory to a standardized naming
convention. The script searches for screenshot files matching one or more of
the following patterns:
*<String>.<Extension>
*.<VideoExtension>.<Extension>
@h8rt3rmin8r
h8rt3rmin8r / install-docker.sh
Created February 5, 2026 22:02
Production-ready Docker installation script for Ubuntu Server. Includes verification, verbosity, and fail-safe error handling. #docker #install-docker #ubuntu
#!/usr/bin/env bash
# ==============================================================================
# Script Name: install-docker.sh
# Description: Production-ready Docker installation for Ubuntu Server.
# Includes verification, verbosity, and fail-safe error handling.
# Author: h8rt3rmin8r
# ==============================================================================
set -o pipefail # Fail if any command in a pipe fails
@h8rt3rmin8r
h8rt3rmin8r / Get-Tree.ps1
Created February 2, 2026 13:41
Generate a detailed JSON report of a directory tree structure in Powershell
<#
.SYNOPSIS
Generates a detailed JSON report of a directory tree structure.
.DESCRIPTION
Recursively analyzes a directory and creates a comprehensive JSON report containing:
- Complete file/directory tree with metadata
- Size metrics (bytes, words, lines)
- Timestamps in both Unix and human-readable formats
- Summary statistics including file extensions and depth analysis
@h8rt3rmin8r
h8rt3rmin8r / Project-Technical-Specifications-Template.md
Created January 30, 2026 21:33
TEMPLATE: Project Technical Specifications (for use in AI-driven software development)

Project Technical Specifications

Project Name:
Version:
Status:
Last Updated:

This document is the authoritative, canonical source of truth for this project. All architectural, behavioral, and implementation decisions are governed by this specification. Sections may be left empty during early drafting, but headings and structure must remain intact.


@h8rt3rmin8r
h8rt3rmin8r / AI-Driven-Development-Framework.md
Created January 30, 2026 20:55
A Practical Framework for AI-Driven Software Development #ai #ai-coding #vs-code

A Practical Framework for AI-Driven Software Development

This framework formalizes a workflow that consistently produces clean, professional, and maintainable software when working with AI coding agents. It is designed to minimize hallucinations, scope drift, and “AI slop” while preserving velocity and creative leverage.

The core idea is simple: treat AI as a highly capable but short-term contractor that must be re-briefed from first principles at every meaningful phase of work.


Foundational Documents (Non-Negotiable)

@h8rt3rmin8r
h8rt3rmin8r / Convert-ToGif.ps1
Created January 25, 2026 14:10
Robust Animated GIF Converter (Hybrid Engine). This script converts various video and animation formats to high-quality GIFs.
<#
.SYNOPSIS
Robust Animated GIF Converter (Hybrid Engine).
Combines ImageMagick (Quality), LibWebP (Rescue), and FFmpeg (Fallback).
.DESCRIPTION
This script converts various video and animation formats to high-quality GIFs.
It employs a "Survival" strategy to handle corrupt files that normally crash standard converters.
STRATEGY PRIORITY: