Skip to content

docs: recommend the create-scaffold generator for new Edge Apps - #884

Merged
nicomiguelino merged 4 commits into
masterfrom
docs/recommend-scaffold-generator
Jul 20, 2026
Merged

docs: recommend the create-scaffold generator for new Edge Apps#884
nicomiguelino merged 4 commits into
masterfrom
docs/recommend-scaffold-generator

Conversation

@nicomiguelino

Copy link
Copy Markdown
Contributor

Summary

  • Recommend scaffolding new Edge Apps first with bunx @screenly/edge-apps create <app-name> (added in @screenly/edge-apps 1.2.0) instead of starting from a reference app.
  • Still point to the Reference Apps section for anything past the generator's basic output — integrations/auth, Sentry, screenly_qc.yml, complex UI — since the generator only produces a minimal app.
  • Update the id-registration step to match the generator's actual behavior (no blank id placeholder, no screenly_qc.yml by default).

- scaffold new Edge Apps first with 'bunx @screenly/edge-apps create'
  instead of starting from a reference app
- keep consulting reference apps for anything past the generator's
  basic output (integrations, Sentry, screenly_qc.yml, complex UI)
- update the id-registration step to match the generator's actual
  behavior (no blank id field, no screenly_qc.yml by default)
@nicomiguelino nicomiguelino self-assigned this Jul 19, 2026
@github-actions

Copy link
Copy Markdown

Failed to generate code suggestions for PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the internal “create an Edge App” skill doc to recommend starting new Screenly Edge Apps from the @screenly/edge-apps scaffold generator, and clarifies what the scaffold does (and doesn’t) produce so maintainers know when to consult reference apps.

Changes:

  • Recommend scaffolding with bunx @screenly/edge-apps create <app-name> instead of copying a reference app.
  • Clarify generator limitations (e.g., no screenly_qc.yml by default) and direct readers to reference apps for more complex setups.
  • Update the app registration step to match the generator workflow (populate a real id via CLI).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .claude/skills/create-an-edge-app/SKILL.md Outdated
Comment thread .claude/skills/create-an-edge-app/SKILL.md Outdated
- use >=1.2.0 instead of the semantically inconsistent ^1.2.0 or later
- drop the manual 'screenly edge-app create --in-place' registration
  step; standalone Edge App repos register/initialize apps via their
  own GitHub Actions workflow, not a manual command right after
  scaffolding

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@nicomiguelino
nicomiguelino marked this pull request as ready for review July 19, 2026 19:33
@github-actions

Copy link
Copy Markdown

Failed to generate code suggestions for PR

Standalone Edge App repos add the edge-apps-claude-config repo as a
.claude submodule for Claude AI configuration; mention it right after
the scaffold generator step.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

.claude/skills/create-an-edge-app/SKILL.md:15

  • The placeholder <app-name> is a bit ambiguous (could be read as a human display name). Since the generator argument is meant to be a kebab-case slug/directory name, calling it out explicitly avoids repeating past confusion around “name” vs “slug”.
- It's recommended to scaffold the new Edge App first with the `@screenly/edge-apps` create-scaffold generator, following the `kebab-case` naming convention for the app name:
  ```bash
  bunx @screenly/edge-apps create <app-name>

This produces a minimal, working app — manifest, index.html, src/main.ts, and the standard dev/build/lint/test/deploy scripts — already wired up to the library's conventions. Requires @screenly/edge-apps >=1.2.0.

</details>


Comment thread .claude/skills/create-an-edge-app/SKILL.md Outdated
- clarify the edge-apps-claude-config submodule step only applies to
  standalone Edge App repos, since this monorepo already has its own
  .claude/
- mention git submodule update --init for teammates cloning afterward

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@nicomiguelino
nicomiguelino merged commit bf6013e into master Jul 20, 2026
1 check passed
@nicomiguelino
nicomiguelino deleted the docs/recommend-scaffold-generator branch July 20, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants