pflow-golang

Installation
SKILL.md

If go-stack.sh fails (non-zero exit or "status":"error" in its JSON) print ⚠️ <error.message> and stop. Other failing commands are findings — report and continue.

Steps

  1. Run .agents/skills/pflow-golang/scripts/go-stack.sh{go_version, toolchain, cli, rpc, testing[], other[], golangci_config, task_runner, lib_references[]}.
  2. Read the topic references that match the task (table below) and every file in lib_references. Skip the rest.
  3. Write or review the code. Apply modern-Go rules only up to go_version from step 1; each rule in modernize.md names its minimum version.
  4. Before finishing, run the project's own gate when task_runner has one (task check, make lint, …); otherwise gofmt -l ., go vet ./..., and golangci-lint run ./... when golangci_config is set.
Task Read
Any new or changed code style-naming.md, errors-safety.md
Types, constructors, APIs structs-interfaces.md, patterns.md
Goroutines, channels, ctx, timeouts concurrency-context.md
Slices, maps, strings, allocations slices-maps.md, performance.md (only when a hot path is named)
Tests, mocks, fixtures testing.md
Old code, deprecations, upgrade modernize.md
Input, files, crypto, secrets, exec security.md
Code review style-naming.md, errors-safety.md, security.md, then the task-specific files
Installs
6
First Seen
Sep 4, 2026
pflow-golang — phpinfo/pflow-skills