artisan-command-conventions

Create and schedule Laravel Artisan commands using keystone.guru conventions.

66|10|Updated Aug 12, 2018
One-click install
npx skills add https://github.com/RaiderIO/keystone.guru --skill artisan-command-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: artisan-command-conventions
Source: https://github.com/RaiderIO/keystone.guru/tree/main/.claude/skills/artisan-command-conventions
Command: npx skills add https://github.com/RaiderIO/keystone.guru --skill artisan-command-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to developing Artisan commands within the keystone.guru domain, addressing conventions, base classes, traits, and scheduling in Laravel.

Core Features & Use Cases

  • Command Conventions: Defines the layout, naming, and structure for Artisan commands.
  • Base Classes: Lists and describes base classes for different types of commands.
  • Shared Traits: Documents shared traits used across various command types.
  • Scheduling: Details how to schedule and manage Artisan commands.
  • Use Case: When developing a new Artisan command or modifying existing ones, this guide ensures consistency and efficiency in command creation.

Quick Start

Use the artisan-command-conventions skill to create a new Scheduler command for updating dungeon route popularity.

Frequently Asked Questions about artisan-command-conventions

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

FAQPage Schema
How do I structure and name Artisan commands in Laravel?

Artisan command conventions require specific naming, layout, and structural rules for your custom commands. Following these guidelines ensures your custom commands remain consistent and maintainable across the application's domain.

What are the base classes for developing Laravel Artisan commands?

Base classes for Laravel Artisan commands provide foundational behaviors tailored to different command types. Utilizing these shared base classes and traits promotes code reuse and standardizes command creation throughout your project.

How do I schedule Artisan commands in Laravel applications?

Scheduling Artisan commands in Laravel involves defining execution frequencies and management strategies within the console kernel. Proper scheduling ensures automated tasks run reliably at specified intervals without manual intervention.

Do I need Laravel console experience to use these Artisan command conventions?

Familiarity with Laravel and its console component is required to apply these Artisan command conventions. The guidelines focus on domain-specific implementations, base classes, and scheduling strategies rather than basic framework fundamentals.

What is the best way to create a scheduler command for updating data popularity?

Creating a scheduler command for updating data popularity requires extending the correct base class and applying defined Artisan command conventions. This approach streamlines scheduling integration and ensures the task executes consistently.