MCP HubMCP Hub
スキル一覧に戻る

create-an-edge-app

majiayu000
更新日 2 days ago
21 閲覧
58
9
58
GitHubで表示
メタgeneral

について

このスキルは、`edge-apps/` ディレクトリ内で新しいEdge Appsを作成するための推奨アプローチを提供します。開発前にFigma MCPサーバー経由でFigmaデザインを参照し、デザイントークンを抽出してUI準拠を確保することを重視しています。開発者は、`qr-code` や `menu-board` などの既存のEdge Appsで確立されたディレクトリ構造に従うべきです。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/majiayu000/claude-skill-registry
Git クローン代替
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/create-an-edge-app

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Creating an Edge App

When Creating an Edge App

  • Create a new directory for a new Edge App inside the edge-apps/ directory.
    • The directory name should follow the kebab-case naming convention.
  • Consult Figma designs before starting implementation.
    • Ensure the Figma MCP server is set up in Claude Code.
    • Use the Figma MCP server to access design specifications, mockups, and UI requirements.
    • Extract design tokens such as colors, spacing, typography, and component specifications from Figma.
    • Ensure the implementation matches the approved designs in Figma before proceeding with development.

Directory Structure

The new Edge App directory structure should closely resemble that of the following Edge Apps:

  • QR Code (edge-apps/qr-code/)
  • Menu Board (edge-apps/menu-board/)
  • Grafana (edge-apps/grafana/)
  • CAP Alerting (edge-apps/cap-alerting/)

These Edge Apps heavily rely on the Edge Apps library, which lives inside the edge-apps/edge-apps-library/ directory.

  • Most of the scripts inside the package.json of each of these apps execute the edge-apps-scripts command.
  • All of these apps depend on the @screenly/edge-apps library, which maps to workspace:../edge-apps-library.
  • edge-apps/[new-edge-app]/src/main.ts is a required file.
    • Running bun run build inside edge-apps/[new-edge-app] will run edge-apps-scripts build, which is very opinionated.

Refer to edge-apps/qr-code/ as a complete working template to understand the full directory structure and configuration.

  • While it still uses the @screenly/edge-apps library, it features a simpler implementation with a lower code footprint compared to the other aforementioned Edge Apps, making it an excellent starting point for new projects.
  • The library abstracts much of the complexity, allowing developers to focus on core functionality with minimal boilerplate.

About the Manifest Files

The new app should have the following manifest files:

  • screenly.yml
  • screenly_qc.yml

See edge-apps/qr-code/screenly.yml for a working example. More information about the manifest files can be found in the Edge Apps documentation in the Screenly/cli repository.

When creating the manifest files, ensure to:

  • Omit the id field, as it will be added later when the new app gets deployed.

About index.html

The index.html file should follow these best practices:

  • Organize HTML code into templates and Web Components as the app grows in complexity.
  • Use HTML content templates first for simpler structures.
  • Consider using Web Components for more complex UI components that require encapsulation and reusability.

About README.md

  • Include instructions on how to create, build, test, format, lint, and deploy the app.
  • Do not add details like the directory structure, as the code frequently changes.

GitHub リポジトリ

majiayu000/claude-skill-registry
パス: skills/create-an-edge-app

関連スキル

algorithmic-art

メタ

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

スキルを見る

subagent-driven-development

開発

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

スキルを見る

executing-plans

デザイン

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

スキルを見る

cost-optimization

その他

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

スキルを見る