Source profileQuality 94/100Review permissions

johnqtcg/awesome-skills/skills/go-ci-workflow/SKILL.md

go-ci-workflow

Use when creating or refactoring GitHub Actions CI workflows for Go repositories. Covers repository-shape detection, Make-driven delegation with formal fallbacks, Go setup, caching, tool pinning, permissions, reusable workflows, and quality gate design.

Source repository stars
30
Declared platforms
0
Static risk flags
2
Last source update
2026-08-22
Source checked
2026-08-25

Decision brief

What it does: where it fits

Design GitHub Actions CI workflows for Go repositories that are fast, honest, and aligned with how the repository actually runs locally.

Best for

  • Use when creating or refactoring GitHub Actions CI workflows for Go repositories.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/johnqtcg/awesome-skills --skill "skills/go-ci-workflow"
Safe inspection promptEditorial

Inspect the Agent Skill "go-ci-workflow" from https://github.com/johnqtcg/awesome-skills/blob/d63cf368c1b106871b56454bd73c293701bef500/skills/go-ci-workflow/SKILL.md at commit d63cf368c1b106871b56454bd73c293701bef500. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Go Setup and Tooling Rules

    Use go-version-file: go.mod — never hardcode Go version.

    Use go-version-file: go.mod — never hardcode Go version.Pin go install tool versions exactly, never @latest.Keep tool versions aligned with Makefile or repo-native install scripts when those exist.
  2. 02

    Use This Skill For

    Do not use this skill for:

    creating or refactoring .github/workflows/.yml for Go repositoriesreviewing CI workflow PRs for job design, triggers, and safetymapping repository structure to CI jobs
  3. 03

    Execution Priority

    Use the strongest repo-native execution path available:

    Prefer Makefile targets such as ci, ci-e2e, ci-api-integration, docker-build.Fall back to other committed task runners or scripts when Makefile targets do not exist:Taskfile.yml
  4. 04

    Load References Selectively

    Always load: - references/workflow-quality-guide.md — baseline job templates and patterns. - references/golden-examples.md — annotated workflow YAML for standard service and no-Makefile fallback.

    references/workflow-quality-guide.md — baseline job templates and patterns.references/golden-examples.md — annotated workflow YAML for standard service and no-Makefile fallback.references/repository-shapes.md — only when multiple go.mod files detected, or repo has multi-app directories.
  5. 05

    Operating Model

    1. Inspect repository shape and task entrypoints. 2. Decide the honest workflow architecture. 3. Compose workflow YAML with repo-appropriate jobs and safety defaults. 4. Validate syntax, references, and trigger semantics. 5. Report assumptions, fallbacks, and unresolved gaps exp…

    Inspect repository shape and task entrypoints.Decide the honest workflow architecture.Compose workflow YAML with repo-appropriate jobs and safety defaults.

Permission review

Static risk signals and limitations

Reads files

low · line 49

The documentation asks the agent to read local files, directories, or repositories.

Inspect repository shape and task entrypoints.

Runs scripts

medium · line 199

The documentation asks the agent to run terminal commands or scripts.

bash scripts/discover_ci_needs.sh

Reads files

low · line 218

The documentation asks the agent to read local files, directories, or repositories.

Use `scripts/discover_ci_needs.sh` to inspect repository shape and CI needs.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score94/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars30SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
johnqtcg/awesome-skills
Skill path
skills/go-ci-workflow/SKILL.md
Commit
d63cf368c1b106871b56454bd73c293701bef500
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Go CI Workflow Writer

Design GitHub Actions CI workflows for Go repositories that are fast, honest, and aligned with how the repository actually runs locally.

