diff --git a/.github/instructions/github-agentic-workflows.instructions.md b/.github/instructions/github-agentic-workflows.instructions.md index 007abdac9dd..283ca37d5d1 100644 --- a/.github/instructions/github-agentic-workflows.instructions.md +++ b/.github/instructions/github-agentic-workflows.instructions.md @@ -971,11 +971,14 @@ gh extension install githubnext/gh-aw If there are authentication issues, use the standalone installer: ```bash +# Download and run: curl -sL https://raw.githubusercontent.com/githubnext/gh-aw/main/install-gh-aw.sh | bash curl -O https://raw.githubusercontent.com/githubnext/gh-aw/main/install-gh-aw.sh chmod +x install-gh-aw.sh ./install-gh-aw.sh ``` +**Note**: When using the standalone installer, the binary is named `gh-aw` instead of `gh aw`. Use `./gh-aw compile` or add it to your PATH. + ### Compile Workflows ```bash diff --git a/.github/prompts/create-agentic-workflow.prompt.md b/.github/prompts/create-agentic-workflow.prompt.md index 98a11f5917e..545c2132dd6 100644 --- a/.github/prompts/create-agentic-workflow.prompt.md +++ b/.github/prompts/create-agentic-workflow.prompt.md @@ -19,7 +19,7 @@ You are a conversational chat agent that interacts with the user to gather requi - Local copy: @.github/instructions/github-agentic-workflows.instructions.md - Canonical upstream: https://raw.githubusercontent.com/githubnext/gh-aw/main/pkg/cli/templates/instructions.md - Key commands: - - `gh aw compile` → compile all workflows + - `gh aw compile` → compile all workflows (or `gh-aw compile` if installed via install-gh-aw.sh) - `gh aw compile ` → compile one workflow - `gh aw compile --verbose` → debug compilation - `gh aw compile --purge` → remove stale lock files @@ -122,7 +122,7 @@ DO NOT ask all these questions at once; instead, engage in a back-and-forth conv ## Guidelines - Only edit the current agentic wokflow file, no other files. -- Use the `gh aw compile` command to validate syntax. +- Use the `gh aw compile` command (or `gh-aw compile` if installed via standalone installer) to validate syntax. - Always follow security best practices (least privilege, safe outputs, constrained network). - The body of the markdown file is a prompt so use best practices for prompt engineering to format the body. - skip the summary at the point, keep it short. \ No newline at end of file diff --git a/pkg/cli/templates/create-agentic-workflow.prompt.md b/pkg/cli/templates/create-agentic-workflow.prompt.md index 98a11f5917e..545c2132dd6 100644 --- a/pkg/cli/templates/create-agentic-workflow.prompt.md +++ b/pkg/cli/templates/create-agentic-workflow.prompt.md @@ -19,7 +19,7 @@ You are a conversational chat agent that interacts with the user to gather requi - Local copy: @.github/instructions/github-agentic-workflows.instructions.md - Canonical upstream: https://raw.githubusercontent.com/githubnext/gh-aw/main/pkg/cli/templates/instructions.md - Key commands: - - `gh aw compile` → compile all workflows + - `gh aw compile` → compile all workflows (or `gh-aw compile` if installed via install-gh-aw.sh) - `gh aw compile ` → compile one workflow - `gh aw compile --verbose` → debug compilation - `gh aw compile --purge` → remove stale lock files @@ -122,7 +122,7 @@ DO NOT ask all these questions at once; instead, engage in a back-and-forth conv ## Guidelines - Only edit the current agentic wokflow file, no other files. -- Use the `gh aw compile` command to validate syntax. +- Use the `gh aw compile` command (or `gh-aw compile` if installed via standalone installer) to validate syntax. - Always follow security best practices (least privilege, safe outputs, constrained network). - The body of the markdown file is a prompt so use best practices for prompt engineering to format the body. - skip the summary at the point, keep it short. \ No newline at end of file diff --git a/pkg/cli/templates/instructions.md b/pkg/cli/templates/instructions.md index 007abdac9dd..283ca37d5d1 100644 --- a/pkg/cli/templates/instructions.md +++ b/pkg/cli/templates/instructions.md @@ -971,11 +971,14 @@ gh extension install githubnext/gh-aw If there are authentication issues, use the standalone installer: ```bash +# Download and run: curl -sL https://raw.githubusercontent.com/githubnext/gh-aw/main/install-gh-aw.sh | bash curl -O https://raw.githubusercontent.com/githubnext/gh-aw/main/install-gh-aw.sh chmod +x install-gh-aw.sh ./install-gh-aw.sh ``` +**Note**: When using the standalone installer, the binary is named `gh-aw` instead of `gh aw`. Use `./gh-aw compile` or add it to your PATH. + ### Compile Workflows ```bash