Repository navigation
Add application/recipe intent type (create, edit) - #49
Open
patrickbolle wants to merge 1 commit into
Open
patrickbolle wants to merge 1 commit into
patrickbolle wants to merge 1 commit into
Conversation
RFC: Shopify#38 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Author
|
I have signed the CLA. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
types/application-recipe.md: a newapplication/recipetype withcreateandedit, for app-owned recipes (ingredients and steps a food or drink brand publishes on its store, often with its own products linked to the ingredients).RFC: #38
Why
shopify/articleintent, andapplication/faqor a page type would flatten ingredients, steps and product links.Schema
application/quoteandapplication/optimization-plan: onlyid,additionalProperties: true. Draft included inline in the file.title,description,ingredients({text, product_id}),instructions,servings,prep_time,cook_time,image,category,cuisine,tags,source_url.product_idon an ingredient is what makes a recipe shoppable, so it is the first candidate to standardize.inputSchemaexample declares norequired, at any depth.Open questions from the RFC, answered in the file
The RFC asked about delete, app settings and bulk create. Following the precedent in
application/quote, the file treats delete, duplicate and publish as tools registered from the editor route withshopify.tools.register, and card or theme settings as out of scope for a recipe intent. Bulk create (for example a whole PDF cookbook) is still open: we would usecreate+bulkif it comes toapplication/*types.What we bring
Recipe Kit (on the App Store since 2020) will register
create(/recipe/create) andedit(/recipe/{id}) onadmin.app.intent.link. Our data extension already returns resource links withmimeType: "application/recipe"anduri: "gid://application/recipe/<id>", so search results become actionable as soon as the type ships.🤖 Generated with Claude Code