Skip to content

Add /preview slash command - #632

Open
echen-adobe wants to merge 1 commit into
stagefrom
preview-skill
Open

Add /preview slash command#632
echen-adobe wants to merge 1 commit into
stagefrom
preview-skill

Conversation

@echen-adobe

Copy link
Copy Markdown
Contributor

Summary

  • Adds a /preview command that takes a URL (or the frontmost Chrome tab if none given), extracts its path, and reopens it on the current branch's Edge Delivery Services preview origin (https://<branch>--<repo>--<org>.aem.page<path>).

Test plan

  • Run /preview <url> and confirm the branch-prefixed preview URL opens correctly.
  • Run /preview with no args and confirm it falls back to the active Chrome tab.

@aem-code-sync

aem-code-sync Bot commented Jul 17, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@github-actions github-actions Bot added the Ready for Review Ready for peer review. label Jul 17, 2026

@meganthecoder meganthecoder 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.

How are you using this? On its own or do you have other skills that run this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Review Ready for peer review. Zero Impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants