freekmurze/dotfiles
Overview
This skill automatically fetches up-to-date documentation from Context7 when it detects library, framework, API, or code example queries. It activates proactively so answers use current docs instead of possibly outdated training data, and it returns concise, cited snippets and code samples.
How this skill works
When a user query matches trigger patterns (implementation, configuration, docs lookup, library mentions, or code generation), the skill extracts the target library, optional version, and specific feature. It calls a forked sub-skill to search Context7 for the best-matching library, then fetches relevant documentation snippets and examples, and integrates those into a focused response with version and source citations.
When to use it
- User asks how to implement or configure a feature (e.g., "How do I set up middleware in Next.js?")
- User requests documentation, API details, or code examples for a library or framework
- User mentions a specific library or version and expects current behavior or syntax
- When you want authoritative, up-to-date references instead of relying on training data
- When answers must include exact code examples or API signatures from docs
Best practices
- Pass the full user question as the query to maximize relevance
- Include the library name and version when known to fetch version-specific docs
- Prefer exact name matches and highest trustScore when selecting library results
- Extract and present only relevant snippets and code examples rather than dumping full docs
- Handle failures gracefully: inform the user if search returns no results or if API errors occur
Example use cases
- Explain how useEffect (or new hooks) should be used in React 19 with current examples
- Show Next.js 15 middleware configuration and include official sample code
- Provide Prisma schema examples for one-to-many relations using the latest docs
- Fetch Tailwind utility docs or shadcn/ui component usage for a requested version
- Resolve API signature or initialization steps for Supabase, Firebase, or Clerk
FAQ
If search returns no results, the skill notifies the user and suggests alternatives or falls back to training data with a disclaimer that it may be outdated.
How does version selection work?
The skill prefers exact version matches when provided, otherwise it selects the highest trustScore and official packages over forks.
5 skills
This skill automatically fetches up-to-date Context7 documentation for libraries, frameworks, and APIs, delivering current guidance and practical code examples.
This skill enforces Spatie-based PHP and Laravel guidelines for readable, maintainable code with proper typing, structure, and documentation.
This skill helps you fix GitHub issues by creating feature branches, running local tests, and generating PRs when tests pass.
This skill converts GitHub issues to discussions using browser automation, guiding you through login, selecting category, and finalizing the conversion.
This skill helps you craft clear, persuasive marketing copy for any page, turning visitors into engaged customers.