summarize-composer-json
SKILL.md
Skill: summarize-composer-json
When to Use
Use this skill when the user asks to:
- Summarize a composer.json file
- Analyze PHP project dependencies
- Review composer configuration
- Understand project requirements
- Extract metadata from composer.json
- Explain what packages a PHP project uses
Input Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
composer_json_content |
Yes | The full content of the composer.json file to analyze | {"name": "vendor/project", "require": {"php": "^8.2"}} |
Procedure
- Receive the composer.json file content from the user (via file attachment or paste)
- Parse the JSON structure to extract key sections: name, description, require, scripts, autoload, config, authors, license
- Organize findings into logical categories: project metadata, PHP/extension requirements, dependencies with versions, executable binaries, available scripts, namespace configuration
- Format output with clear headers, bullet points, and explanations of what each dependency does
- Highlight critical information such as minimum PHP version, key packages, and available commands
- Present summary in a readable format that explains both what the project is and how it's structured
Example
Example requests that trigger this skill:
## Attached File Context The following files have been provided by the user as context: ### File: composer.json (38 lines, 891 bytes) ```json { "name": "dalehurley/phpbot", "description": "PHP Bot for automating your life - An evolving AI assistant powered by Claude", "type": "project", "require": { "php": "^8.2", "ext-readline": "*", "cboden/ratchet": "^0.4.4", "claude-php/agent": "^1.4.6", "claude-php/claude-php-sdk": "^0.5.3", "phpoffice/phpword": "^1.0", "react/datagram": "^1.2" }, "license": "MIT", "autoload": { "psr-4": { "Dalehurley\\Phpbot\\": "src/" } }, "bin": [ "bin/phpbot" ], "authors": [ { "name": "Dale Hurley", "email": "dale.hurley@createmy.com.au" } ], "scripts": { "phpbot": "php bin/phpbot", "web": "bin/run-web.sh" }, "config": { "sort-packages": true, "process-timeout": 0 } } ``` ## User Request summarise
Weekly Installs
4
Repository
dalehurley/phpbotGitHub Stars
1
First Seen
14 days ago
Security Audits
Installed on
gemini-cli4
github-copilot4
codex4
amp4
cline4
kimi-cli4