One-click install
npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill gh-aw-new
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-aw-new
Source: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/tree/main/gh-aw-new
Command: npx skills add https://github.com/Cogni-AI-OU/cogni-ai-agent-skills --skill gh-aw-new

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create new GitHub Agentic Workflow (gh-aw) repositories correctly and consistently by using the official gh-aw CLI scaffolding process instead of hand-writing workflow frontmatter.

Core Features & Use Cases

  • Official prompt-based scaffolding: Fetches the correct create-agentic-workflow instructions from the gh-aw project (and reads ALL instructions) before generating files.
  • End-to-end workflow readiness: Produces the workflow .md plus the compiled execution artifacts like the .lock.yml and related agent/workflow supporting files.
  • Repository-standard compliance: Ensures lock-file pinning, .gitattributes linguist/merge settings, and runs pre-commit checks after generation to avoid invalid or noncompliant workflows.
  • Use Case: When you need a brand-new GitHub Agentic Workflow that will run as part of your organization’s automation baseline, this Skill gives you the safe scaffolding path from day one.

Quick Start

Tell the AI: "Create a new gh-aw workflow named my-new-workflow for my repository and ensure the generated workflow is compiled, linted, and ready to commit."

Frequently Asked Questions about gh-aw-new

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new GitHub Agentic Workflow project structure from scratch?

To scaffold a GitHub Agentic Workflow, use the gh-aw CLI extension to fetch creation instructions, run gh aw new, and generate the .github/aw-based workflow definition files along with compiled .lock.yml artifacts.

What is the purpose of the compiled .lock.yml file in GitHub Agentic Workflows?

The compiled .lock.yml file in GitHub Agentic Workflows serves as an execution artifact that pins generated agent and action metadata, ensuring consistent and compliant repository automation runs.

Do I need pre-commit hooks to validate GitHub Agentic Workflow definition files?

Yes, you need pre-commit hooks to validate GitHub Agentic Workflow definition files. Running pre-commit checks after generation ensures repository-standard compliance and prevents invalid or noncompliant workflows.

Can I use the gh-aw CLI to update .gitattributes for lock.yml linguist behavior?

Yes, the gh-aw scaffolding process updates .gitattributes for lock.yml linguist behavior, ensuring proper language detection and merge settings for the compiled workflow artifacts.

Why does my GitHub Agentic Workflow fail repository-standard compliance checks?

GitHub Agentic Workflow compliance checks fail when hand-writing workflow frontmatter instead of using the official gh-aw CLI scaffolding, which ensures proper lock-file pinning and valid .gitattributes settings.

What's the best way to automate GitHub workflow compilation for organization baselines?

The best way to automate GitHub workflow compilation is using the official gh-aw CLI to run gh aw compile, which fetches prompt-based scaffolding instructions and produces ready-to-commit execution artifacts.