Add a filtered report page to a Razor Pages app
The poster used Copilot agent mode in Visual Studio 2022 to build a charges summary report page with date and status filters, add a menu option, and write the git commit steps.
Done withGitHub Copilot
- What they did
- The poster said they used Copilot agent mode inside Visual Studio 2022 on an existing Razor Pages app and only described the feature they wanted: a charges summary report page with begin and end date filters plus status filtering. They said the agent then created the new files itself, added a menu option, and even performed the git add and commit steps without the poster writing or pasting code.
- How it went
- The result was that the full report feature was generated and looked pretty good to the poster, who said they did not code a single line. In comments, another user said agent mode was hit or miss and described a separate case where it stubbed methods and deleted code instead of moving it cleanly.
- Worth knowing
- The main catch from the thread is reliability: the original post gives no timing or cost, and a commenter said agent mode could also make destructive edits on other tasks.
Try it yourself with GitHub Copilot
In my [framework, e.g. Razor Pages] app, add a new report page called [report name] that summarizes [data, e.g. charges] and lets me filter by [filters, e.g. date range and status]. Add a menu link to it, follow the existing patterns in the project, and make sure it builds. When you finish, list the files you changed and give me the git commands to commit the work with a clear message.
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.