The method
Use this prompt in any LLM as a foundation for crafting content models in Contentful. Paste the prompt into the chat and specify your project’s domain or industry. Use follow-up questions for refining fields.
The prompts
Prompt 1
I am building a [type of website or application, e.g., e-commerce store, blog, documentation site] using Contentful. Suggest a content model for [specific content type, e.g., product, blog post, article] including the fields, their data types, validations, and display hints. Consider the following requirements: [list any specific requirements, e.g., SEO optimization, multi-language support, integration with a specific service].
Example:
I am building an e-commerce store using Contentful. Suggest a content model for a 'Product' including the fields, their data types, validations, and display hints. Consider the following requirements: SEO optimization, product variants (size, color), and integration with a payment gateway.
Based on this, generate an outline of how the Product content model should look like including field names, field types, validations, and display hints.
Example:
I am building an e-commerce store using Contentful. Suggest a content model for a 'Product' including the fields, their data types, validations, and display hints. Consider the following requirements: SEO optimization, product variants (size, color), and integration with a payment gateway.
Based on this, generate an outline of how the Product content model should look like including field names, field types, validations, and display hints.
Prompt 2
Act as a Contentful expert. I need to design a content model for [specific use case, e.g., recipe website, travel blog, internal knowledge base]. Provide a detailed schema including:
* Content type name
* Field names (with human-readable titles)
* Field types (e.g., Text, Number, Date, Media)
* Validations (e.g., required, unique, allowed values)
* Display hints (e.g., single-line, multi-line)
* Explanation of each field's purpose
Consider the content relationships and how different content types might be linked. Provide a JSON representation of the content model for easy import into Contentful. For example:
```json
{
"name": "Recipe",
"fields": [
{
"id": "title",
"name": "Title",
"type": "Text",
"required": true,
"localized": false
},
// ... more fields
]
}
```
* Content type name
* Field names (with human-readable titles)
* Field types (e.g., Text, Number, Date, Media)
* Validations (e.g., required, unique, allowed values)
* Display hints (e.g., single-line, multi-line)
* Explanation of each field's purpose
Consider the content relationships and how different content types might be linked. Provide a JSON representation of the content model for easy import into Contentful. For example:
```json
{
"name": "Recipe",
"fields": [
{
"id": "title",
"name": "Title",
"type": "Text",
"required": true,
"localized": false
},
// ... more fields
]
}
```