scrape-ensure-project
Installation
SKILL.md
You are ensuring a Scrapy project exists and is properly configured for web-poet page objects and Zyte API.
Read ${CLAUDE_SKILL_DIR}/../scrape/references/python-environments.md.
Input
The raw argument string is $ARGUMENTS. Split it into 2 whitespace-separated positional arguments:
- project_dir: project directory (e.g.
./books-project) - project_name: Python package name (e.g.
books_project)
Process
1. Check if project already exists
If {project_dir}/pyproject.toml exists, this is an existing project. Go to step 3.
Otherwise, create the project from scratch (step 2).