AI skills beyond the front end: lean code, reviews and safe databases
Design skills get the attention, but the skills that saved me the most time were about writing less code, reviewing what changed and not breaking production data.
Gustam Rheza
In my last two posts I wrote about skills for front-end work and how to write your own. This one is about the rest of the stack. These skills are less visible than a nice hero section, but they are the ones that kept this site fast, small and online.
A skill for writing less code
Agents like to add things: a helper for a function used once, a config option nobody asked for, a new dependency for ten lines of logic. Each addition is reasonable on its own. Together, they turn a small project into one you are afraid to touch.
A "lazy senior developer" skill reverses the default. Its rules are simple:
- make the smallest change that fully solves the task
- prefer the platform and existing code over a new package
- delete code that is no longer used
- explain the change in a way a busy person understands in one read
When I asked for a performance pass on this portfolio with that skill active, the result was mostly deletions: unused components, a legacy import script and database fields the site no longer read. The site got faster because there was less of it.
Code review that looks for bugs, not style
A review skill reads the current diff and reports only what is likely to be wrong: a missing case, a race, a value that can be null. Good ones ask the agent to state a concrete failure for each finding ("when the list is empty, this crashes") and to drop anything it cannot back up.
I run it before every commit that touches data or authentication. It does not replace my own reading, but it catches the mistakes I make when I am tired, and it does it in a minute.
A security review skill works the same way with a narrower focus: input that reaches a query, secrets in code, access rules that are too wide. For a personal site with an admin panel, that is worth the minute too.
Database skills: branch first, migrate second
The skill that saved me the most stress was a database one. My site runs on serverless Postgres, which can create a copy of the whole database in seconds. The skill turns that into a habit:
- Create a branch of production before any schema change.
- Run the migration on the branch and check the result.
- Back up production, then run the same migration there.
- Deploy the code that matches the new schema right after.
I learned the last step the hard way. Once, a migration dropped columns in production a few minutes before the code that stopped reading them was deployed, and the site returned errors until the deploy finished. The fix was quick, but the lesson is now written in the skill: schema and code ship together, and destructive changes wait for the code.
Keep the human in the loop
None of these skills make the agent the owner of the project. The ones I trust share one trait: they tell the agent when to stop and ask. Deleting a database branch, running a migration on production, publishing a page, changing a domain: the skill names these actions and requires a confirmation.
That is the real value of writing your rules down. The agent gets faster at the routine work, and the decisions that can hurt stay with you.
Where to start
If you only add one skill outside the front end, make it the one that matches your biggest fear. For me, that was losing data, so it was the database skill. For you, it might be review, security or simply writing less code. Write it down, give it a clear trigger, and let the agent follow it every time.