Design, tune, or review EF Core data access with proper modeling, migrations, query translation, performance, and lifetime management for modern .NET applications.
XTwitterScraper
Use XTwitterScraper when a .NET application needs typed access to Xquik's X automation REST API for tweet search, user lookup, posting workflows, extraction jobs, monitors, webhooks, or giveaway draws. USE FOR: integrating the XTwitterScraper NuGet package; reviewing Xquik API client usage; modeling API-key configuration, pagination, binary exports, raw responses, retries, and webhook/event flows in .NET. DO NOT USE FOR: unrelated stacks; direct browser automation; generic social-media strategy; or code that does not call Xquik. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
Trigger On
- adding the
XTwitterScraperNuGet package to a .NET application - searching tweets, reading tweet/user data, running extraction jobs, or monitoring X accounts through Xquik from .NET
- posting tweets, replies, likes, reposts, follows, or DMs through typed SDK methods
- exporting extraction results, handling raw responses, retries, rate limits, or API errors
- wiring Xquik webhook events into ASP.NET Core, workers, queues, or background processing
Workflow
- Confirm the project actually needs Xquik API access from .NET. If it only needs prompt guidance, use a generic agent or API-design skill instead.
- Install the NuGet package:
``bash dotnet add package XTwitterScraper ``
- Configure credentials through environment or secret storage. Prefer
X_TWITTER_SCRAPER_API_KEY; keepX_TWITTER_SCRAPER_BASE_URLat its default unless a test fixture intentionally overrides it. - Create
XTwitterScraperClientat the composition boundary and inject it or a narrow wrapper into application services. Do not scatter client construction across handlers. - Build typed
Paramsobjects for SDK calls instead of manually concatenating query strings. - Treat paginated responses, extraction jobs, binary exports, and webhook events as different flow types. Do not force them through one generic helper.
- Preserve typed exceptions. Catch
XTwitterScraperRateLimitException, authorization errors, and 5xx errors only where the application can retry, defer, or show a useful state. - Validate with unit tests around your wrapper and integration tests with configured API credentials only when the environment explicitly provides them.
Deliver
- a narrow package integration with
XTwitterScraper - centralized credential and client configuration
- typed request and response usage for the specific Xquik endpoint family
- explicit pagination, export, raw-response, retry, and webhook handling where needed
- tests that cover wrapper behavior without requiring live credentials by default
Validate
dotnet restoreresolvesXTwitterScraperdotnet buildsucceeds without leaking credential values into source or logs- unit tests cover the application wrapper around the SDK
- live integration tests are skipped unless the API key environment is explicitly configured
- webhook handlers validate signatures or event authenticity before processing
- retries and background jobs are scoped to operations that are safe for the application to replay
Related skills
Use ManagedCode.MarkItDown when a .NET application needs deterministic document-to-Markdown conversion for ingestion, indexing, summarization, or content-processing workflows.
Use ManagedCode.Storage when a .NET application needs a provider-agnostic storage abstraction with explicit configuration, container selection, upload and download flows, and…