Best for
- Use when creating or refactoring GitHub Actions CI workflows for Go repositories.
johnqtcg/awesome-skills/skills/go-ci-workflow/SKILL.md
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.
Decision brief
Design GitHub Actions CI workflows for Go repositories that are fast, honest, and aligned with how the repository actually runs locally.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/johnqtcg/awesome-skills --skill "skills/go-ci-workflow"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
Use go-version-file: go.mod — never hardcode Go version.
Do not use this skill for:
Use the strongest repo-native execution path available:
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.
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…
Permission review
The documentation asks the agent to read local files, directories, or repositories.
Inspect repository shape and task entrypoints.The documentation asks the agent to run terminal commands or scripts.
bash scripts/discover_ci_needs.shThe 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
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 94/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 30 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Design GitHub Actions CI workflows for Go repositories that are fast, honest, and aligned with how the repository actually runs locally.
.github/workflows/*.yml for Go repositoriesDo not use this skill for:
Use the strongest repo-native execution path available:
ci, ci-e2e, ci-api-integration, docker-build.Taskfile.ymlmagescripts/*.shWhen falling back, say so explicitly and recommend the missing local entrypoint needed for parity.
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.md — only when multiple go.mod files detected, or repo has multi-app directories.references/github-actions-advanced-patterns.md — only when request involves permissions escalation, fork PR security, reusable workflows, service containers, or self-hosted runners.references/fallback-and-scaffolding.md — only when Makefile targets or repo-native entrypoints are incomplete or missing.references/golden-example-monorepo.md — only when repository shape is monorepo.references/golden-example-service-containers.md — only when integration tests require database or cache service containers.references/pr-checklist.md — only when reviewing an existing workflow PR.Before composing a workflow, classify the repository:
Inspect:
go.mod and nested go.mod filesMakefile / Taskfile.yml / mage / scripts.github/workflows/*.ymlUse scripts/discover_ci_needs.sh first, then confirm with manual inspection where needed.
Do not claim local parity unless each workflow job maps to a real local entrypoint.
For each job, classify the execution path:
make targetrepo taskinline fallbackIf a target or entrypoint is missing:
Before adding secrets, write permissions, or publish-like jobs, determine:
pull_request, push, workflow_call, or schedulepermissionsRead references/github-actions-advanced-patterns.md whenever security or advanced workflow behavior is involved.
Never claim validation happened unless it actually ran.
If syntax or contract validation was not run, output:
Not run in this environmentIf validation did run, report:
If the repository lacks sufficient structure for a high-confidence workflow:
Use references/fallback-and-scaffolding.md.
timeout-minutes on every job (10-15 for core gate, 20 for e2e/integration).needs: only when ordering matters.concurrency to cancel redundant runs on the same branch or PR.Default trigger intent:
pull_request: fast core gate, low-risk verification, no secret-dependent jobs from forkspush to protected branches: broader verificationschedule: expensive or comprehensive sweepsworkflow_call: reusable workflow extraction when multiple repos/jobs genuinely share behaviorDo not force all expensive jobs onto every PR unless the repository risk profile requires it.
go-version-file: go.mod — never hardcode Go version.go install tool versions exactly, never @latest.@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.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.Use references/github-actions-advanced-patterns.md when needed.
At minimum:
permissions (prefer job-level over workflow-level for escalations)Validate as much as the environment allows:
If available, run:
actionlint
yq eval . .github/workflows/ci.yml
bash scripts/discover_ci_needs.sh
When generating or refactoring a workflow, always return:
make target, repo task, or inline fallback)scripts/discover_ci_needs.sh to inspect repository shape and CI needs.$go-makefile-writer when Makefile targets should be added or repaired.Run regression before publishing changes:
scripts/run_regression.sh
Frequently asked questions
Design GitHub Actions CI workflows for Go repositories that are fast, honest, and aligned with how the repository actually runs locally.
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.
Static rules flagged read-files, exec-script in the source; the page lists the matching lines and excerpts.
Alternatives
prowler-cloud/prowler
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
oaustegard/claude-skills
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
HKUDS/Vibe-Trading
Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.
vasilyu1983/AI-Agents-public
Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.