aspnet-core
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on…
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
$ npx -y skills add managedcode/dotnet-skills --skill xtwitter-scraper --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/xtwitter-scraperContext preview
The summary Claude sees to decide when to auto-load this skill.
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
name: xtwitter-scraper description: "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." compatibility: "Requires a .NET Standard 2.0+ application or library that integrates the XTwitterScraper NuGet package or evaluates Xquik API access from .NET."
1. 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. 2. Install the NuGet package:
dotnet add package XTwitterScraper
3. Configure credentials through environment or secret storage. Prefer `X_TWITTER_SCRAPER_API_KEY`; keep `X_TWITTER_SCRAPER_BASE_URL` at its default unless a test fixture intentionally overrides it. 4. Create `XTwitterScraperClient` at the composition boundary and inject it or a narrow wrapper into application services. Do not scatter client construction across handlers. 5. Build typed `Params` objects for SDK calls instead of manually concatenating query strings. 6. Treat paginated responses, extraction jobs, binary exports, and webhook events as different flow types. Do not force them through one generic helper. 7. Preserve typed exceptions. Catch `XTwitterScraperRateLimitException`, authorization errors, and 5xx errors only where the application can retry, defer, or show a useful state. 8. Validate with unit tests around your wrapper and integration tests with configured API credentials only when the environment explicitly provides them.
flowchart LR A["ASP.NET Core or worker service"] --> B["Application wrapper"] B --> C["XTwitterScraperClient"] C --> D["Xquik REST API"] D --> E["Typed response models"] D --> F["Webhook events"] D --> G["Binary exports"]
| If you need | Default approach | Why | |---|---|---| | Tweet search or user lookup | Use typed SDK methods and `Params` classes | Keeps request shape explicit | | Application-wide client usage | Register one wrapper around `XTwitterScraperClient` | Keeps auth and options centralized | | One-off option override | Use `WithOptions` | Avoids mutating shared client state | | Headers or status inspection | Use `WithRawResponse` | Keeps normal typed flow clean | | Extraction result download | Treat response as a stream | Avoids accidental JSON assumptions | | Webhook handling | Map events to application commands or queue messages | Keeps delivery separate from business processing |
Stop explaining .NET to your AI. Start building. We've all been there: asking Claude to use Entity Framework, only to get EF6 patterns in a .NET 8 project. Explaining to Copilot that Blazor Server and Blazor WebAssembly aren't the same thing.
Repo: managedcode/dotnet-skills
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on…
Build, upgrade, and operate Aspire 13.5.x C# or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing,…
Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns. USE FOR:…
Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design, state flow, rendering, and…
Maintain or migrate EF6-based applications with realistic guidance on what to keep, what to modernize, and when EF Core is or is not the right next step. USE…
Design, tune, or review EF Core data access with proper modeling, migrations, query translation, performance, and lifetime management for modern .NET…