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.
Generate a FastAPI web app from one Copilot command
The poster gave Copilot Agent Mode a single command to create a Python FastAPI web app and liked previewing the code before committing.
Build a CRUD employee directory app with Copilot handoffs
The poster prompted Copilot to create an employee directory with full CRUD and 20 seeded profiles, using a scaffold agent for Next.js, and got a working app.
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.
Migrate a password reset flow to modern libraries
A developer had Claude Code migrate a legacy web app's password reset flow; it needed close supervision, drifted off task, and ended up slower than doing it by hand.
Track daily AI dev tool releases and build project toolkits
Built with Claude Code, a tool scrapes sources around the clock, classifies finds with AI, scores legitimacy, and generates a project toolkit with a CLAUDE.md.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.