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/e2e-army/server.cjs
View on GitHub// Copy the complete product into a disposable directory: API writes/uploads
// resolve from cwd, and must never touch a user's project or generated assets.
const { cpSync, mkdtempSync, symlinkSync, rmSync } = require('node:fs');
const { tmpdir } = require('node:os');
const path = require('node:path');
const { spawn } = require('node:child_process');
const source = path.resolve(__dirname, '..');
const workspace = mkdtempSync(path.join(tmpdir(), 'screenshots-e2e-'));
cpSync(source, workspace, { recursive: true, filter: p => {
const first = path.relative(source, p).split(path.sep)[0];
return !['node_modules', '.next', '.e2e', '.git', 'tests', 'e2e-army'].includes(first);
}});
symlinkSync(path.join(source, 'node_modules'), path.join(workspace, 'node_modules'), 'dir');
const production = process.env.SCREENSHOTS_E2E_PRODUCTION === '1';
if (production) cpSync(path.join(source, '.next'), path.join(workspace, '.next'), { recursive: true });
console.log(`Disposable editor workspace: ${workspace}`);
const child = spawn(process.execPath, [path.join(source, 'node_modules/next/dist/bin/next'), production ? 'start' : 'dev', ...(production ? [] : ['--webpack']), '--hostname', '0.0.0.0', '--port', process.argv[2] || '4312'], { cwd: workspace, stdio: 'inherit', env: { ...process.env, NEXT_TELEMETRY_DISABLED: '1' } });
let stopping = false;
for (const signal of ['SIGINT', 'SIGTERM']) process.on(signal, () => { stopping = true; child.kill(signal); });
child.on('exit', (code, signal) => { rmSync(workspace, { recursive: true, force: true }); process.exit(stopping ? 0 : code ?? (signal ? 1 : 0)); });
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 |