Skills for building AEM Edge Delivery Services sites — site creation, block development, content modeling, code review, testing, and page import.
91%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Open and verify imported content in local development server.
Use this skill when:
Invoked by: page-import skill (Step 5)
From previous skills, you need:
Determine the folder from paths.htmlFilePath in metadata.json:
htmlFilePath (e.g., us for us/en/about.plain.html)htmlFilePath has no folder (e.g., index.plain.html, about.plain.html), serve the project root insteadCommand:
aem up --html-folder {top-level folder}
# root-level files:
aem up --html-folder . --html-mount /Examples based on imported content location:
| HTML File Location | Command | Preview URL |
|---|---|---|
us/en.plain.html | aem up --html-folder us | http://localhost:3000/us/en |
products/widget.plain.html | aem up --html-folder products | http://localhost:3000/products/widget |
blog/2024/post.plain.html | aem up --html-folder blog | http://localhost:3000/blog/2024/post |
index.plain.html | aem up --html-folder . --html-mount / | http://localhost:3000/ |
Why this is required:
--html-folder, AEM CLI proxies requests to the remote serverPreview URL: http://localhost:3000 + paths.documentPath from metadata.json, with a trailing index removed:
us/en/about.plain.html → http://localhost:3000/us/en/about
index.plain.html → http://localhost:3000/
us/index.plain.html → http://localhost:3000/us/Check the following:
<meta> tags)Side-by-side comparison:
./import-work/screenshot.png alongside browser previewBlocks don't render correctly:
Images not loading:
./images/... format./import-work/images/Raw HTML visible:
blocks/ directoryMetadata not in page source:
<meta> tags in <head>Dev server not running:
aem upPage not found (404):
--html-folder flag - restart server with aem up --html-folder {top-level folder}/ not /indexThis skill provides:
Import complete when all verification points pass.
.tessl-plugin
skills
aem-block-library
aem-cli
aem-layout-view
block-collection-and-party
brand-setup
references
building-blocks
code-review
content-driven-development
references
content-modeling
create-site
da-auth
figma-to-content
find-test-content
generate-import-html
identify-page-structure
migrate-header
page-decomposition
page-import
preview-import
scrape-webpage
slicc-handoff
snowflake
assets
substrate
substrate-milo
examples
knowledge
scripts
testing-blocks
ue-component-model