Skip to content

docs: add test-sdk Claude skill with main-branch guard#90

Merged
VinciGit00 merged 1 commit intomainfrom
docs/add-test-sdk-skill
Apr 22, 2026
Merged

docs: add test-sdk Claude skill with main-branch guard#90
VinciGit00 merged 1 commit intomainfrom
docs/add-test-sdk-skill

Conversation

@VinciGit00
Copy link
Copy Markdown
Member

@VinciGit00 VinciGit00 commented Apr 22, 2026

Summary

  • Adds .claude/skills/test-sdk/SKILL.md, a project-level Claude Code skill that runs a live end-to-end smoke test of the v2 SDK.
  • Covers every endpoint exposed by ScrapeGraphAI / AsyncScrapeGraphAI: Scrape, Extract, Search, Crawl, Monitor, Credits (plus health as a sanity check, and full crawl / monitor lifecycle sub-methods).
  • Hard rule at the top: the skill forbids direct pushes to main. Any fix found during testing must be made on a feature branch and submitted via PR.
  • API key is never committed — the skill prompts the user for it at runtime and passes it through SGAI_API_KEY / the client constructor only.

Test plan

  • Run /test-sdk in Claude Code on this repo and confirm it asks for an API key, refuses to push to main, and exercises every endpoint on both sync and async clients.
  • Verify credits are reported before/after the run.
  • Verify the throwaway smoke script is deleted (not committed) after the run.

🤖 Generated with Claude Code

Adds a project-level Claude Code skill that runs an end-to-end smoke
test of the v2 SDK surface (Scrape, Extract, Search, Crawl, Monitor,
Credits) on both ScrapeGraphAI and AsyncScrapeGraphAI, using a
user-provided API key passed in at runtime. The skill hard-codes a
rule forbidding direct pushes to main — any fixes discovered during
testing must go via a feature branch and PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@VinciGit00 VinciGit00 merged commit 7ae986d into main Apr 22, 2026
6 checks passed
@VinciGit00 VinciGit00 deleted the docs/add-test-sdk-skill branch April 22, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant