Skillquality 0.46
vigilante-issue-implementation-on-php
Implement a GitHub issue end-to-end when Vigilante dispatches work for a PHP repository with Composer, static analysis, and security guidance.
Price
free
Protocol
skill
Verified
no
What it does
Vigilante PHP Issue Implementation
Focus
- Read the prompt for detected tech stacks, process hints, and PHP security guidance before changing code.
- Follow repo-standard Composer, testing, formatting, and static-analysis workflows.
- Prefer repo-defined framework and tooling conventions over forcing a universal PHP stack.
- Keep changes scoped to the issue and do not broaden into unrelated style or lint fixes.
PHP Tooling Workflow
- Composer: use Composer-managed commands and dependency workflows. Run
composer installfor reproducible installs fromcomposer.lock. Runcomposer updateonly when intentionally upgrading dependencies. - Testing: run targeted tests for changed code first using
vendor/bin/phpunit --filter ClassNameor the framework-native test command (e.g.,php artisan test,vendor/bin/pest). Use broadervendor/bin/phpunitwhen changes cross module boundaries. Respect the repository's test configuration (phpunit.xml,phpunit.xml.dist). - Static analysis: use the repository's established static-analysis tools. When PHPStan is configured (
phpstan.neon,phpstan.neon.dist), runvendor/bin/phpstan analyse. When Psalm is configured (psalm.xml,psalm.xml.dist), runvendor/bin/psalm. Do not introduce a different analyzer unless the issue specifically requires it. - Formatting: use the repository's established code-style tool. When PHP CS Fixer is configured (
.php-cs-fixer.php,.php-cs-fixer.dist.php), runvendor/bin/php-cs-fixer fix. When PHP_CodeSniffer is configured (phpcs.xml,phpcs.xml.dist,.phpcs.xml), runvendor/bin/phpcsto check andvendor/bin/phpcbfto fix. Do not hand-format PHP code when an automated tool is available. - Dependencies: run
composer auditafter dependency changes to check for known vulnerabilities. Reviewcomposer.lockchanges for unexpected additions or version shifts.
Security
- Use
password_hash()withPASSWORD_DEFAULTorPASSWORD_BCRYPTfor password storage, andpassword_verify()to check passwords. Never usemd5(),sha1(), orcrypt()directly for passwords. - Use parameterized queries or the framework's query builder to prevent SQL injection — never interpolate user input into raw SQL.
- Use context-appropriate output encoding (
htmlspecialchars()withENT_QUOTES, framework template escaping) to prevent XSS. - Avoid
unserialize()on untrusted data — usejson_decode()andjson_encode()for data interchange. Whenunserialize()is unavoidable, restrict allowed classes with theallowed_classesoption. - Do not store secrets, tokens, or credentials in source files. Use environment variables or framework-native secret management.
- Use framework-provided CSRF protection for state-changing requests.
Mixed-Language Repositories
- A PHP repository may include a frontend layer such as a React, Vue, or other JavaScript framework colocated with the PHP backend.
- Scope PHP tooling (Composer, PHPUnit, PHPStan, Psalm, PHP CS Fixer) to PHP source files only. Do not run PHP tools against frontend code.
- When the repository also has a Node.js or TypeScript frontend, respect its own toolchain (package manager, bundler, linter, test runner) for frontend-scoped changes. Check the prompt for detected tech stacks and process hints.
- When an issue touches both PHP backend and frontend code, validate each side with its own toolchain rather than validating only one side.
- Do not assume a PHP repository is PHP-only. Read process hints and workspace signals in the prompt to understand the full repository structure.
Workflow
- Follow the base
vigilante-issue-implementationworkflow for issue comments, validation, push, and PR creation. - Use
vigilante commitfor all commit-producing operations. Do not usegit commitor GitHub CLI commit flows directly. - Any commit or amend must preserve the user's existing git author, committer, and signing configuration. Commit on behalf of the user and do not overwrite
git configwith a coding-agent identity. - Do not add
Co-authored by:trailers or any other agent attribution for Codex, Claude, Gemini, or similar coding-agent identities. - Repository-specific instructions (
AGENTS.md,README.md, CI config) remain authoritative when they are more specific than the generic PHP guidance in this skill.
Capabilities
skillsource-aliengiraffeskill-vigilante-issue-implementation-on-phptopic-agenttopic-agent-skillstopic-agentic-aitopic-agentic-workflowtopic-agentstopic-ai-orchestrationtopic-ai-orchestratortopic-orchestration
Install
Installnpx skills add aliengiraffe/vigilante
Sourcehttps://github.com/aliengiraffe/vigilante/tree/main/skills/vigilante-issue-implementation-on-php
Transportskills-sh
Protocolskill
Quality
0.46/ 1.00
deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 28 github stars · SKILL.md body (4,356 chars)
Provenance
Indexed fromgithub
Enriched2026-05-01 07:01:24Z · deterministic:skill-github:v1 · v1
First seen2026-04-18
Last seen2026-05-01