Skip to content

Conversation

philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Oct 6, 2025

This PR attempts to set up an automatic issue triaging tool using Claude Code as the agent and GitHub Agentics as the framework: https://githubnext.github.io/gh-aw/start-here/quick-start/

Based on the safe-outputs setting, this agent can only label issues or write replies. Let's see how useful that is 🤷

You can't run it locally since it does not have a manual trigger and needs a new github issue instead so my plan is to merge it and then create some super legit issues to see if it works!

Test plan

α dev/tailwindcss (add-workflow-workflows-issue-triage.md-3051) gh aw status
Workflow Status
Name         | Installed | Up-to-date | Status  | Time Remaining
------------ | --------- | ---------- | ------- | --------------
issue-triage | Yes       | Yes        | Unknown | 29d 22h

@philipp-spiess philipp-spiess requested a review from a team as a code owner October 6, 2025 09:12
Copy link
Member

@RobinMalfait RobinMalfait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should take a look at the labels we have. I'm a little scared to see how much "spam" this might cause but we can always revert.

Comment on lines 82 to 83
<!-- You can customize prompting and tools in .github/workflows/agentics/issue-triage.config -->
@include? agentics/issue-triage.config
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have this file, but I assume that @include? means only include when it's available?

on:
issues:
types: [opened, reopened]
stop-after: +30d # workflow will no longer trigger after 30 days. Remove this and recompile to run indefinitely
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean that it will not analyze issues that are at least 30days old?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it means that the workflow will only run for a month after committing it: https://githubnext.github.io/gh-aw/reference/frontmatter/#stop-after-configuration-stop-after

Let's set to 1d just to make sure we don't screw up anything haha

@philipp-spiess philipp-spiess marked this pull request as draft October 6, 2025 09:42
@philipp-spiess
Copy link
Member Author

auto-created the pr sorry! I want to tweak this more haha and actually test it

@philipp-spiess philipp-spiess force-pushed the add-workflow-workflows-issue-triage.md-3051 branch from 453319e to a694e02 Compare October 6, 2025 09:58
@philipp-spiess philipp-spiess force-pushed the add-workflow-workflows-issue-triage.md-3051 branch from a694e02 to d3a0fe9 Compare October 6, 2025 10:02
@philipp-spiess philipp-spiess marked this pull request as ready for review October 6, 2025 10:02
Copy link
Member

@RobinMalfait RobinMalfait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious to see what this will do 🙈

- Fetch the list of labels available in this repository. Use 'gh label list' bash command to fetch the labels. This will give you the labels you can use for triaging issues.
- Retrieve the issue content using the `get_issue`
- Fetch any comments on the issue using the `get_issue_comments` tool
- Find similar issues if needed using the `search_issues` tool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the part I'm most excited about so far!


4. Verify that the GitHub issue is related to Tailwind CSS and appears to be a bug. Feature requests and ideas should be created in the discussions area. If the GitHub issue does not appear to be a Tailwind CSS bug, read the `CONTRIBUTING.md` file and write a helpful comment explaining how we track bugs here.

5. Validate that the GitHub issue contains instructions of a reproduction. Inline instructions or URL to a reproduction are valid. If no reproduction is found, read the `CONTRIBUTING.md` file and write a helpful comment asking for one. Then, add the `needs reproduction` tag.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also very nice!

@philipp-spiess
Copy link
Member Author

I think we should take a look at the labels we have. I'm a little scared to see how much "spam" this might cause but we can always revert.

Yeah that's a good idea I'll do some deleting

@philipp-spiess philipp-spiess merged commit 9ef314e into main Oct 6, 2025
7 checks passed
@philipp-spiess philipp-spiess deleted the add-workflow-workflows-issue-triage.md-3051 branch October 6, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants