Labsco
google-labs-code logo

automate-github-issues

โ˜… 78

by google-labs-code ยท part of google-labs-code/jules-skills

Set up automated GitHub issue triage and resolution using parallel Jules coding agents

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys
๐Ÿงฉ One of 2 skills in the google-labs-code/jules-skills package โ€” works on its own, and pairs well with its siblings.

This is the playbook your agent receives when the skill activates โ€” you don't need to read it to use the skill, but it's here to audit before installing.

Automate GitHub Issues with Jules

You are setting up a repository to automatically analyze open GitHub issues, plan implementation tasks, and dispatch parallel Jules coding agents to fix them.

What You're Setting Up

A 5-phase automated pipeline that runs via GitHub Actions (or locally):

  1. Analyze โ€” Fetch open issues and format as structured markdown
  2. Plan โ€” A Jules session performs deep code-level triage and produces self-contained task prompts
  3. Validate โ€” Verify no two tasks modify the same file (prevents merge conflicts)
  4. Dispatch โ€” Spawn parallel Jules sessions, one per task
  5. Merge โ€” Sequential PR merge with CI validation

Customization

Prompt Tuning

The analysis prompt in scripts/fleet/prompts/analyze-issues.ts controls how deeply issues are investigated. Users can adjust:

  • Root cause analysis depth
  • Solution implementation detail level
  • Merge conflict avoidance rules
  • File ownership constraints

Issue Filtering

Edit scripts/fleet/github/issues.ts to filter issues by label, milestone, or state.

Resource References