Workflow dev

From laurigates/claude-plugins · View interactive version

Workflow dev is an AI agent skill from the GitHub repository laurigates/claude-plugins. Automated dev loop — run tests, file issues for failures, TDD fix on branch, open PR, watch CI. Use when running a continuous dev loop, autonomous TDD, or fix-and-PR cycles.

How to use this skill

Skill file

/workflow:dev

Automated development loop with issue creation, TDD, and CI monitoring.

When to Use This Skill

| Use this skill when... | Use X instead when... |

|------------------------|----------------------|

| Running a continuous loop that turns test failures into issues, then resolves them | Inspecting an existing workflow run or debugging CI failures (/workflow:github-actions-inspection) |

| Automating the full issue → branch → PR → green-CI cycle through the backlog | Generating a reusable auto-fix workflow file for multiple repos (/workflow:github-workflow-auto-fix --reusable) |

| Wanting Claude to pick the next issue and drive it through TDD without user input | Searching upstream OSS issues for known errors or workarounds (/workflow:github-issue-search) |

Context

Open issues are fetched during execution (requires a configured git remote).

Parameters

Parse from $ARGUMENTS:

Execution

Execute this automated development loop:

Step 1: Set up environment and assess state

1. Ensure on main branch and sync

git switch main
git pull

2. Run the project's test suite

3. Create GitHub issues for any test failures

4. List current repository issues

Step 2: Select issue to work on

Select issues using this priority order:

  1. Critical bugs: Issues labeled priority: critical or bug + high priority
  2. Test failures: Issues just created from failing tests (highest priority)
  3. Quick wins: Issues labeled good first issue or estimated < 1 hour
  4. High-impact features: Issues with most reactions/comments
  5. Technical debt: Oldest issues labeled technical-debt or refactor

Selection criteria (must meet ALL):

If no suitable issues found:

Step 3: Implement solution

For the selected issue, repeat until CI passes:

5. Create feature branch

git switch -c fix/issue-{number}-{brief-description}

6. Gather implementation context

7. Implement solution using TDD

8. Commit changes

git add <files>
git commit -m "fix: resolve issue #{number} - {brief description}"

9. Push branch

git push origin fix/issue-{number}-{brief-description}

10. Create pull request

11. Monitor CI status

12. Fix CI failures (if any)

Step 4: Complete and loop

13. Verify CI success

14. Close the issue

15. Return to Step 1

For command variations, error-handling policies, report templates, loop-termination criteria, and integration requirements, see REFERENCE.md.

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.