Skip to main content

scrape-and-load

Run the Wookieepedia scraper, convert data, load into SQLite, and verify with migration and full tests.

소스 정보

저장소
SAP-samples/cloud-cap-hana-swapi
최근 소스 활동
2026년 4월 22일 21:44
감지된 SKILL.md 언어
영어
스타
89
포크
45

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
scrape-and-load
description
Run the Wookieepedia scraper, convert data, load into SQLite, and verify with migration and full tests.
disable-model-invocation
true
Run the full data pipeline **sequentially** from the `cap/` directory. ## Steps 1. **Scrape Star Wars data** ```bash cd cap && npm run scrape ``` Uses committed cache by default (fast). If the user requests `--bypass-cache`, ask for explicit confirmation first, then run `npm run scrape:bypass-cache` instead. 2. **Build CDS artifacts** ```bash cd cap && npm run build ``` 3. **Load fixture data into SQLite** ```bash cd cap && npm run load_sqlite ``` 4. **Run migration tests** ```bash cd cap && npm run test:migration ``` Verifies data conversion logic and report generation. 5. **Run full test suite** ```bash cd cap && npm test ``` ## Rules - **Stop on failure.** If any step fails, report the error and do not continue. - **Cache-first by default.** Never bypass the scraper cache without user confirmation — fresh fetches hit Wookieepedia and take significantly longer. - **Report results.** Summarize each step's outcome: scrape stats, build status, load counts, and test pass/fail/skip.
GitHub에서 보기