Skip to content
Back to skills

Add Package 1

ASecurity

**[src/web専用]** フロントエンド(React/TypeScript)にnpmパッケージを追加する際に使用します。 開発用と、プロダクト用途問わずこれを使います。shadcnはnpxのため本スキルでは扱いません。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmenttypescriptreact

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill add-package-1 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Package 1?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Package 1
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-add-package-1/badge)](https://www.skillsdirectory.com/skills/david-li0406-add-package-1)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-package
description: |
  **[src/web専用]** フロントエンド(React/TypeScript)にnpmパッケージを追加する際に使用します。
  開発用と、プロダクト用途問わずこれを使います。shadcnはnpxのため本スキルでは扱いません。
---

# パッケージ追加スキル

このスキルは、pnpmを使ってプロジェクトにパッケージを追加する正しい方法を提供します。

## Instructions

1. まず、カレントディレクトリがsrc/webであることを確認します。
2. `pnpm add <package-name>` コマンドでパッケージを追加する
   - 通常の依存パッケージ: `pnpm add <package-name>`
   - 開発用依存パッケージ: `pnpm add -D <package-name>`
3. パッケージ追加後、`package.json` にパッケージが追加されていることを確認する
4. `pnpm-lock.yaml` が更新されていることを確認する

## 注意事項

⚠️ **package.jsonを直接編集しないでください**

パッケージを追加する際は、必ず `pnpm add` コマンドを使用してください。package.jsonを直接編集すると、pnpm-lock.yamlが更新されず、依存関係の整合性が失われます。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…