admin-artisan-command

Generate routes, views, and translations for Artisan commands in Laravel admin panels.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The time-consuming process of adding Artisan commands to the admin panel and the lack of tools for handling chunked processes in long-running commands can be streamlined.

Core Features & Use Cases

  • Whitelist Existing Commands: Quickly whitelist existing Artisan commands for use in the admin panel.
  • Chunked Processing Support: Integrate long-running Artisan commands that require chunked processing, like background tasks, into the admin interface with progress feedback.
  • Full Stack Integration: The Skill integrates with Laravel’s framework to create, whitelist, route, and translate the command in one process.
  • Use Case: Suppose you need to make a command for a bulk database operation available in the admin. Use this Skill to create the command’s view, routes, breadcrumbs, translations, and tests without manual code editing.

Quick Start

Run the following command to make an Artisan command 'db-migrate-all' available in the admin panel: | npm run dev

Frequently Asked Questions about admin-artisan-command

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

FAQPage Schema
How do I add an existing Artisan command to a Laravel admin panel?

To add an Artisan command to a Laravel admin panel, you can whitelist it to automatically generate the necessary routes, views, breadcrumbs, and translations without manual code editing.

What is the best way to handle long-running Artisan commands in an admin interface?

Handling long-running Artisan commands in an admin interface requires chunked processing support to provide real-time progress feedback for background tasks during execution.

Can I generate routes and translations for bulk database operations automatically?

Yes, you can generate routes, views, and translations for bulk database operations by whitelisting the specific Artisan command within your Laravel application's admin panel.

Does this approach support creating tests for newly integrated admin panel commands?

Yes, the full stack integration process creates the command's view, routes, breadcrumbs, translations, and tests simultaneously to ensure the newly whitelisted admin functionality is verified.

What are the limitations of whitelisting Artisan commands for admin panel integration?

Whitelisting Artisan commands for admin panel integration is limited to the Laravel framework environment and requires existing commands to process effectively without manual development work.