Agentic workflows

From managedcode/dotnet-skills · View interactive version

Agentic workflows is an AI agent skill from the GitHub repository managedcode/dotnet-skills. Route gh-aw design, creation, diagnosis, patching, active debugging, and upgrade requests to the right strategies.

How to use this skill

Skill file

Agentic Workflows Router

Use this skill when a user asks to design, create, update, debug, or upgrade GitHub Agentic Workflows in this repository.

This skill is a dispatcher: identify the task type, load the matching workflow prompt/skill file, and follow it directly. Keep responses concise and ask a clarifying question if the correct prompt is unclear.

For debugging sessions needing CLI setup or run-URL scoping, first load

https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/debug-bootstrap.md; it bootstraps

the same shared strategy used by the debugging routes below.

Debugging, incident, health, and failure-related optimization requests use the

bootstrap's intent routing before generic update, upgrade, or optimization routes,

even when the CLI is installed. Preserve the supplied guidance repository/ref

for all debugging links and public raw fallbacks; URLs showing main below are

defaults only when no guidance revision is supplied. Reuse already-loaded guides.

The intent index is .github/aw/debug-scenarios.md; load only the selected

specialized route, not every debugging reference.

Repository overlay (optional):

Read only the files you need:

Use a local guidance checkout only when its repository/ref matches the requested guidance; otherwise use the resolved guidance repository/ref (default github/gh-aw).

If GitHub API, gh api, or GitHub MCP downloads return HTTP 403 (including a token SAML-authorized for a different organization), do not retry with the same token. Fetch the public file without authentication from https://raw.githubusercontent.com/github/gh-aw/main/<path> instead, preserving its repository-relative path (including .github/). For example: curl --fail --silent --show-error --location 'https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-agentic-workflow.md'. Use the same fallback for referenced instructions and SKILL.md files; never send an Authorization header or token to the raw URL. If the public download fails, report that error rather than proceeding without the required instructions. This fallback is for public github/gh-aw content only, not private or enterprise repositories.

After loading the matching workflow prompt or skill, follow it directly:

When the task involves OTEL, OTLP, traces, observability backends, or telemetry-driven analysis, also read and follow skills/otel-queries/SKILL.md after loading the matching workflow prompt or skill.

When creating, updating, diagnosing or upgrading a workflow that uses tools.work-queue, also load .github/aw/work-queue.md after the primary prompt. Load deployment docs, operator reference or specification only when that task needs them.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.