.cursor/skills/local-deploy/SKILL.md
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.
npx skillsauth add davidcarma/MarkdownViewer-web-pro local-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.
Serve the app locally to verify changes before pushing to the public repo.
bash scripts/privacy-scan.sh
Do NOT proceed if this fails. Fix every violation first — any personal info (paths, emails, names) will be publicly visible.
bash check-deployment.sh
Confirms vendored libs (lib/), app files (js/, css/), and KaTeX fonts are all present.
# Python (zero-install)
python3 -m http.server 8080
# Or Node
npx serve -l 8080
Open: http://localhost:8080
$E=mc^2$ and $$\int_0^1 x\,dx$$.md file| Symptom | Fix |
|---------|-----|
| Port in use | python3 -m http.server 8081 |
| KaTeX fonts 404 | Check lib/fonts/ has 20 .woff2 files |
| Mermaid not rendering | Check lib/mermaid.min.js loads (Network tab) |
| file:// protocol issues | Always use HTTP server; file:// breaks clipboard/CORS |
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
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.
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.