.agents/skills/create-database-entity/SKILL.md
Standard procedure for adding a new data type or entity to the CPHport.com database.
npx skillsauth add simonpaag/cphport create-database-entityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When the user needs to add a new type of data (like a new category of service provider, a user review, or a booking), follow this protocol to ensure data integrity and proper API setup.
First, determine the structure of the new entity. Ask the user or deduce from context:
name (string), description (string), isBusiness (boolean), location (coordinates)).Based on the chosen database tech (e.g., Prisma, Mongoose, Supabase), modify the central schema file.
category or location).If using TypeScript (highly recommended), create or update the global type definitions (src/types/index.ts or similar) so the frontend React components know exactly what data shape to expect.
Depending on the architecture:
Provide the user with a quick example of how a frontend component would fetch this new data.
testing
How to systematically verify changes after a live deployment
development
Implement HTML/Tailwind designs generated by Google Stitch into the CPHport Next.js application.
testing
Check list and standards for search-engine optimizing every new page and entity on CPHport.com.
documentation
Standard guidelines and design system details for CPHport.com, combining Maritime and Industrial aesthetics.