Development environment, staging environment, production environment—it's common to switch between multiple environments. The most critical mistake to avoid is performing actions intended for the development environment in the production environment.
As humans, we make mistakes. However, tightening checks excessively can make daily operations cumbersome. AI is still not entirely reliable. So, what should we do?
Production Environment Color
Let's rely on human intuition: color. I refer to this as the Production Color. You should apply a color that clearly indicates it's the production environment. Red is often a good choice.
How to Implement
The color change uses client-side features (browser-side). You can use a script engine like Tampermonkey or develop a custom extension.
Which part of the screen to change depends on the environment, but you could either fill the entire background or just the header.
Of course, you can create this with AI. It may be tedious to customize for each environment, but compared to the effort of fixing mistakes in the production environment and the stress of straining yourself to avoid such mistakes, it's worth it. No more excuses—let's get this done quickly.
Top comments (0)