Generate high-quality, expert-level SOLID code review prompts for your PHP/Symfony projects directly from VS Code.
Features
Context-Aware Prompts: Automatically detects your PHP and Symfony versions from composer.json.
Explorer Integration: Right-click one or multiple files in the Explorer to generate a review prompt.
Expert Default Prompt: Comes with a pre-configured prompt based on 10+ years of Senior Lead Dev experience.
Quick Copy: View generated prompts in a dedicated window and copy them to your clipboard with one click.
Recursive Search: Automatically finds the nearest composer.json even if your project is in a subdirectory.
Usage
Open your PHP/Symfony project.
Select one or more files in the Explorer view.
Right-click and choose Generate SOLID prompt.
A new window opens with the generated prompt.
Click Copy Prompt and paste it into your favorite AI coding assistant.
Extension Settings
This extension contributes the following settings:
isSolidSymfonyCode.basePrompt: The template used for generating prompts. You can use variables {PHP_VERSION} and {SYMFONY_VERSION} which will be automatically replaced.
Configuration Variables
You can customize the base prompt in your VS Code settings. The following variables are available:
{PHP_VERSION}: The PHP version extracted from composer.json (defaults to 8.2+).
{SYMFONY_VERSION}: The Symfony version (framework-bundle) extracted from composer.json (defaults to 6.4/7+).
SOLID Architecture
This extension is built follow SOLID principles:
Single Responsibility: Each component (Detection, Reading, Generation, UI) is in its own file.
Open/Closed: The prompt system is easily extensible via variables.
Interface Segregation: Clean interfaces for data exchange.