symfony:console

Generates complete Symfony console command classes in PHP with arguments, options, and interactive prompts.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/atournayre/claude-personas --skill symfony-console
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: symfony:console
Source: https://github.com/atournayre/claude-personas/tree/main/symfony/skills/console
Command: npx skills add https://github.com/atournayre/claude-personas --skill symfony-console

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of robust Symfony console commands, saving developers time and ensuring adherence to best practices.

Core Features & Use Cases

  • Command Generation: Creates complete PHP classes for Symfony console commands.
  • Argument & Option Handling: Supports defining arguments and options with types and defaults.
  • Advanced Features: Integrates options like ProgressBar, Table output, Locking, and Schedulability.
  • Use Case: Quickly scaffold a new command to import user data from a CSV file, complete with arguments for the file path and options for verbose output.

Quick Start

Use the symfony:console skill to generate a new command named 'app:greet-user' with a required 'name' argument.

Frequently Asked Questions about symfony:console

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Symfony console command with arguments and options?

To generate a Symfony console command, you can use this Skill to automatically scaffold a complete PHP class, including defined arguments, options, and interactive prompts, eliminating manual boilerplate code.

Can I add a progress bar and table output to my Symfony CLI command?

Yes, you can integrate a progress bar and table output into your Symfony CLI command. This Skill supports scaffolding these advanced output features directly within the generated command class structure.

What's the best way to create a Symfony command for a scheduled task?

The best way to create a scheduled Symfony command is using this Skill, which supports adding the AsScheduledTask attribute to your generated PHP class for automated command-line execution.

Does this Symfony command generator support locking mechanisms?

Yes, this Symfony command generator supports locking mechanisms. It can automatically integrate the LockableTrait into your generated PHP console class to prevent overlapping command executions.

How do I scaffold a PHP CLI command to import a CSV file in Symfony?

You can scaffold a PHP CLI command to import a CSV file by using this Skill to generate a Symfony console command class, complete with a required file path argument and optional verbose output flags.