web-artifacts-builder-file-naming
À propos
Cette compétence fournit des modèles de nommage de fichiers et des fonctionnalités d'exportation de données pour les artefacts web. Elle inclut des conventions pour les fichiers versionnés et datés, ainsi que des utilitaires JavaScript pour intégrer des données et créer des exports téléchargeables. Utilisez-la lors de la construction d'outils web nécessitant un nommage structuré des fichiers et des capacités d'exportation de données côté client.
Installation rapide
Claude Code
Recommandénpx skills add vamseeachanta/workspace-hub/plugin add https://github.com/vamseeachanta/workspace-hubgit clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/web-artifacts-builder-file-namingCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
File Naming (+2)
File Naming
project-name_v1.0.html
dashboard_2024-01-15.html
calculator-tool.html
Embedding Data
// Embed JSON data directly
const DATA = {
items: [...],
config: {...}
};
// Or base64 encode binary data
const imageData = 'data:image/png;base64,iVBORw0KGgo...';
Export Functionality
function downloadData() {
const data = JSON.stringify(state, null, 2);
const blob = new Blob([data], { type: 'application/json' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'export.json';
a.click();
URL.revokeObjectURL(url);
}
Dépôt GitHub
Compétences associées
content-collections
MétaThis skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
polymarket
MétaThis skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.
creating-opencode-plugins
MétaThis skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.
cloudflare-turnstile
MétaThis skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.
