component-library

Install a GitHub Packages component library into package.json via npm alias.

Updated Nov 20, 2025
One-click install
npx skills add https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template --skill component-library-sayali-ingle-pdl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: component-library
Source: https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template/tree/main/.github/agents/app-starter/agents-context/skills/component-library
Command: npx skills add https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template --skill component-library-sayali-ingle-pdl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill conditionally installs a GitHub Packages based component library into a project's package.json when the user requests it, avoiding unnecessary dependencies and ensuring correct aliasing for GitHub Packages.

Core Features & Use Cases

  • Conditional execution based on the include_component_library flag.
  • Fetches the latest version from the npm registry for GitHub Packages and updates package.json using the npm alias format.
  • Provides clear guidance and fallback if authentication is missing, including setup steps and continuation of project generation.
  • Updates dependencies with the proper lowercase key and original-case value to ensure compatibility with npm and GitHub Packages.

Quick Start

Install the component library only when the user opts in, then update package.json with the proper npm alias.

Frequently Asked Questions about component-library

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a GitHub Packages component library into package.json?

To install a GitHub Packages component library, the skill fetches the latest version from the npm registry and updates package.json using the npm alias format with a lowercase dependency key.

What happens if my GitHub token is missing when adding npm dependencies?

If GitHub token authentication is not configured, the skill gracefully skips installation, provides setup guidance, and continues project generation without breaking the process.

Can I conditionally include a component library during Node.js project generation?

Yes, you can conditionally include the component library by setting the user flag include_component_library to yes, which triggers automatic installation into your Node.js project.

Why does npm require a lowercase alias key for GitHub Packages dependencies?

npm requires a lowercase alias key to ensure compatibility with GitHub Packages, while the npm alias value retains the original package name casing for proper registry resolution.

Do I need to manually specify the version when adding a GitHub Packages dependency?

No, you do not need to manually specify the version because the skill automatically fetches the latest version from the npm registry and applies it to the package.json file.

What is the best way to manage GitHub Packages authentication for npm dependency installation?

The best way to manage GitHub Packages authentication is configuring a valid GitHub token for npm registry access, which the skill validates before updating dependencies.