一键导入
validate-changes
A workflow to verify that code changes (refactoring, new features) didn't break the scraper or the build.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
A workflow to verify that code changes (refactoring, new features) didn't break the scraper or the build.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
How to expose a CSFD scraper function as a tool for AI agents via the Model Context Protocol server.
A complete guide to adding a new data field to the CSFD scraper (e.g., extracting "budget" or "studio" from a movie page).
基于 SOC 职业分类
| name | Validate Changes |
| description | A workflow to verify that code changes (refactoring, new features) didn't break the scraper or the build. |
Since this project relies on scraping a 3rd party website (CSFD.cz), validation is crucial to ensure their DOM hasn't changed or our logic isn't broken.
Ensure that TypeScript compiles and the dual-build system works.
# Checks types and builds both 'server' and 'mcp-server' related outputs
yarn build
Run the test suite. Note that some tests might hit the real CSFD website.
yarn test
The demo.ts file is a scratchpad for testing the actual scraper against current CSFD pages.
# Run the demo script
npm run demo
If the demo fails:
User-Agent headers in src/fetchers/fetcher.ts.If you modified mcp-server/, verify it builds and starts.
# Build specific to MCP
yarn build:mcp
# Try to run it (it handles stdio, so it will just wait for input, but shouldn't crash immediately)
node dist/bin/mcp-server.js