スキル一覧に戻る
vuralserhat86

deps-npm

by vuralserhat86

OS for Agents: 130+ Agentic Skills, Gemini Protocols, and Autonomous Workflows. (Antigravity System)

19🍴 9📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: deps_npm router_kit: FullStackKit description: npm/yarn dependency management, package.json best practices ve version control. metadata: skillport: category: development tags: [architecture, automation, best practices, clean code, coding, collaboration, compliance, debugging, deps npm, design patterns, development, documentation, efficiency, git, optimization, productivity, programming, project management, quality assurance, refactoring, software engineering, standards, testing, utilities, version control, workflow] - deps-security

📦 Deps NPM

npm dependency management ve best practices.


📋 package.json Best Practices

{
  "name": "my-app",
  "version": "1.0.0",
  "engines": { "node": ">=20.0.0" },
  "scripts": {
    "dev": "vite",
    "build": "tsc && vite build",
    "lint": "eslint .",
    "test": "vitest"
  }
}

🔒 Version Control

PrefixAnlamıÖrnek
^1.2.3Minor updates OK1.x.x
~1.2.3Patch only1.2.x
1.2.3Exact version1.2.3
# Lock file ZORUNLU
npm ci  # package-lock.json kullan

📊 Dependency Types

{
  "dependencies": {},      // Production
  "devDependencies": {},   // Development only
  "peerDependencies": {}   // Consumer provides
}

Deps NPM v1.1 - Enhanced

🔄 Workflow

Kaynak: NPM Security Best Practices

Aşama 1: Audit & Analysis

  • Lockfile: package-lock.json var ve güncel mi?
  • Security: npm audit çalıştır ve kritik açıkları gider.
  • Licenses: Production bağımlılıklarının lisanslarını kontrol et.

Aşama 2: Update Strategy

  • Minor/Patch: npm outdated ile güvenli güncellemeleri yap.
  • Major: Breaking change'leri release note'lardan oku ve tek tek güncelle.
  • Clean: Kullanılmayan paketleri depcheck ile bul ve sil.

Aşama 3: CI/CD Protection

  • Immutable: CI'da mutlaka npm ci kullan (asla npm install değil).
  • Vulnerability: Pipeline'a audit step ekle (npm audit --audit-level=high).

Kontrol Noktaları

AşamaDoğrulama
1node_modules silinip npm ci yapılınca proje çalışıyor mu?
2Production build, devDependencies olmadan çalışıyor mu?
3Tüm versiyonlar 'Exact' veya 'Tilde/Caret' stratejisine uygun mu?

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です