wellwelwel/lagune / .claude/skills/simulate
simulate
FlaggedHow to simulate a Lagune command end to end so the user sees both the process and the results in chat. Use when the user asks to simulate, demo, preview, run, or see in action any lagune command. Read this before attempting any such simulation.
fixtures/image-upload-service/src/lib/fetch-remote.js
View on GitHubconst ALLOWED_HOSTS = new Set([
'images.pixvault.example',
'cdn.pixvault.example',
]);
export const fetchRemote = async (rawUrl) => {
const url = new URL(rawUrl);
if (url.protocol !== 'https:') {
throw new Error('Only https is allowed');
}
if (!ALLOWED_HOSTS.has(url.hostname)) {
throw new Error('Host not allowed');
}
const response = await fetch(url, { redirect: 'error' });
return Buffer.from(await response.arrayBuffer());
};
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: 198k | 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 |