一键导入
newsletter-events-setup
Set up environment for local newsletter events plugin. Use when first installing, updating dependencies, or verifying configuration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up environment for local newsletter events plugin. Use when first installing, updating dependencies, or verifying configuration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Research events from Instagram, web aggregators, and Facebook event URLs. Use when scraping event sources, downloading flyer images, or extracting event details.
Add Instagram accounts or web aggregators to sources.yaml configuration
Generate markdown newsletters from stored events. Use when the user wants to create, write, or generate a newsletter from scraped events.
Manually refresh specific event pages to update event data
List all configured event sources (Instagram, web aggregators)
Remove Instagram accounts or web aggregators from sources.yaml configuration
| name | newsletter-events-setup |
| description | Set up environment for local newsletter events plugin. Use when first installing, updating dependencies, or verifying configuration. |
<essential_principles>
This plugin requires two runtimes:
Python 3.12+ with uv for:
Node.js 18+ with bun for:
The facebook-event-scraper library is JavaScript-only with no Python equivalent. Rather than reimplement it, we use a subprocess bridge with strict JSON contracts.
Both ensure reproducible environments via lockfiles (uv.lock, bun.lockb).
</essential_principles>
Wait for response before proceeding.
| Response | Workflow | |----------|----------| | 1, "setup", "install", "fresh" | `workflows/setup-environment.md` | | 2, "check", "verify", "status" | Run verification checks inline | | 3, "update", "upgrade" | Run `uv sync --upgrade` and `bun update` | | 4, "troubleshoot", "debug", "help" | Diagnose common issues |<success_criteria> Environment is ready when:
uv --version returns 0.4.0+bun --version returns 1.0.0+uv run python -c "import rapidfuzz" succeedsbun run scripts/scrape_facebook.js --help succeeds.env file exists with SCRAPECREATORS_API_KEY setconfig/sources.yaml exists and validates
</success_criteria>