一键导入
patch-update
Use when user wants to Full new-game-patch pipeline - fetch Metaforge data, regenerate default rules, run verify, report items with no rule coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when user wants to Full new-game-patch pipeline - fetch Metaforge data, regenerate default rules, run verify, report items with no rule coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when user wants to Run the Arc Raiders AutoScrapper validation stack after edits. Use for linting, typing, tests, workflow checks, and broader repo validation.
Use when user wants to Update Metaforge snapshots and bundled default rules
Use when user wants to Validate OCR changes against failure corpus before shipping
Add a new OCR regression fixture from an ocr_debug image. Use when a scan misidentified an item and you want to lock in the correct result as a test case.
Use when user wants to Run full validation, push branch, and open a PR with appropriate context notes
Workflow for safely adding, removing, or renaming persisted config fields in config.py. Use whenever editing dataclass fields in src/autoscrapper/config.py. Covers incrementing CONFIG_VERSION, writing a migration function, and validating the round-trip.
| name | patch-update |
| description | Use when user wants to Full new-game-patch pipeline - fetch Metaforge data, regenerate default rules, run verify, report items with no rule coverage. |
Run after a game patch or when Metaforge data is known to have changed.
uv run python scripts/update_snapshot_and_defaults.py --dry-run
Review the diff. If only timestamps changed (no item/quest/rule deltas), stop - nothing to do.
uv run python scripts/update_snapshot_and_defaults.py
Protected files updated automatically:
src/autoscrapper/progress/data/quests_by_trader.jsonsrc/autoscrapper/items/items_rules.default.jsonDo not hand-edit these files.
After regeneration, identify items present in the new snapshot that have no custom rule:
uv run python - <<'EOF' import orjson from pathlib import Path
items = orjson.loads(Path("src/autoscrapper/progress/data/items.json").read_bytes()) rules = orjson.loads(Path("src/autoscrapper/items/items_rules.default.json").read_bytes())
rule_names = {r["item_name"] for r in rules.get("rules", [])} no_rule = [i["name"] for i in items if i.get("name") and i["name"] not in rule_names]
if no_rule: print(f"{len(no_rule)} items with no rule:") for n in sorted(no_rule): print(f" {n}") else: print("All items have rule coverage.") EOF
For each gap item, use /add-rule to assign a KEEP/SELL/RECYCLE action.
uv run ruff check src/ tests/ uv run basedpyright src/ uv run pytest
All three must pass before committing. Then use /ci-promote to push.