Cloudinary Media Upload
Move image and video handling to Cloudinary without giving up control of who owns what.
What it adds
Signed, constrained uploads to a media provider with app-owned asset records, permissions, and processing states.
What your agent is told to do
5
What your agent is told to do
5-
1
Let the browser upload directly to the provider, but have the server issue short-lived signed upload parameters for each request. The account secret stays on the server and never appears in client code or a build artifact.
-
2
Constrain every upload before signing it: allowed file types, maximum size, destination folder, and the specific transformations permitted. The signature is where those limits are enforced.
-
3
Record the provider's asset identifier and version alongside the app's own record, and treat that identifier as the key for replacement and deletion. A stored delivery URL is not enough to delete anything.
-
4
Have the provider notify the app when processing finishes, and reconcile with a scheduled check for anything a notification missed. Notifications are retried, arrive out of order, and are sometimes duplicated, so handling must be idempotent.
-
5
Ownership, permissions, and who may view a given asset stay the app's decision. Do not treat an unguessable provider URL as access control — it is a link anyone can forward.
Edge cases it handles
8
Edge cases it handles
8- An unsigned upload preset lets anyone reading the page source push arbitrary files into the account. Sign server-side and scope each signature to a single upload.
- Without restrictions a user can request an enormous derivative — a video transcode, a long resize chain — and generate real cost. Allow only the transformations the app actually uses and reject the rest.
- Video and large images finish uploading long before they finish processing. Show the asset as pending, and never let a record referencing an unready derivative render as a broken image.
- A derivative can fail permanently, and moderation can reject an asset that was already accepted. Both need a visible state and a path forward rather than a silently missing file.
- Deleting the app's record must also delete the remote asset, and a failure to reach the provider should leave a pending deletion to retry instead of orphaning the file forever.
- Replacing an asset leaves the previous version cached at the edge. Include the version in the delivered URL so a replacement is visible immediately.
- The account has a quota and a rate limit. When either is reached, fail the upload with a clear message and preserve the user's file locally where the app can, rather than losing their work.
- When the provider is unreachable, disable uploading with an explanation while existing assets continue to render from their cached URLs.
Definition of done
9
Definition of done
9- Uploads are signed server-side and no account secret is reachable from the browser.
- File type, size, folder, and permitted transformations are enforced by the signature.
- Every asset stores the provider identifier and version, and deletion uses that identifier.
- Processing notifications are handled idempotently and backed by a scheduled reconciliation.
- Pending, failed, and moderation-rejected assets each have a visible state.
- Access to an asset is decided by the app rather than by URL obscurity.
- Quota and rate-limit failures produce a clear message instead of a broken image.
- The feature matches the existing design system.
- No existing functionality is broken.
Related features
Mapbox Geocoding
Mapbox Geocoding
Convert typed locations into coordinates and structured addresses the app can use.
What it does
Forward and reverse geocoding with confirmed matches, controlled result bias, and coordinate precision rules.
How it works
- 1 Separate the two directions explicitly: text to coordinates for entry and search, coordinates to address for a dropped pin or a device location. They take different inputs, carry different confidence, and fail differently.
- 2 Present ambiguous matches as a list the user confirms. Silently taking the first result is how a record ends up in the wrong country with nobody noticing for months.
- 3 Bias results toward a location only when the app genuinely knows one, such as a workspace address or the map viewport the user is already looking at.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/mapbox-geocoding
Contentful Entry Sync
Contentful Entry Sync
Create and update Contentful entries against the connected space, environment, and locale.
What it does
A sync that writes app records into Contentful entries using the connected space's content model and locale configuration.
How it works
- 1 Have the operator select the space, the environment, and the default locale during connection, and store all three, because writing production content into a sandbox environment is an easy and expensive mistake.
- 2 Fetch the content model at connection time and again before each sync run, map app fields to entry fields by their stable identifiers, and validate the value type against the model before attempting the write.
- 3 Write every localized field under an explicit locale rather than relying on whatever the space treats as default, and state clearly which locales the app owns and which it leaves to editors.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/contentful-entry-sync
Algolia Index Sync
Algolia Index Sync
Keep the search index matching the database, including who is allowed to see what.
What it does
A sync pipeline that mirrors records into a search index with tenant-scoped filters and scheduled reconciliation.
How it works
- 1 Identify every record type that should be searchable and define one index document per record, keyed by an identifier that never changes for the life of that record.
- 2 Push changes through the app's existing background-job system on create, update, and delete, and make every write idempotent so a replayed job produces the same document rather than a duplicate.
- 3 Put tenant, workspace, and visibility values on each document as filter attributes, and have the server issue short-lived scoped search credentials that pin those filters. The browser must never choose its own filter.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/algolia-index-sync
How it works
-
1
Copy the link
Grab the Markdown instruction URL for this feature.
-
2
Give it to your AI
Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.
-
3
It inspects, then implements
Your agent reads your existing app first, then adds the feature to fit it.
Works with your stack
These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.
Need it tighter than that? Customize the feature and tell it exactly what you're running.