scripting-with-go
CommunityRun Go scripts directly as executables.
Authorjeninh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables Go scripts to execute directly as standalone programs without requiring a traditional shebang, simplifying script execution and portability.
Core Features & Use Cases
- Executable Go scripts that run with a shell trick, allowing ./script.go to execute with full argument support.
- Cross-environment compatibility by using go run via an initial directive, enabling quick automation in Go-enabled environments.
- Use Case: When you want lightweight, shareable Go-based automation scripts that you can run without explicit compilation steps.
Quick Start
Create a new file named script.go with a first line that points to the Go runner, make it executable, and run it with arguments.
- Example first line: //usr/bin/env go run "$0" "$@"; exit
- After adding a minimal Go program, run: chmod +x script.go; ./script.go World
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: scripting-with-go Download link: https://github.com/jeninh/ampskills-dotfile/archive/main.zip#scripting-with-go Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.