name: seed-user description: Create a single dummy user in the database allowed-tools: Read, Bash(python3:*) disable-model-invocation: true
Read database/db.py to understand the users table schema and the get_db() helper.
Then write and run a Python script using Bash that:
-
Generates a realistic random user commonly found in Germany:
- Name: choose a first and last name from commonly used German names (for example: Anna, Lukas, Leon, Emma, Sophie, Müller, Schmidt, Wagner, Becker, Fischer)
- Email: derived from the name with a random 2-3 digit suffix (e.g. anna.mueller91@gmail.com)
- Password: "password123" hashed with werkzeug's generate_password_hash
- created_at: current datetime
-
The generated names should represent realistic residents of Germany and may include diverse backgrounds commonly found in modern Germany.
-
Check if the generated email already exists in the users table. If it does, regenerate until unique.
-
Insert the user into the database using the same get_db() pattern found in db.py.
-
Print confirmation:
- id
- name
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.