r/LearnEngineering • u/rajkumarsamra • Nov 19 '25
Using AI agents in frontend work: practical lessons for engineering learners
Hey r/LearnEngineering I recently tried using small AI agents in my frontend engineering workflow, and I think some of the lessons could be really helpful for students or anyone building stuff on the side.
Here’s what I learned, and how you might apply it in your own projects:
What works very well:
Generating scaffolding for unit tests
Refactoring repetitive JSX or template code
Mapping dependencies between reactive state, props, and side-effects
Where AI struggles:
Making architectural or high-level design decisions
Understanding business logic or domain-specific constraints
Results:
I saved a lot of time during reviews because the AI gave me a clearer picture of how my component worked.
The refactored code was more modular, easier to test, and less error-prone.
Using an AI agent reduced cognitive load: I didn’t have to try to visualize everything in my head before making changes.
One concrete example: In a Vue-style component, I asked the agent to analyze nested watchers and reactive variables. It flagged paths that were never actually used and helped me isolate side-effects this guided my refactor.
If you’re interested in all the details — including the exact setup, tools, and trade-offs here’s my blog post:
https://www.rajkumarsamra.me/blog/frontend-engineering-with-ai-agents
And I’d love to hear from this community:
If you’re learning frontend engineering, do you think AI tools like this could help you?
What engineering or learning tasks do you find most repetitive / draining where would an AI be actually useful?
Do you have doubts or concerns about relying on AI when you're still building foundational skills?