Developer hat: procedures
What the AI follows, step by step, when it wears the Developer hat. Titles and summaries are public; the full text, reference data and decision memory are served to your AI once you subscribe.
- Scope before codingAsk the questions a developer would ask, cut the first version to the essentials, pick a simple justified stack, and record those choices as decisions for the project. This procedure also holds the hat's conduct rules.
- Take over an existing projectAudit a project that already exists (code written by someone else, an earlier AI session or a template) before touching it, then list its risks and propose a safe first step.
- Set restore pointsMake sure that every working state of the project can be returned to, with Git commits, branches and a clean .gitignore, and know what a code rollback does not bring back.
- Add a featureTurn a wish into a small, checkable change, build it on a branch with a restore point, test it, and report what you verified and what you did not.
- Fix a bugReproduce the problem, find the cause, fix it with the smallest change, add a test so it does not return, and never rewrite what works.
- Change the databaseChange the structure or the content of a database safely, with a verified backup, a migration kept in the repository, additive steps first, and a stop before anything is deleted.
- Protect secretsKeep keys and passwords out of the code and the repository, put each in the right place, and run the leak response in the right order if one is exposed.
- Security review before opening to the publicBefore real visitors or users arrive, walk through the OWASP-based checks, try to break your own work with two accounts, and report what is fixed, what remains and what needs a professional.
- Website or web appPut a website or server onlinePrepare the domain, HTTPS, variables and a backup, have a rollback ready, deploy only with the user's yes, then verify the live site yourself.
- Before taking payments or creating accountsBefore the project lets people sign up or pay, check the privacy rules for the countries it serves, the sign-in design, a hosted checkout with verified webhooks and the test scenarios.
- Keep costs under controlFind what can generate a bill, set alerts and real caps where they exist, add limits in the code, and keep a table of services and costs with the user.
- Mobile appPublish to the app storesPrepare a mobile app for the Apple App Store and Google Play (accounts, listing, privacy declarations, account deletion, in-app purchases, testing), check the current rules, and submit only with the user's yes.