Date: 2025-12-18 Model: Claude Opus 4.5 for both approaches Projects: 6 small-to-medium Go CLI tools (1-5k LOC each) Full Report: spec-comparison-projects.md
Date: 2025-12-18
Last Updated: 2025-12-18 23:45 UTC
Model: Claude Opus 4.5 (claude-opus-4-5-20251101) for both approaches
Projects Evaluated: 6 projects (URL Shortener, Linkcheck, Git Hooks Manager, Env Validator, API Mock Server, Cron Parser)
Methods: autospec all (spec-driven) vs claude -p (prompt-driven)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ============================================================================= | |
| # CLIPHIST SECRET CLEANER | |
| # Auto-removes passwords/secrets from clipboard history after a configurable delay | |
| # ============================================================================= | |
| # | |
| # DESCRIPTION: | |
| # Monitors cliphist for high-entropy strings (likely passwords) and | |
| # automatically deletes them after a delay. Uses Shannon entropy and | |
| # character diversity to detect secrets. |
A minimal, production-ready React component for recording HTML5 Canvas animations directly to MP4 using the WebCodecs API. Records at 10x faster than realtime with hardware acceleration.
- ✅ True MP4 output with H.264 codec (not WebM)
- ✅ Hardware accelerated encoding via WebCodecs VideoEncoder
- ✅ 10x faster than realtime (5 second video encodes instantly)
- ✅ Frame-perfect recording - no dropped frames or timing issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ============================================================================ | |
| # Wayland Screen Recording Toggle Script | |
| # ============================================================================ | |
| # | |
| # Description: | |
| # Toggle screen recording on/off with region selection for Wayland compositors | |
| # (Hyprland, Sway, etc.). First press starts recording, second press stops it. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Claude Code PostToolUse Hook for Auto-formatting and Linting | |
| # | |
| # This script integrates with Claude Code's hook system to automatically | |
| # format and lint files after they're edited or created. | |
| # | |
| # How it works: | |
| # 1. Claude Code calls this script after Write/Edit/MultiEdit|Update operations | |
| # 2. The script receives JSON input via stdin containing: | |
| # - session_id: Current Claude session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Get cost and usage data from AWS Cost Explorer | |
| result=$(aws ce get-cost-and-usage --no-cli-pager \ | |
| --time-period Start=$(date -d '7 days ago' '+%Y-%m-%d'),End=$(date '+%Y-%m-%d') \ | |
| --granularity DAILY \ | |
| --metrics "BlendedCost" "UsageQuantity" \ | |
| --group-by Type=DIMENSION,Key=SERVICE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Get cost and usage data from AWS Cost Explorer | |
| result=$(aws ce get-cost-and-usage --no-cli-pager \ | |
| --time-period Start=$(date -d '7 days ago' '+%Y-%m-%d'),End=$(date '+%Y-%m-%d') \ | |
| --granularity DAILY \ | |
| --metrics "BlendedCost" "UsageQuantity" \ | |
| --group-by Type=DIMENSION,Key=SERVICE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install + configure https://github.com/di-sukharev/opencommit | |
| # Use ocp for quick git add + commit + push | |
| function ocp() { | |
| local remote="$1" | |
| git add -A | |
| oco --yes | |
| if [ -n "$remote" ]; then | |
| git push "$remote" | |
| else | |
| git push |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !/bin/sh | |
| # Kitty fzf to tab! | |
| # Author: Ariel Frischer | |
| # Add below mapping to your kitty.conf file (usually in ~/.config/kitty/) | |
| # map super+j launch --type=overlay --stdin-source=@screen_scrollback /PATH_OF_THIS_FILE/fzf-kitty-tabs.sh | |
| active_tab="$( | |
| kitty @ ls | jq -r ' |
NewerOlder