Workflow skill

From diegopacheco/ai-playground · View interactive version

Workflow skill is an AI agent skill from the GitHub repository diegopacheco/ai-playground. Full-stack development workflow that orchestrates deployer agents (backend, frontend, database, testing, review) in a phased pipeline. Asks which backend language (Java/Go/Rust) then runs all agents.

How to use this skill

Skill file

Deployer Workflow Skill V5

On the very first message, display: Deployer Workflow Skill V5

Global Context

Agents

There are 5 agents total:

  1. Backend Developer (java-backend-developer-agent.md / go-backend-developer-agent.md / rust-backend-developer-agent.md)
  2. React Developer (react-developer-agent.md)
  3. Relational DBA (relational-dba-agent.md)
  4. Testing Agent (testing-agent.md) - handles unit tests, integration tests, UI tests (Playwright), stress tests (K6)
  5. Reviewer Agent (reviewer-agent.md) - handles code review, security review, design doc sync, feature docs, changes summary

Rules

Mistakes Tracking

Build and Test Enforcement

Step 1: Review Plan

Use AskUserQuestion with checkboxes (all checked by default) and allow unchecking. Store selections and skip unchecked items:

Initialize todo.md with current date (yyyy-MM-dd) and all selected items as [ ].

Step 2: Design Doc

Create design-doc.md with:

Phase 1: Build

Build Components (parallel)

Spawn 3 subagents in parallel:

  1. Backend Developer: use chosen language agent (java/go/rust backend agent). Implement backend per design-doc.md. Agent MUST read mistakes.md first.
  2. React Developer: use react-developer-agent.md. Implement frontend per design-doc.md. Agent MUST generate frontend unit tests (e.g. component tests using Vitest/Jest + React Testing Library). Agent MUST read mistakes.md first.
  3. Relational DBA: use relational-dba-agent.md. Design and create DB schema per design-doc.md. Agent MUST read mistakes.md first.

Verify Build

After all 3 subagents complete:

Phase 2: Test

Spawn 1 subagent:

  1. Testing Agent: use testing-agent.md. Run all tests (unit, integration, UI Playwright, K6 stress) for both backend AND frontend code from Phase 1. Frontend unit tests MUST be included. Agent MUST read mistakes.md first.

After the testing agent completes:

Verify Tests

Phase 3: Review

Create review/{current-date}/.

Spawn 1 subagent:

  1. Reviewer Agent: use reviewer-agent.md. Perform code review, security review, sync design doc, write feature docs, and summarize changes. Agent MUST read mistakes.md first. Outputs:

If critical issues are found, fix them and record in mistakes.md.

Changelog

Create changelog.md using git info:

README

Update/create README.md with:

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.