Write a tricky Flutter function with Copilot
The poster had Copilot write a difficult Flutter function for their app, and a commenter turns written requirements and code samples into working output, then builds their own test harness.
Done withGitHub Copilot
- What they did
- The poster says Copilot wrote a tricky Flutter app function for them, including sensible comments, after they were stuck on it. In the comments, one developer explains their workflow more concretely: they write out requirements and provide full code samples, then have Copilot, ChatGPT, or Claude generate the code, while they personally build the test case or harness and verify the result.
- How it went
- The thread only gives self-reported outcomes, but the commenter says this makes them about twice as productive and lets them ship features in half the time. They also say the human still has to validate the code because the tools can miss glue code or go wrong.
- Worth knowing
- The clearest catch is that the time savings came with manual testing responsibility still on the user, not with trusting the generated code blindly.
Try it yourself with GitHub Copilot
I need a function in my [language/framework, e.g. Flutter] app that does [clear description of behavior]. Here are the requirements and examples of inputs and expected outputs: [paste them]. Write the function, add tests that cover the examples and edge cases, run them, and tell me what you couldn't verify.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Undated
Related use cases
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Rewrite a runtime from TypeScript to Rust with agents
GitHub engineers used Copilot tools to have agents write most of an 800,000-line Rust rewrite of the Copilot runtime across 128 PRs, fixing a few regressions.
Iterate on tasks with Copilot CLI autopilot and fleet
The author used autopilot to iterate until done and /fleet to split work across parallel subagents, noting overhead on small tasks.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Delegate web research from Claude Code to Comet
An MCP server lets Claude Code hand web navigation, login-walled pages and research to Comet while it keeps coding, then returns results.
Run a fleet of engineer bots that fix CI and ship PRs
A SpaceXAI engineer runs five specialized Grok bots that launch cloud agents, fix failing CI and security issues, trigger reviews, and ship PRs overnight, handling over 200 agents at once.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.