parse-package-json — package.json parsing parse-package-json, BuhBot, community, package.json parsing, ide skills, dependency auditing tools, parse-package-json install, package metadata extraction, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Development Agents needing package.json file analysis for version management and dependency auditing. parse-package-json is a skill that extracts structured data from package.json files for version management, dependency auditing, and metadata retrieval.

Features

Extracts current project version for release workflows
Generates dependency lists for auditing and security checks
Reads package metadata for reporting and analytics
Validates package.json structure for error detection and debugging
Loads package.json files using the Read tool

# Core Topics

maslennikov-ig maslennikov-ig
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The parse-package-json skill by maslennikov-ig is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for package.json parsing, dependency auditing tools, parse-package-json install.

Ideal Agent Persona

Perfect for Development Agents needing package.json file analysis for version management and dependency auditing.

Core Value

Empowers agents to extract structured data from package.json files, enabling advanced version management, dependency auditing, and metadata retrieval using file paths and JSON parsing.

Capabilities Granted for parse-package-json

Automating version checks for release workflows
Generating dependency lists for security audits
Extracting package metadata for project reports

! Prerequisites & Limits

  • Requires access to package.json files
  • Limited to JSON file format
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

parse-package-json

Install parse-package-json, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Parse Package JSON

Extract structured data from package.json files for version management, dependency auditing, and metadata retrieval.

When to Use

  • Get current project version for release workflows
  • Extract dependency list for auditing
  • Read package metadata for reports
  • Validate package.json structure

Instructions

Step 1: Read package.json

Use Read tool to load package.json file.

Expected Input:

  • file_path: Path to package.json (default: ./package.json)

Tools Used: Read

Step 2: Parse JSON

Parse the JSON content and validate structure.

Validation:

  • File must be valid JSON
  • Must contain name and version fields at minimum
  • Dependencies should be objects (if present)

Step 3: Extract Fields

Extract relevant fields into structured output.

Fields to Extract:

  • version: Semantic version string
  • name: Package name
  • description: Package description (optional)
  • dependencies: Production dependencies object (optional)
  • devDependencies: Development dependencies object (optional)
  • scripts: Available npm scripts (optional)
  • main: Entry point file (optional)
  • private: Private flag (optional)

Step 4: Return Structured Data

Return extracted data as JSON object.

Expected Output:

json
1{ 2 "version": "0.7.0", 3 "name": "megacampus2", 4 "description": "Project description", 5 "dependencies": { 6 "react": "^18.2.0" 7 }, 8 "devDependencies": { 9 "typescript": "^5.0.0" 10 }, 11 "scripts": { 12 "build": "tsc", 13 "test": "jest" 14 }, 15 "main": "dist/index.js", 16 "private": true 17}

Error Handling

  • File Not Found: Return error with message "package.json not found at {path}"
  • Invalid JSON: Return error with parsing details
  • Missing Required Fields: Return error listing missing fields (name, version)
  • Invalid Structure: Return error describing structure issue

Examples

Example 1: Extract Version

Input:

file_path: ./package.json

Output:

json
1{ 2 "version": "0.7.0", 3 "name": "megacampus2" 4}

Example 2: Full Package Info

Input:

file_path: ./packages/client/package.json

Output:

json
1{ 2 "version": "1.2.3", 3 "name": "@megacampus/client", 4 "dependencies": { 5 "react": "^18.2.0", 6 "react-dom": "^18.2.0" 7 }, 8 "scripts": { 9 "dev": "vite", 10 "build": "vite build" 11 } 12}

Example 3: Error - File Not Found

Input:

file_path: ./nonexistent.json

Output:

json
1{ 2 "error": "package.json not found at ./nonexistent.json", 3 "success": false 4}

Validation

  • Can read package.json from default path
  • Can read package.json from custom path
  • Extracts all specified fields correctly
  • Handles missing optional fields gracefully
  • Returns error for missing file
  • Returns error for invalid JSON
  • Returns error for missing required fields

Supporting Files

  • schema.json: JSON schema defining expected package.json structure

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is parse-package-json?

Perfect for Development Agents needing package.json file analysis for version management and dependency auditing. parse-package-json is a skill that extracts structured data from package.json files for version management, dependency auditing, and metadata retrieval.

How do I install parse-package-json?

Run the command: npx killer-skills add maslennikov-ig/BuhBot. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for parse-package-json?

Key use cases include: Automating version checks for release workflows, Generating dependency lists for security audits, Extracting package metadata for project reports.

Which IDEs are compatible with parse-package-json?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for parse-package-json?

Requires access to package.json files. Limited to JSON file format.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add maslennikov-ig/BuhBot. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use parse-package-json immediately in the current project.

Related Skills

Looking for an alternative to parse-package-json or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI