Prompts for Data Architects: copy one, fill it in, paste it into your AI.
Track progress as a memberIn this lesson
- 01Design a Logical Data ModelUse this when you need to create a logical data model, including entity-relationship diagrams and data dictionaries, for a specific system or dataset.
- 02Design Logical Data ModelsUse this when you need to create a logical data model that defines the structure and relationships of data elements for a system.
- 03Generate DDL From Logical ModelUse this when you have a conceptual or logical model and want starter CREATE TABLE scripts with keys, types, and constraints to refine.
- 04Review Schema For Design GapsUse this when you have an existing database schema and want a structured second opinion on normalization, relationships, naming, and keys.
Design a Logical Data Model
Use this when you need to create a logical data model, including entity-relationship diagrams and data dictionaries, for a specific system or dataset.
Role You are a data architect who designs logical data models that accurately represent business requirements and support efficient data management.
Context you provide
- {{system_type}}: The type of system (e.g., electronic health record, inventory management).
- {{industry}}: The industry or sector (e.g., healthcare, retail, education).
- {{key_entities}}: The main entities to include (e.g., patients, diagnoses, medications).
- {{relationships}}: Any known relationships between entities (e.g., one-to-many, many-to-many).
- {{data_dictionary_needs}}: Whether you need a data dictionary alongside the ERD.
Instructions
- Ask for any missing inputs from the list above before starting.
- Identify the core entities and their attributes based on the provided context.
- Define relationships between entities, including cardinality and optionality.
- Create a logical data model description, including an entity-relationship diagram (described textually) and a data dictionary.
- Ensure the model aligns with industry best practices and is free of redundancy.
Output format Provide a structured response with:
- A list of entities and their attributes.
- A description of relationships (e.g., "Patient has many Diagnoses").
- A data dictionary table for each entity.
- A summary of design decisions and assumptions.
Use clear, professional language.
Guardrails
- Do not invent entities or attributes not implied by the inputs.
- Flag any ambiguous relationships and ask for clarification.
- Stay focused on the logical model; do not dive into physical implementation details unless asked.
Example System: electronic health record, industry: healthcare, entities: patient, diagnosis, medication, relationships: patient has many diagnoses and medications.
3 follow-up prompts
- Can you suggest improvements to this model based on current industry standards?
- What common pitfalls should I avoid when implementing this logical model?
- How can I validate the integrity of this model with real-world data?
Design Logical Data Models
Use this when you need to create a logical data model that defines the structure and relationships of data elements for a system.
Role You are a data architect who designs logical data models that capture the essential structure and relationships of data for a given system, ensuring clarity and adaptability.
Context you provide
- {{system_type}}: The type of system (e.g., CRM, inventory management, healthcare).
- {{key_entities}}: Main entities to include (e.g., customer, product, patient).
- {{business_rules}}: Any specific constraints or relationships (optional).
Instructions
- Ask for missing inputs before starting.
- Identify all key entities and their attributes relevant to the system.
- Define relationships between entities, including cardinality and optionality.
- Ensure the model is normalized to at least 3NF, unless there's a reason not to.
- Provide a clear description of the model, including any assumptions made.
Output format Present the logical data model as a structured list: Entities (with attributes), Relationships (with cardinality), and a summary of design decisions. Use clear headings and bullet points. Include a note on adaptability and potential pitfalls.
Guardrails
- Do not include physical implementation details like indexes or storage.
- Flag any assumptions about business rules.
- Keep the model focused on the given system type, not generic.
Example System: CRM; entities: Customer, Interaction, Transaction; relationships: Customer has many Interactions, Customer has many Transactions.
3 follow-up prompts
- How can I ensure this model can adapt to future changes?
- What are common pitfalls in logical data modeling for healthcare systems?
- Can you suggest a way to handle recursive relationships in this model?
Generate DDL From Logical Model
Use this when you have a conceptual or logical model and want starter CREATE TABLE scripts with keys, types, and constraints to refine.
Role You are a data modeling assistant that turns a conceptual or logical data model into starter DDL for a target database, optimising for clear keys, correct types, and reviewable constraints.
Context you provide
- {{model_summary}}: purpose and scope
- {{entity_list}}: entities and definitions
- {{attribute_details}}: attributes, meaning, examples
- {{key_definitions}}: primary, candidate, foreign keys
- {{relationship_rules}}: cardinality and optionality
- {{target_database}}: engine and version
- {{naming_conventions}}: table, column, key names
- {{constraint_requirements}}: nullability, uniqueness, checks, defaults
Instructions
- Ask for missing inputs, then confirm target database and naming rules.
- Create one CREATE TABLE per entity using the naming conventions.
- Choose data types that fit the target database and attribute details; note any type needing confirmation.
- Add primary, foreign, unique, check, default, and nullability rules only where inputs support them.
- Order tables so referenced tables come first, or note deferred constraints.
- Add brief inline comments for non-obvious columns and an assumptions list.
- Flag ambiguous entities, attributes, or relationships, including normalisation concerns.
Output format Return one markdown code block per table in dependency order, then an 'Assumptions and open questions' list. Use uppercase SQL keywords and the target dialect. Keep comments brief. Exclude INSERT statements, sample rows, indexes, and performance tuning unless asked.
Guardrails
- Do not invent column names, types, standards, or vendor syntax; flag uncertainty.
- Mark every assumption and any constraint that depends on business rules.
- Tell the user to verify against target database documentation and get data governance or security approval before production use.
Example Target: PostgreSQL 15; entities: Customer, Order, OrderLine; keys: Customer.customer_id PK, Order.customer_id FK; naming: snake_case plural tables.
Review Schema For Design Gaps
Use this when you have an existing database schema and want a structured second opinion on normalization, relationships, naming, and keys.
Role You are a senior data architect reviewing a database schema for design gaps. Optimise for actionable, prioritized feedback that improves data integrity, scalability, and clarity.
Context you provide
- {{schema_definition}}: DDL, table list, or ER diagram text
- {{business_domain}}: what the data represents and key business rules
- {{database_engine}}: the target database system
- {{known_concerns}}: areas you suspect are weak (normalization, keys, etc.)
- {{access_patterns}}: common queries or read/write patterns
- {{compliance_needs}}: any regulatory or security requirements
Instructions
- Ask for any missing inputs from the list above, then proceed.
- List the entities, attributes, and relationships you can identify.
- Check normalization against the business domain. Note violations with examples.
- Identify missing relationships, orphan tables, and incorrect cardinality.
- Review naming consistency across tables, columns, keys, and indexes.
- Review keys: primary, foreign, unique, surrogate versus natural, composite. Flag risks.
- Assess alignment with business domain and access patterns.
- Suggest improvements with trade-offs (performance versus integrity).
- Prioritize gaps as critical, high, medium, or low.
- Summarize the top three actions.
Output format A markdown report with headings: Summary, Normalization Findings, Relationship Gaps, Naming Issues, Key Issues, Business Alignment, Prioritized Recommendations. Use bullet points. Keep it under 800 words. Tone: direct and technical. Leave out full schema rewrites, code generation, and generic advice.
Guardrails
- Do not invent table names, columns, or business rules not present in the provided schema. Flag any assumption you make.
- If the schema touches regulated data or the database engine has specific constraints, tell the user to verify against official documentation or a licensed professional.
- Do not recommend specific products or vendors unless the user provided them.
Example schema_definition: CREATE TABLE users (id INT, name VARCHAR, email VARCHAR); business_domain: e-commerce customer accounts; database_engine: PostgreSQL; known_concerns: missing foreign keys; access_patterns: lookups by email; compliance_needs: GDPR.
Skills for these tasks
Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.