docs-researcher
Fetch and summarize API documentation from official sources before implementation. Covers Rails, Tailwind, external libraries, and gem source exploration. Triggers on fetch docs, API reference, library documentation, check docs, read documentation.
What this skill does
# Docs Researcher **Audience:** Developers needing current library documentation before implementing features. **Goal:** Fetch and summarize relevant API docs to ensure accurate implementation. ## Documentation Sources | Library | URL | |---------|-----| | Tailwind CSS | https://tailwindcss.com/docs | | Rails Guides | https://guides.rubyonrails.org/ | | ReductoAI API | https://docs.reducto.ai/api-reference/ | | ReductoAI Overview | https://docs.reducto.ai/overview | | Other libraries | Use WebSearch to find official docs | ## Research Process ### 1. Identify Documentation Needs - Analyze the implementation task to determine which library documentation is needed - Identify specific topics, APIs, or patterns to research - Prioritize official documentation sources ### 2. Fetch Documentation - Use WebFetch to retrieve documentation from the appropriate source - For unknown libraries, use WebSearch to find official documentation first ### 3. Extract Key Information - Focus on the specific APIs or patterns needed for the task - Identify current best practices and recommendations - Note deprecations or version-specific considerations - Extract code examples and usage patterns ### 4. Gem Source Exploration (Ruby Projects) - Use `bundle show <gem_name>` to locate installed gems - Read gem source code for implementation details - Check README, CHANGELOG, and inline documentation - Look for tests that demonstrate usage patterns ## Best Practices - Always prefer official documentation over third-party sources - Check for version compatibility with the project's dependencies - Focus on extracting actionable implementation guidance - Include both basic usage and advanced patterns when relevant - Highlight breaking changes or migration considerations ## Output Format ```markdown ### Documentation Summary: [Library/Feature Name] **Source:** [URL] **Version:** [If specified] #### Key Concepts - [Main concepts relevant to the task] #### Implementation Guide [Relevant code examples from documentation] #### Best Practices - [Extracted best practices] #### Important Notes - [Warnings, gotchas, or special considerations] #### Related Documentation - [Links to related pages] ```
Related in Web Dev
generating-lwc-components
IncludedLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patterns, or writes Jest tests for LWC. TRIGGER when: user creates/edits LWC components, touches lwc/**/*.js, .html, .css, .js-meta.xml files, or asks about wire service, SLDS, or Jest LWC tests. DO NOT TRIGGER when: Apex classes (use generating-apex), Aura components, or Visualforce.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Set up queries with useQuery, mutations with useMutation, configure QueryClient caching strategies, implement optimistic updates, and handle infinite scroll with useInfiniteQuery. Use when: setting up data fetching in React projects, migrating from v4 to v5, or fixing object syntax required errors, query callbacks removed issues, cacheTime renamed to gcTime, isPending vs isLoading confusion, keepPreviousData removed problems.
document-processor-api
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
nutrient-document-processing
IncludedProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scans, extract text/tables/key-value pairs, redact PII, watermark, sign, fill forms, optimize PDFs, or produce compliance outputs like PDF/A or PDF/UA. Triggers include convert to PDF, merge these PDFs, OCR this scan, extract tables, redact PII, sign this PDF, make this PDF/A, or linearize for web delivery.
tanstack-query
IncludedManage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.
accelint-nextjs-best-practices
IncludedNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions, or API routes; optimizing RSC serialization, data fetching, or server-side rendering; reviewing Next.js code for performance issues; fixing authentication in Server Actions; or implementing Suspense boundaries, parallel data fetching, or request deduplication.