一键导入
github-actions-docs
Use when writing, customizing, or troubleshooting GitHub Actions workflows for scraper scheduling, Docker builds, or CI/CD pipeline issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when writing, customizing, or troubleshooting GitHub Actions workflows for scraper scheduling, Docker builds, or CI/CD pipeline issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill when expanding the scraper network to new Florida counties. Contains the 67-county expansion roadmap, prioritization framework, site reconnaissance procedure, and lead analysis strategy. The goal is total Florida coverage for maximum bail bond lead generation.
Use this skill when creating a new county arrest scraper, modifying an existing solver, or adding a new county to the scraping pipeline. Contains the canonical architecture, naming conventions, and integration checklist.
Non-negotiable rules, safe refactoring patterns, shared code modification guidelines, secrets management, config hierarchy, and schema change process for the swfl-arrest-scrapers repo. Read this before modifying any core infrastructure.
Testing patterns, fixture guidelines, parser test templates, smoke tests, and red-green TDD methodology for the scraper pipeline. Use when writing tests for new counties, verifying core/ changes, or debugging test failures.
Google Sheets: Read and write spreadsheets via the Sheets API v4.
Systematically strengthen scraper pipelines against network failures, anti-bot measures, data edge cases, and real-world brittleness that breaks idealized scraper designs.
| name | github-actions-docs |
| description | Use when writing, customizing, or troubleshooting GitHub Actions workflows for scraper scheduling, Docker builds, or CI/CD pipeline issues. |
| source | xixu-me/skills (skills.sh |
Every county scraper runs on a GitHub Actions cron schedule. This skill covers writing, maintaining, and debugging these workflows.
We have a reusable workflow template at .github/workflows/scrape.yml that handles:
Each county has a dedicated workflow file:
name: Scrape {County} County
on:
schedule:
- cron: '0 */6 * * *' # Every 6 hours — STAGGER THESE
workflow_dispatch: # Manual trigger button
jobs:
scrape:
uses: ./.github/workflows/scrape.yml
with:
county: {county_name}
days_back: 7
stack: python # or nodejs
secrets: inherit
cp scrape_brevard.yml scrape_{county}.ymlname, county parameter, and cron scheduleneeds_xvfb: true if using DrissionPage/Playwrightworkflow_dispatch before relying on cron# Offset each county by 5 minutes within a 6-hour cycle
County A: '0 */6 * * *'
County B: '5 */6 * * *'
County C: '10 */6 * * *'
County D: '15 */6 * * *'
...
County L: '55 */6 * * *'
County M: '0 1,7,13,19 * * *' # Shift to different hour set
| Secret | Purpose |
|---|---|
GOOGLE_SERVICE_ACCOUNT_KEY | JSON key for Sheets API access |
GOOGLE_SHEETS_ID | Target spreadsheet ID |
SLACK_WEBHOOK_URL | Arrest notification webhook |
SLACK_WEBHOOK_ERRORS | Error alert webhook |
Fix: Add to workflow setup step:
- run: pip install DrissionPage
Fix: Use setup-chrome action or install via apt:
- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
Fix: Add virtual framebuffer:
- run: |
sudo apt-get install -y xvfb
Xvfb :99 -screen 0 1920x1080x24 &
export DISPLAY=:99
main re-activates cronsconcurrency:
group: scrape-${{ inputs.county }}
cancel-in-progress: true
Ground answers in official GitHub documentation at https://docs.github.com/en/actions: