一键导入
update-spot-bundle
Fill the sqld→year JSON→bundle gap and rebuild spot-history-bundle.js with current data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fill the sqld→year JSON→bundle gap and rebuild spot-history-bundle.js with current data.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when starting a new patch session and needing to pick a Plane issue to work on before claiming a version lock and creating a worktree.
Use when starting a new patch session and needing to pick a Plane issue to work on before claiming a version lock and creating a worktree.
Post-deploy verification for both Portainer (home) and Fly.io (cloud) environments. Runs environment-appropriate health checks, log inspection, env var verification, cron validation, and endpoint smoke tests. Covers the gap between "deploy succeeded" and "deploy actually works." Triggers on: "deploy verify", "post-deploy", "verify deploy", "smoke test deploy", "did the deploy work", "check the deploy", "/deploy-verify"
StakTrakr-specific Phase 1 version bump — edits 6 files, trims What's New, delegates sw.js to pre-commit hook.
API feeds, pollers, feed thresholds, data paths, StakTrakrApi structure, Fly.io and health badge issues.
Ship dev→main — PR, resolve threads, GitHub Release. Only on explicit user "ready to ship".
| name | update-spot-bundle |
| description | Fill the sqld→year JSON→bundle gap and rebuild spot-history-bundle.js with current data. |
Fills the gap between the committed year JSON files and today's sqld data, then rebuilds data/spot-history-bundle.js — the offline fallback for file:// protocol where the app can't reach the API.
Replaces: seed-sync (retired — was repackaging stale static JSON files, never fetched live data)
SQLD_URL must be set and Tailscale must be connected:
export SQLD_URL=http://192.168.1.81:8080
# SQLD_AUTH_TOKEN is optional — local sqld runs without auth
SQLD_URL=http://192.168.1.81:8080 python3 .Codex/skills/update-spot-bundle/update-spot-bundle.py
Run from the project root (script resolves paths relative to itself).
data/spot-history-{year}.json files to find the most recent datesource: "sqld")data/spot-history-bundle.js from all year JSON filesBoth the bundle (offline use) and the year JSON files (fetchYearFile() in HTTP mode) stay current.
After running, output should show:
Found N new day×metal entries from sqldCoverage: 1968 → <today>Then stage: git add data/spot-history-bundle.js data/spot-history-*.json