- Home
- Skills
- 884js
- Agent Skills
- Index Lib Docs
index-lib-docs_skill
- Shell
0
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill 884js/agent-skills --skill index-lib-docs- SKILL.md12.0 KB
Overview
This skill generates a project-libs documentation skill automatically from a project's dependency list. It scans the project's package metadata and produces a ready-to-use documentation skill that bundles library versions, reference links, and llms.txt sources. Use it to create consistent, project-scoped library docs that the agent can consult before answering questions about dependencies.
How this skill works
The skill reads project dependency manifests (package.json, requirements.txt, etc.) and extracts package names and versions. It generates a project-libs skill file that lists libraries, docs URLs, llms.txt links (when available), and per-library reference markdown files. The output includes instructions for the agent to fetch official docs and to include versioned examples and reference links in responses.
When to use it
- When you need an agent-ready documentation skill for all libraries in a project
- When onboarding a new project so the agent can answer dependency-specific questions
- When creating or updating library references after changing dependencies
- When preparing an environment where the agent must always consult project docs first
- When authoring reproducible answers that require library versions and sources
Best practices
- Prioritize dependencies over devDependencies for the skill description to stay concise
- Include official docs and llms.txt links where possible to enable automated fetching
- Keep per-library reference markdown files in a references/ directory for quick lookup
- List explicit import patterns for commonly used exports to improve trigger accuracy
- Regenerate the skill after dependency upgrades to keep versions and examples current
Example use cases
- Generate a project-libs skill for a new JavaScript project so the agent knows React, Next.js, and utility libs used
- Rebuild documentation skill after a dependency bump to update versioned code examples
- Create a consolidated skill for a mono-repo that spans multiple package manifests
- Invoke directly to produce a project-scoped docs skill: index-lib-docs or library documentation generation
- Use the generated skill to ensure the agent always fetches library docs before answering API or usage questions
FAQ
It inspects common manifest files such as package.json, pip requirements, and other detectable dependency lists in the repository.
Will it include devDependencies?
By default it prioritizes dependencies; devDependencies are omitted or limited unless explicitly requested to keep descriptions concise and within length limits.