Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pproenca avatar

Go Process Cli

  • 55 installs
  • 191 repo stars
  • Updated July 24, 2026
  • pproenca/dot-skills

go-process-cli is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

Key points

  • go-process-cli
  • AI & Agent Building
  • AI-coding skill

Go Process Cli by the numbers

  • 55 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #6,846 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pproenca/dot-skills --skill go-process-cli

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs55
repo stars191
Last updatedJuly 24, 2026
Repositorypproenca/dot-skills

How do I helps with ai & agent building tasks during ai-assisted development?

Helps with ai & agent building tasks during AI-assisted development.

Who is it for?

Best when you're working on ai & agent building and need structured help with go-process-cli.

Skip if: Teams with no ai & agent building needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with ai & agent building tasks during ai-assisted development, or when go-process-cli is a claude code skill for ai & agent building. it helps solo builders move faster with ai-assisted coding.

What you get

Structured output aligned to go-process-cli: go-process-cli; AI & Agent Building; AI-coding skill.

Files

SKILL.mdMarkdownGitHub ↗

Go Process-Management CLIs

Make Go command-line tools that spawn, supervise, and shut down processes correctly — the part the stdlib makes easy to get subtly wrong.

When to Apply

Reach for this skill when building or reviewing a Go CLI whose job is to control other processes or concurrent workloads: a daemon, a process supervisor, a job/worker runner, a deploy or migration tool, a test harness that shells out, or any program that must stop cleanly when an orchestrator says so. It targets Go 1.22+ on Unix-like systems (Linux, macOS); a few rules note where Windows differs. It assumes you already know Go — it only corrects the specific defaults that go wrong in this domain.

Categories

#CategoryPrefixWhat it covers
1Signals & Graceful ShutdownsigBinding a context to SIGINT/SIGTERM; second-signal force-quit
2Child Processesexecos/exec lifetime, graceful kill, process groups, pipes, exit codes
3Concurrency & Workloadsworkerrgroup fan-out, bounded concurrency, goroutine-leak discipline, channel ownership
4Context PropagationctxExplicit context args, defer cancel(), cancellable waits
5Errors & Exit Codeserrrun() error for deferred cleanup, aggregating failures
6CLI Framework & Flagsclistdlib flag vs cobra, ExecuteContext, RunE, subcommand patterns
7Process State & SupervisionstateLiveness probes, atomic PID files, zombie reaping, structured logs

Quick Reference

The defaults this skill exists to correct:

  • `signal.NotifyContext(ctx, SIGINT, SIGTERM)` — not a channel that only watches Ctrl-C. Orchestrators send SIGTERM.
  • `exec.CommandContext` + `cmd.Cancel`/`cmd.WaitDelay` — plain CommandContext SIGKILLs children with no cleanup.
  • `Setpgid` + `kill(-pgid)` — signalling the direct child orphans grandchildren (sh -c, make, npm).
  • `cmd.Output()` for capture — reading a pipe after Wait() deadlocks.
  • `errgroup.WithContext` + `SetLimit(n)` — a goroutine per task means a process per task: PID/FD exhaustion.
  • `ctx` as an argument — never a struct field; `defer cancel()` on every derived context.
  • `select { case <-ticker.C: case <-ctx.Done(): }`time.Sleep makes shutdown wait out the interval.
  • `main → run() error → os.Exit(1)`log.Fatal/os.Exit deep in code skip every defer.
  • `proc.Signal(syscall.Signal(0))`os.FindProcess always succeeds on Unix; it never proves liveness.
  • `os.OpenFile(O_CREATE|O_EXCL)` for PID files — check-then-create is a race; `cmd.Wait()` every child or it zombifies.

How to Use

1. Identify which category your task falls under (see table above). 2. Read the relevant rule files in references/ — each is a focused, self-contained pattern naming the wrong default it corrects. 3. Apply the pattern; follow the Reference link in each rule for the authoritative source.

Rules cross-link (e.g. graceful shutdown ties signals → context → child-process kill → cleanup), so follow the links when a task spans categories.

When extending this skill, copy assets/templates/_template.md: WHY first, one canonical example with realistic names, a foil only if the wrong way is a genuine trap.

Source Authority

Every rule cites primary sources — the Go standard library reference on pkg.go.dev, the official Go blog (go.dev/blog), and the cobra documentation — chosen because they are maintainer-authored and version-current. No content farms, listicles, or undated tutorials.

Related Skills

  • radical-simplification — when a supervisor design has accreted accidental complexity.
  • unix-cli / cli-for-agents — broader CLI ergonomics beyond process management.

Related skills

FAQ

What does go-process-cli do?

go-process-cli is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.

When should I use go-process-cli?

When you need to helps with ai & agent building tasks during ai-assisted development, or when go-process-cli is a claude code skill for ai & agent building. it helps developers move faster with ai-assisted coding.

What are the main capabilities?

go-process-cli; AI & Agent Building; AI-coding skill.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.