Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Write a Go CLI that manages processes v1.0.0

Use this resource to write or review a Go CLI that starts, supervises or stops processes

New

  • 311 downloads
  • 138 likes
  • 188 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install go-process-management-cli

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent handles the standard library's pitfalls: SIGTERM versus Ctrl-C, orphaned child processes, pipe deadlocks, goroutine leaks and zombies. You get a Go tool that shuts down cleanly and returns accurate exit codes.

Mostly picked by

Updated November 2, 2026

Card for the “Write a Go CLI that manages processes” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from signals to error handling
  • references/ctx-cancellable-wait.md: cancellable waits; references/cli-execute-context-wires-signals.md: context and signal wiring

Good fit for

  • Your daemon does not stop when the orchestrator sends SIGTERM
  • Your tool starts subprocesses that stay orphaned

Not for

    Tags

    • go
    • processes
    • signals
    • cli

    About

    You say

    “Review this Go supervisor and fix its signal and subprocess handling.”

    Card for the “Write a Go CLI that manages processes” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write or review a Go CLI that starts, supervises or stops processes
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md5.2 KB
    • assets/templates/_template.md1 KB
    • LICENSE1.1 KB
    • metadata.json1.4 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md2.7 KB
    • references/cli-execute-context-wires-signals.md1.6 KB
    • references/cli-flag-vs-cobra-by-shape.md1.8 KB
    • references/cli-rune-return-errors.md1.7 KB
    • references/cli-stdlib-subcommand-pattern.md1.6 KB
    • references/ctx-cancellable-wait.md1.6 KB
    • references/ctx-defer-cancel.md1.4 KB
    • references/ctx-explicit-argument.md1.6 KB
    • references/err-join-aggregate-workloads.md1.4 KB
    • references/err-run-function-for-deferred-cleanup.md1.6 KB
    • references/exec-cancel-sigterm-before-kill.md2.4 KB
    • references/exec-commandcontext-binds-lifetime.md1.4 KB
    • references/exec-exit-code-from-exiterror.md1.7 KB
    • references/exec-kill-process-group.md1.7 KB
    • references/exec-pipes-without-deadlock.md1.6 KB
    • references/sig-notify-context-for-shutdown.md1.6 KB
    • references/sig-second-signal-force-quit.md1.5 KB
    • references/state-atomic-pidfile.md1.8 KB
    • references/state-reap-children-wait.md1.6 KB
    • references/state-signal-zero-liveness.md1.6 KB
    • references/state-structured-slog-transitions.md1.5 KB
    • references/work-bound-concurrency.md1.6 KB
    • references/work-errgroup-fan-out.md1.6 KB
    • references/work-every-goroutine-has-exit.md1.8 KB
    • references/work-sender-closes-channel.md1.7 KB
    • SKILL.md4.6 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/go-process-cli
    Licence
    MIT

    Notice

    « go-process-cli » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.