CtrlK
BlogDocsLog inGet started
Tessl Logo

dependabot-check

Analyze Dependabot security advisory and provide resolution strategy

72

Quality

60%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

Optimize this skill with Tessl

npx tessl skill review --optimize ./.claude/skills/dependabot-check/SKILL.md
SKILL.md
Quality
Evals
Security

Dependabot Check

Analyze Dependabot security advisory and provide resolution strategy.

Usage

/dependabot-check <dependabot_url>

Workflow

Step 1: Gather Advisory Information

Determine URL type and use appropriate command:

  • If URL contains /security/dependabot/[number]: Use gh api /repos/[owner]/[repo]/dependabot/alerts/[number]
  • If URL contains /pull/: Use gh pr view [url] --json title,body,commits
  • If URL contains GitHub Security Advisory ID (GHSA-xxxx): Use gh api /advisories/[GHSA-ID]

Step 2: Check Current Project Status

git status
pnpm list --depth=0    # Check direct dependencies
pnpm why [package]     # Check dependency tree

Step 3: Dependency Analysis

  1. Check Direct vs Indirect Dependency

    • Check if package exists in package.json
    • If yes: Direct dependency
    • If no: Indirect dependency
  2. Analyze Dependency Tree

    • Use pnpm why [package-name]
    • Identify parent packages

Step 4: Resolution Strategy

For Direct Dependencies:

pnpm update [package-name]
# Or modify package.json version then
pnpm install

For Indirect Dependencies:

  1. Check if parent package update is minor/patch (low risk) or major (high risk)
  2. For minor/patch updates: Update parent package directly
  3. For major updates: Consider using pnpm overrides:
{
  "pnpm": {
    "overrides": {
      "[package-name]": "^[safe-version]"
    }
  }
}

Output Format

## 🚨 Dependabot Advisory Analysis

**Reference URL**: [url]

### Vulnerable Package
- **Package Name**: [name] ([direct/indirect])
- **Current Version**: [current] → **Recommended**: [recommended]
- **Severity**: [level]

### 🔧 Resolution Strategy
- **Parent Package**: [parent] ([current] → [required])
- **Update Level**: [Major/Minor/Patch]
- **Recommended Method**: [approach]

### 📋 Checklist
- [ ] Verify lock file changes
- [ ] Identify dependency source
- [ ] Check for breaking changes
Repository
sc30gsw/claude-code-customes
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.