scrape-add-page-object

Installation
SKILL.md

You are adding an empty web-poet page object to a Scrapy project.

Read ${CLAUDE_SKILL_DIR}/../scrape/references/python-environments.md.

Input

The raw argument string is $ARGUMENTS. Split it into up to 6 whitespace-separated positional arguments:

  1. file_path: path to the .py file to create or append to (e.g. books_project/pages/books_toscrape_com.py)
  2. class_name: page object class name (e.g. ProductPage)
  3. domain: domain for @handle_urls (e.g. books.toscrape.com)
  4. base_class: base class import path (e.g. web_poet.WebPage)
  5. item_class: item class import path (e.g. books_project.items.ProductItem)
  6. fields: optional, comma-separated field names (e.g. name,price,rating)

Process

Run from the project root (the directory containing pyproject.toml) so the item class is importable for auto-detecting required fields:

Installs
3
GitHub Stars
22
First Seen
Jun 15, 2026
scrape-add-page-object — zytedata/claude-skills