Workflow

From g2i-ai/agents · View interactive version

Workflow is an AI agent skill from the GitHub repository g2i-ai/agents. Orchestrate the repo workflow from brief through draft PR using skills and thin role wrappers.

How to use this skill

Skill file

Workflow

Objective

Coordinate the standard delivery flow:

brief -> spec -> tdd -> code -> review -> draft-pr

This is a skill entry point, not a command wrapper. Keep the orchestration light and route work into the stage skills instead of duplicating their guidance here.

Instructions

  1. Ask for the feature or change name and which stage range to run (full, partial like spec -> code, or resume from an existing artifact).
  2. Check which stage artifacts already exist before asking the user to recreate them:
  1. For each selected stage, invoke the matching skill (brief, spec, tdd, code, review, draft-pr). Each skill self-routes via its own Invocation preface: brief, spec, tdd, code, and test run inline in the current chat under the appropriate persona, while review, draft-pr, and pr-description default to delegating to their owning subagent.
  2. After each stage, summarize:
  1. Keep context compact. Prefer referencing existing artifact paths over restating full document contents.
  2. Do not create workflow state files or command-era JSON checkpoint files in Phase 1.

PR validation (before `draft-pr`)

Stage Outputs

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.