.cursor/skills/remote-deploy/SKILL.md
Deploy MarkdownViewer-web-pro to production on GitHub Pages (markdownpro.eyesondash.com). Use when the user says /remotedeploy, asks to deploy, push to production, or publish changes.
npx skillsauth add davidcarma/MarkdownViewer-web-pro remote-deployInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Deploy to https://markdownpro.eyesondash.com via GitHub Pages.
This is a PUBLIC repository. Every commit is visible to everyone. The privacy scan is non-negotiable.
bash scripts/privacy-scan.sh
This scans:
/Users/...), personal emails, namesIf it fails, stop. Fix every violation before proceeding. Use git-filter-repo with a mailmap if commit metadata is dirty.
bash check-deployment.sh
All items must show green.
bash scripts/install-git-hooks.sh
Installs the local pre-push hook from githooks/pre-push.
The hook automatically:
build-info.js for that hashBuild: update deployed hash <first-commit-hash>This keeps the UI showing the first pushed commit, not the follow-up stamp commit.
git add -A
git commit -m "Deploy: <brief summary of changes>"
git push origin main
Important:
bash build.sh manually right before push unless you explicitly want an extra manual build-info commit.git push, otherwise the pre-push hook will stop the push to avoid mixing unrelated files into the auto-generated stamp commit.git push to create one extra local commit automatically when build-info.js needs updating.GitHub Pages auto-deploys from main branch root.
Wait 1–3 minutes, then:
for f in index.html lib/mermaid.min.js js/core.js css/editor.css lib/katex.min.css; do
echo -n "$f → "
curl -s -o /dev/null -w "%{http_code}" "https://markdownpro.eyesondash.com/$f"
echo
done
Open https://markdownpro.eyesondash.com and hard-refresh (Cmd+Shift+R).
| Setting | Value |
|---------|-------|
| Hosting | GitHub Pages |
| Repo | github.com/davidcarma/MarkdownViewer-web-pro |
| Branch | main |
| Root | / (project root) |
| Domain | markdownpro.eyesondash.com (CNAME file) |
| SSL | Enforced by GitHub Pages |
| Build | Static — pre-push hook stamps build-info.js using build.sh |
git log --oneline -10 # find last known-good commit
git revert HEAD # revert broken commit
git push origin main
| Symptom | Fix |
|---------|-----|
| Site not updating | Wait 3 min, hard-refresh. Check Actions tab for build status. |
| Build hash looks stale | Confirm scripts/install-git-hooks.sh was run and that the pre-push hook created the extra Build: update deployed hash ... commit. |
| 404 on files | git ls-files <path> to verify tracked. Check case sensitivity. |
| Custom domain gone | Ensure CNAME contains markdownpro.eyesondash.com and is committed. |
| Mixed content | No http:// refs allowed — all assets are vendored locally. |
| Privacy scan fails | Fix all violations. For commit metadata: git-filter-repo --mailmap. |
tools
Oracle-first development workflow for the Rulecoder MCP server. Use when the AI-prolog-rulecoder MCP is registered, when working with .rulecoder/ fact files, when the user mentions state machines, invariants, sm_ tools, or architectural modeling. Enforces privacy guardrails, tool usage order, and regression detection.
development
Serve MarkdownViewer-web-pro locally for testing. Use when the user says /localdeploy, asks to test locally, run a local server, or preview before pushing.
tools
Use the GCP MCP server to call any Google Cloud REST API (Resource Manager, Vertex AI, Compute, Storage, IAM, etc.) via convenience tools or the generic gcp_request. Use when the user asks about Google Cloud Console, GCP projects, Vertex AI, or wants to inspect or change GCP resources without opening the browser.
devops
Generic GitHub Pages deployment workflow. Use when the user says /deploy, asks to deploy, push to production, or publish changes.