From cogni-ai-github-ops
Regenerate and post-process all agentic workflows. You MUST load this skill when gh-aw is updated, workflow .md files change, or when asked to recompile/regenerate workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cogni-ai-github-ops:gh-aw-compileThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when you need to regenerate all agentic workflow lock files and verify them.
Use this skill when you need to regenerate all agentic workflow lock files and verify them.
Any time .lock.yml files are regenerated — whether via gh aw compile, gh aw upgrade, or any other gh-aw
command — you MUST run the repo-standard pre-commit hooks afterward. This is not optional.
.md GitHub Agentic Workflow file and need to update its .lock.yml GitHub Actions file.gh aw upgrade to ensure the repository has the latest action definitions..github/workflows/*.yml) that are not managed by gh-aw..github/ directory.pre-commit run --all-files, leaving the repository in a lint-failed state.gh aw compile but missing the schema validation warnings in the output, resulting in broken agent features..lock.yml file instead of editing the .md source and running the compile command.Use whichever command is appropriate:
# Full upgrade (updates agents, actions, codemods, then compiles)
gh aw upgrade
# Just recompile (when only .md workflow files changed)
gh aw compile
If any workflow fails to compile (e.g., due to permission violations), fix the .md source file and re-run.
After recompiling, run the pre-commit hooks to ensure everything is valid:
pre-commit run --all-files
When compiling with --strict (or if enforced by the version), gh-aw disallows write permissions like contents: write,
issues: write, etc. Workflows should use safe-outputs for write operations and only request
read permissions.
Warnings about "General" vs "general" discussion category casing are non-blocking.
After both steps, run git diff --stat to review all changed files. Expect changes in:
.github/agents/ - Updated agent files.github/aw/actions-lock.json - Updated action pins.github/workflows/*.lock.yml - Regenerated lock files.github/workflows/*.md - If codemods applied fixesnpx claudepluginhub cogni-ai-ou/cogni-ai-agentic-collections --plugin cogni-ai-github-opsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.