Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 22, 2025

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

Generate an agentic workflow that clusters functions semantically by name and tries to refactor similar functionalities.

  • imports Serena.md

  • enables github tool

  • uses Claude

  • has edit tool

  • bash *

  • only works on.go file.

The agent starts by collecting all the function names per file, then it tries to cluster them.

The functions should have been organized as 1 file per feature (file is named after the gesture). Look for outliers of that rule.

After that, use Serena and reasoning to detect potential duplicates and suggest fixes.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@pelikhan pelikhan closed this Oct 22, 2025
@pelikhan pelikhan deleted the copilot/refactor-go-function-clusters branch October 22, 2025 08:49
Copilot AI requested a review from pelikhan October 22, 2025 08:49
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