w-gha
Retrieve GitHub Actions logs with gh, analyze failures, and fix CI errors locally.
Install
npx skills add https://github.com/blockmatic/basilic-skills --skill w-ghaSKILL.md
Fix failing GitHub Actions for the current branch. Use gh, never GitHub MCP for Actions logs. Follow git publish.
git branch --show-current. Resolve the upstream tracking branch and confirm it exists.git status -sbis not proof the branch is pushed. Confirm HEAD is not ahead of upstream, or identify the PR head SHA (gh pr view --json headRefOid) and use that SHA when selecting runs.gh pr checks;gh run list --branch "$(git branch --show-current)" --limit 10(or--commit <headSha>); failed run →gh run view <id> --log-failed; artifacts →gh run download <id>.- Parse logs for tests, lint, build, missing deps, env, timeouts. When 2+ jobs failed, spawn one read-only parser per distinct job. Change the owning cause yourself.
- Re-run the same local commands the workflow uses. Do not add
gh run watchto every push. No commit or push unless the user requested that action. - Docs:
/w-docsif behavior or commands changed.
Related skills
azure-diagnosticsmicrosoft608KDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, troubleshoot functions, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, aazure-preparemicrosoft608KPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azazure-aimicrosoft608KUse for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.azure-deploymicrosoft607KExecute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: \"run azd up\", \"run azd deploy\", \"execute deployment\",
