oberconcejo/VS-CODE / .agents/skills/app-store-screenshots
app-store-screenshots
FlaggedUse when building App Store or Google Play screenshot pages, generating exportable marketing screenshots for iOS, macOS, and/or Android apps, or scaffolding a screenshot editor with Next.js. Triggers on app store, mac app store, play store, screenshots, marketing assets, html-to-image, phone mockup, mac mockup, android screenshots, feature graphic.
template/src/components/editor/image-element-canvas.tsx
View on GitHub"use client";
import * as React from "react";
import { ImagePlus } from "lucide-react";
import { createImageMask } from "@/components/editor/create-image-mask";
import { img } from "@/lib/image-cache";
import type { ImageElement } from "@/lib/types";
type Props = {
element: ImageElement;
editable?: boolean;
};
// Image overlay content. Placement, rotation, and drag/resize handles come from
// the shared Movable wrapper in slide-canvas so overlays behave like text.
export function ImageElementCanvas({ element, editable }: Props) {
const source = img(element.src);
const maskImage = createImageMask(element.fade);
if (!source) {
// The empty placeholder is an editing affordance only; never export it.
if (!editable) return null;
return (
<div className="flex h-full w-full items-center justify-center border border-dashed border-current/40 bg-black/10 text-current/70">
<ImagePlus className="h-6 w-6" aria-hidden />
<span className="sr-only">Pick an image in the inspector</span>
</div>
);
}
return (
// eslint-disable-next-line @next/next/no-img-element
<img
src={source}
alt=""
draggable={false}
style={{
width: "100%",
height: "100%",
display: "block",
objectFit: element.fit || "cover",
maskImage,
WebkitMaskImage: maskImage,
}}
/>
);
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |