Install
$ agentstack add skill-aiengkenn-agent-skills-sanity-image-pipeline ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Sanity Image Pipeline
Images that are accessible, performant, and never blank the layout.
Ask first
- Next.js
next/imagein use? - Existing
urlForhelper? - Fallback local paths (
/images/placeholders/…)?
Schema rules
defineField({
name: "mainImage",
type: "image",
options: { hotspot: true },
fields: [
defineField({
name: "alt",
type: "string",
title: "Alt text",
validation: (rule) => rule.required(),
}),
],
})
Human titles in editorial language via sanity-editor-ux.
App rules
- urlFor from
@sanity/image-urlwith projectId/dataset - Prefer width/height or
fill+ aspect ratio - Pass
lqipfromasset->metadata.lqipas blurDataURL when available - If CMS image missing → local placeholder, don’t crash
- Alt: CMS alt → else meaningful fallback → never empty decorative guess without reason
GROQ snippet
mainImage{
asset->{ _id, url, metadata { lqip, dimensions } },
alt,
hotspot,
crop
}
Anti-patterns
- Rendering raw Sanity CDN URLs at full resolution everywhere
- Optional alt with no validation on content images
- No fallback → broken `` on partial bootstrap
Deliverable
Schema field pattern · urlFor helper · React image component behavior · placeholder strategy.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: AIEngKenn
- Source: AIEngKenn/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.