Use This Skill For

  • creating or refactoring .github/workflows/*.yml for Go repositories
  • reviewing CI workflow PRs for job design, triggers, and safety
  • mapping repository structure to CI jobs
  • aligning GitHub Actions with Makefile targets or other local task entrypoints
  • improving CI job separation, caching, tool pinning, and gate design

Do not use this skill for:

  • release or deploy pipelines unless the request explicitly includes them
  • non-GitHub CI systems
  • pretending a repository has local parity when it does not

Execution Priority

Use the strongest repo-native execution path available:

  1. Prefer Makefile targets such as ci, ci-e2e, ci-api-integration, docker-build.
  2. Fall back to other committed task runners or scripts when Makefile targets do not exist:
    • Taskfile.yml
    • mage
    • scripts/*.sh
    • repo-specific wrapper commands
  3. Use controlled inline workflow commands only when the repository has no stable task entrypoint.

When falling back, say so explicitly and recommend the missing local entrypoint needed for parity.

Load References Selectively

Always load:

  • references/workflow-quality-guide.md — baseline job templates and patterns.
  • references/golden-examples.md — annotated workflow YAML for standard service and no-Makefile fallback.

Load on condition:

  • references/repository-shapes.mdonly when multiple go.mod files detected, or repo has multi-app directories.
  • references/github-actions-advanced-patterns.mdonly when request involves permissions escalation, fork PR security, reusable workflows, service containers, or self-hosted runners.
  • references/fallback-and-scaffolding.mdonly when Makefile targets or repo-native entrypoints are incomplete or missing.
  • references/golden-example-monorepo.mdonly when repository shape is monorepo.
  • references/golden-example-service-containers.mdonly when integration tests require database or cache service containers.
  • references/pr-checklist.mdonly when reviewing an existing workflow PR.

Operating Model

  1. Inspect repository shape and task entrypoints.
  2. Decide the honest workflow architecture.
  3. Compose workflow YAML with repo-appropriate jobs and safety defaults.
  4. Validate syntax, references, and trigger semantics.
  5. Report assumptions, fallbacks, and unresolved gaps explicitly.

Mandatory Gates

1) Repository Shape Gate

Before composing a workflow, classify the repository:

  • single-module application
  • single-module library
  • multi-module repository
  • monorepo with multiple apps/packages
  • Docker-heavy repository
  • reusable-workflow candidate

Inspect:

  • go.mod and nested go.mod files
  • root and nested Makefile / Taskfile.yml / mage / scripts
  • existing .github/workflows/*.yml
  • Dockerfiles and major app directories
  • test layout for unit, integration, and e2e

Use scripts/discover_ci_needs.sh first, then confirm with manual inspection where needed.

2) Local Parity Gate

Do not claim local parity unless each workflow job maps to a real local entrypoint.

For each job, classify the execution path:

  • make target
  • repo task
  • inline fallback

If a target or entrypoint is missing:

  • mark it explicitly
  • choose either honest scaffolding or a controlled inline fallback
  • recommend the repo-native target that should exist later

3) Security and Permissions Gate

Before adding secrets, write permissions, or publish-like jobs, determine:

  • whether the workflow runs on pull_request, push, workflow_call, or schedule
  • whether fork PRs can reach secrets
  • the minimum required permissions
  • whether reusable workflows or self-hosted runners change the trust boundary

Read references/github-actions-advanced-patterns.md whenever security or advanced workflow behavior is involved.

4) Execution Integrity Gate

Never claim validation happened unless it actually ran.

If syntax or contract validation was not run, output:

  • Not run in this environment
  • reason
  • exact commands to run next

If validation did run, report:

  • command used
  • pass/fail result
  • what was or was not verified

5) Degraded Output Gate

If the repository lacks sufficient structure for a high-confidence workflow:

  • do not fabricate complete parity
  • produce a scaffold that is explicit about fallback paths
  • list missing targets, missing scripts, and recommended follow-up changes

Use references/fallback-and-scaffolding.md.

Job Architecture Rules

  • Keep a fast core gate separate from slow or environment-sensitive jobs.
  • Default core gate:
    • formatting or lint gate
    • tests
    • build
    • coverage threshold when the repository uses one
  • Split optional jobs when present:
    • Docker build verification
    • integration tests
    • e2e
    • vulnerability scanning
    • extra static analysis
  • Set timeout-minutes on every job (10-15 for core gate, 20 for e2e/integration).
  • Use needs: only when ordering matters.
  • Use concurrency to cancel redundant runs on the same branch or PR.

Trigger Rules

Default trigger intent:

  • pull_request: fast core gate, low-risk verification, no secret-dependent jobs from forks
  • push to protected branches: broader verification
  • schedule: expensive or comprehensive sweeps
  • workflow_call: reusable workflow extraction when multiple repos/jobs genuinely share behavior

Do not force all expensive jobs onto every PR unless the repository risk profile requires it.

Go Setup and Tooling Rules

  • Use go-version-file: go.mod — never hardcode Go version.
  • Pin go install tool versions exactly, never @latest.
  • Keep tool versions aligned with Makefile or repo-native install scripts when those exist.
  • Pin third-party actions and re-verify the latest major at generation time — do not trust an embedded version number. Standard repos pin the major tag (@v7); high-security repos pin a full commit SHA with a # vX.Y.Z comment and let Dependabot/Renovate bump it. See references/workflow-quality-guide.md §16.
  • When go.mod/go.sum is not at the repo root (sub-directory module, matrix over modules, go.work workspace), set cache-dependency-path on setup-go — otherwise the cache key is wrong or missing. Treat a go.work repo as one workspace, not as independent modules.

Advanced GitHub Actions Rules

Use references/github-actions-advanced-patterns.md when needed.

At minimum:

  • set minimal permissions (prefer job-level over workflow-level for escalations)
  • guard secret-dependent jobs for fork PRs with event and repo checks
  • use matrices only when they add clear value
  • prefer reusable workflows only when duplication is real and inputs/secrets are manageable
  • prefer composite actions over reusable workflows for step-level sharing within one repo
  • use service containers for integration tests that need databases or caches
  • use path filters for monorepo selective job triggering
  • distinguish GitHub-hosted vs self-hosted runner assumptions

Validation Checklist

Validate as much as the environment allows:

  • YAML shape reviewed
  • every referenced target or script exists
  • trigger logic matches intended cost and trust model
  • secret-dependent jobs are not exposed to unsafe events
  • tool versions are pinned
  • cache and concurrency are configured intentionally

If available, run:

actionlint
yq eval . .github/workflows/ci.yml
bash scripts/discover_ci_needs.sh

Output Contract

When generating or refactoring a workflow, always return:

  • changed files
  • repository shape classification
  • job list and execution path for each job (make target, repo task, or inline fallback)
  • trigger configuration
  • permissions and secret assumptions
  • tool versions used
  • missing targets or missing local entrypoints
  • validation performed
  • recommended follow-up work when parity is incomplete

Resources

  • Use scripts/discover_ci_needs.sh to inspect repository shape and CI needs.
  • See "Load References Selectively" above for when to load each reference file.
  • Cross-reference $go-makefile-writer when Makefile targets should be added or repaired.

Skill Maintenance

Run regression before publishing changes:

scripts/run_regression.sh

Frequently asked questions

What to verify before installation and use

What does the go-ci-workflow source document cover?

Design GitHub Actions CI workflows for Go repositories that are fast, honest, and aligned with how the repository actually runs locally.

How do I install go-ci-workflow?

The source record exposes this install command: npx skills add https://github.com/johnqtcg/awesome-skills --skill "skills/go-ci-workflow". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged read-files, exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10014,671

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance

Computed 100147

oaustegard/claude-skills

featuring

Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre

Computed 9931,651

HKUDS/Vibe-Trading

strategy-generate

Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.

Computed 9980

vasilyu1983/AI-Agents-public

qa-testing-ios

Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.