$ show nikivdev/go
This repository is a personal monorepo of Go CLI tools built by nikivdev, primarily revolving around the 'fgo' command (aliased as 'fe'), which provides a fast, interactive command palette for various developer workflows. The toolset includes AI-powered commit message generation via OpenAI, GitHub PR cloning and checkout, port killing, symbolic link management, scratch directory creation, private forking of repos, and integration with macOS-specific tools like osascript and pbpaste. Additional standalone CLIs include 'spec' for converting Markdown specs into Codex execution prompts with optional publishing to unhash.sh, 'ghx' for PR diff retrieval, 'tscp' for Tailscale-based file copy, and 'unite' for unified fuzzy search across multiple CLIs. The repository also contains an experimental Dockerfile layer analyzer library with tests. The codebase is actively maintained but heavily optimized for the author's personal macOS environment, with hardcoded paths and macOS-specific dependencies, making it less portable without modification. The architecture is a flat collection of independent CLI tools sharing common patterns like the go-snap CLI framework and go-fuzzyfinder for interactive selection.
The LLM identified 3 files worth highlighting for reuse:
A self-contained Dockerfile analyzer that reads a Dockerfile, parses instructions, and produces an annotated layer report showing which instructions create filesystem layers, metadata changes, or build args. It handles multi-stage builds, COPY --from relationships, and provides cache hints and educational notes for each instruction. The package is well-structured with clear separation of parsing, analysis, and reporting, and includes comprehensive tests. It could be extracted into a standalone library or CLI tool for Docker education and debugging.
A CLI tool that processes Markdown spec files into structured execution prompts for Codex, supporting multiple output modes: clipboard copy, stdout printing, direct Codex launch with arguments, and publishing to unhash.sh for review. It implements section parsing with prioritization, cliping large sections to fit prompt limits, and a review system with feedback retrieval. The code demonstrates a clean command-line tool design with flag parsing, Git integration for repo context, and API interaction, making it a reusable template for spec-to-execution workflows.
A workspace configuration manager that provides list/add/remove operations on multi-key JSON configuration files (RepoPrompt workspace.json) with fuzzy finder integration for interactive removal. It uses custom JSON unmarshal/marshal logic to preserve unknown fields via a raw message map, making it robust against schema drift. The pattern of loading, mutating, and saving structured configuration with user-friendly interactive prompts is reusable for any CLI tool that needs to manage local configuration lists.