Website for the Semantic Line Breaks specification.
The build fetches the specification from
sembr/specification's README
and skill files from
sembr/skills.
Both sources use the main branch;
set SEMBR_SKILLS_REF to build with skills from another branch.
The website serves each skill through
/.well-known/agent-skills/
as a .tar.gz archive with all of its files,
and serves each file on its own for older clients.
Edit the specification and installation quick start in sembr/specification.
The full installation and management guide
belongs in sembr/skills.
Changes to the specification README trigger its deployment workflow,
which builds and deploys this website.
Cloudflare Workers Builds also builds and deploys this repository,
and runs builds for pull requests.
Changes to skill documents also need a website rebuild;
after merging them, run the specification repository's
Deploy workflow
manually or use the deployment commands below.
When adding a skill or a file to a skill,
update the skill list in src/content.config.ts.
- Node.js
>=22.12.0 - npm
npm installnpm run devStarts the local Astro dev server at http://localhost:4321.
npm run build
npm run previewnpm run build writes the production site to dist/.
npm run preview serves that build locally.
npm run preview:worker
npm run deploynpm run preview:worker builds the site and serves it locally with Wrangler.
npm run deploy builds the site and deploys it to Cloudflare Workers.