Use when fetching library documentation via the c7 CLI tool. Triggers on tasks involving "c7 search", "c7 context", or when doc-research delegates to c7 CLI for library lookups.
Install
npx skillscat add totto2727-dotfiles/agents/c7 Install via the SkillsCat registry.
SKILL.md
c7 CLI
Fetch library documentation using the c7 CLI tool (~/.local/bin/c7).
Commands
Search Libraries
c7 search <libraryName> <query...>Returns matching library IDs.
Fetch Documentation Context
c7 context <libraryId> <query...> -t txtFetches documentation for the specified library ID. Default output format: -t txt.
Workflow
- Search — Run
c7 searchwith the library name to get library IDs - Context — Run
c7 contextwith the chosen library ID and query to fetch documentation
Best Practices
- Be specific with queries — Use detailed, natural language queries for better results (e.g.,
c7 context /vercel/next.js How to implement authentication with middlewareinstead of justauth) - Use specific versions — Pin to an exact version for consistent results (e.g.,
c7 context /vercel/next.js/v15.1.8 app router) - Handle 202 responses — A 202 status means the library is not yet finalized; wait and retry later
- Handle 301 redirects — A 301 means the library ID has moved; use the new library ID from the response