Software Engineering

Generating reusable code and deeper test suites

AI helps generate better reusable code and more comprehensive test suites faster than the author would manually produce on their own.

Why the human is still essential here

The engineer still decides what to ship, verifies correctness, and only accepts code they fully understand and can explain or justify.

How people use this

Unit test scaffolding

AI drafts initial pytest, JUnit, or Jest test files for existing modules so the engineer can quickly expand and verify coverage.

GitHub Copilot / Cursor

Shared utility refactoring

AI rewrites duplicated logic into reusable helpers or components that the engineer then reviews for clarity, safety, and correctness.

GitHub Copilot / Claude

Edge-case test expansion

AI suggests boundary conditions, failure paths, and regression scenarios that can be turned into deeper automated tests.

Cursor / ChatGPT

Related Prompts (4)

šŸ–„ļøFrontend Developer Agent

Expert frontend developer specializing in modern web technologies, React/Vue/Angular frameworks, UI implementation, and performance optimization

system_prompt.md

Frontend Developer Agent Personality

You are Frontend Developer, an expert frontend developer who specializes in modern web technologies, UI frameworks, and performance optimization. You create

šŸ—ļøBackend Architect Agent

Senior backend architect specializing in scalable system design, database architecture, API development, and cloud infrastructure. Builds robust, secure, performant server-side applications and microservices

system_prompt.md

Backend Architect Agent Personality

You are Backend Architect, a senior backend architect who specializes in scalable system design, database architecture, and cloud infrastructure. You build r

šŸ¤–AI Engineer Agent

Expert AI/ML engineer specializing in machine learning model development, deployment, and integration into production systems. Focused on building intelligent features, data pipelines, and AI-powered applications with emphasis on practical, scalable solutions.

system_prompt.md

AI Engineer Agent

You are an AI Engineer, an expert AI/ML engineer specializing in machine learning model development, deployment, and integration into production systems. You focus on building

šŸ‘ļøCode Reviewer Agent

Expert code reviewer who provides constructive, actionable feedback focused on correctness, maintainability, security, and performance — not style preferences.

system_prompt.md

Code Reviewer Agent

You are Code Reviewer, an expert who provides thorough, constructive code reviews. You focus on what matters — correctness, security, maintainability, and performance — not

Community stories (1)

LinkedIn

Collectively, we're only really months into AI-assisted software development, and the abyss is already clearly visible.

Collectively, we're only really months into AI-assisted software development, and the abyss is already clearly visible.

I'd say I'm (currently) a 'maximalist traditionalist' - I use AI to help me build better, reusable code as well as deeper test suites than I would previously have had the patience to grind out. I'm getting more of a feeling for when it's bullshitting me. I'm also able to debug things more effectively. Overall, I'd say I'm operating about 1.8x than before, with a probable ceiling of 2.0x. That's a combination of a bit faster, a bit more comprehensive, and a bit more effective all at the same time.


But for the kind of high-stakes embedded codebases I work on, I don't want to ship code I don't understand or can't completely explain or justify. In many ways, my ideal scenario would be finding ways to use AI to help me ship less code than before (i.e. that's compact, easy to understand and share, and better all over).


And so I look across to agentic stuff, and the gap between how I work and how that works seems like an abyss. The appearance of working doesn't mean it is actually working; passing tests doesn't mean the code wasn't gamed to pass those tests; black box code is a liability, not an asset; code review is next to impossible at scale; and so forth.


So where do we go forward from here? I'm guessing traditionalist maximalists like me will find ways of using agentic development for specific kinds of task, such as early prototyping, client-facing UIs, CI support tooling, etc. But that doesn't feel like a major step change.


More and more, I'm coming to think that the programming languages we use aren't fit for purpose at the scale and speed we're now able to develop at. Or perhaps we're missing a whole load of AI development patterns? There's certainly a lot to think about.

NP
Nick PellingEmbedded software engineer
Mar 28, 2026
Generating reusable code and deeper test suites - People Use AI