Automated summary
Automates building, previewing, and deploying the VisaJobs.xyz Eleventy site to GitHub Pages.
Strengths
- Gives the exact command sequence for the dev server, Eleventy build, Tailwind compilation, and Pagefind indexing in the right order
- Documents the project layout and key config files (.eleventy.js, site.json, the jobs.json to db.json copy step)
- Ships a troubleshooting table for common failures: missing styles, broken search, stale db.json, token prompts on push
- Explains the push-to-main auto-deploy flow and how to switch the git remote to SSH
Limitations
- Tightly coupled to the relocate-with-us.github.io repository: paths, analytics/AdSense IDs, and the domain are hardcoded
- No coverage of testing, linting, or content validation before deployment
- Assumes git access and GitHub Pages are already configured for the user
Use it when you need to rebuild, preview locally, or publish a change to the VisaJobs.xyz site.
Avoid it for a different Eleventy project or for tasks unrelated to building and deploying this specific site.
Security analysis
SafeThe skill provides standard build, preview, and deployment instructions for an Eleventy site using npm, npx, and git push. No destructive commands, data exfiltration, obfuscation, or unsafe network actions are present. The only network operations are npm install and git push to a specified repository, which are expected for a deploy skill.
No concerns found
How this analysis is madeExamples
Start the Eleventy dev server for visajobs.xyz so I can preview my changes locally.The site looks unstyled after my last change — rebuild Tailwind and Eleventy, then re-run Pagefind.Commit all my changes and push to main so the VisaJobs.xyz site redeploys on GitHub Pages.name: site-deploy description: Build, preview, and deploy the VisaJobs.xyz Eleventy site. Use when the user asks to build, deploy, push, preview the site, run the dev server, or fix build errors.
Build & Deploy VisaJobs.xyz
Tech Stack
- Generator: Eleventy 3.x (config:
.eleventy.js) - Styling: Tailwind CSS 3.4 (config:
tailwind.config.js) - Templates: Nunjucks (
.njk) insrc/ - Search: Pagefind (post-build indexing)
- Hosting: GitHub Pages (repo:
relocate-with-us/relocate-with-us.github.io) - Domain: visajobs.xyz (CNAME file)
Project Structure
src/
├── _data/ # Global data (jobs.json, companies.json, site.json)
├── _includes/
│ ├── layouts/ # base.njk
│ └── partials/ # header, footer, newsletter
├── assets/
│ ├── css/input.css
│ └── js/main.js
├── index.njk # Home page
├── visa-sponsored-jobs/ # Main job listing
├── relocation-jobs/ # Relocation-focused listing
├── blog/ # Markdown blog posts
├── resources/ # Country guides, tips
└── tools/ # Visa checker, salary calc, etc.
media/ # Company logos (passthrough copied)
favicon/ # Favicons
Commands
Install dependencies
npm install
Development server
npx @11ty/eleventy --serve
Production build
npx @11ty/eleventy
Build output: _site/
Build Tailwind CSS
npx tailwindcss -i src/assets/css/input.css -o _site/assets/css/styles.css
Run Pagefind indexing (after build)
npx pagefind --site _site
Deploy (GitHub Pages)
The site auto-deploys on push to main via GitHub Pages.
git add -A
git commit -m "description of changes"
git push origin main
Remote URL
Currently HTTPS. To switch to SSH (avoids token prompts):
git remote set-url origin git@github.com:relocate-with-us/relocate-with-us.github.io.git
Key Config Notes
.eleventy.jscopiessrc/_data/jobs.jsonto_site/db.jsonafter build (legacy compatibility)src/_data/site.jsonholds site metadata, social links, analytics IDs- Google Analytics:
G-E6NMFQFHMZ - AdSense:
ca-pub-7578309605540082 - Grow.me/Mediavine Journey script is in
base.njk<head>
Common Issues
| Issue | Fix | |-------|-----| | Styles missing | Run Tailwind build before/alongside Eleventy | | Search broken | Run Pagefind after Eleventy build | | db.json stale | Rebuild — it's auto-copied from jobs.json | | Push needs token | Switch remote to SSH (see above) |
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/build-and-deploy-visajobs-xyz-ms1aw6ct/download' --output '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md.part' && mv '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md.part' '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md' && test -s '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/site-deploy' && cp -R '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct' '.claude/skills/site-deploy'Cursor
test -f '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md' && test -s '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/site-deploy' && cp -R '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct' '.cursor/skills/site-deploy'Codex
test -f '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md' && test -s '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/site-deploy' && cp -R '.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct' '.agents/skills/site-deploy'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct'openskills read 'build-and-deploy-visajobs-xyz-ms1aw6ct'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/build-and-deploy-visajobs-xyz-ms1aw6ct/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.