Laravel Altitude enables developers to create Claude Code agents for the TALL stack, powered by Laravel Boost. It automates tasks within Laravel applications, benefiting operations teams by streamlining workflows and integrating with existing PHP-based systems.
git clone https://github.com/mischasigtermans/laravel-altitude.gitAltitude is a Laravel package that syncs Claude Code agents and workflow commands tailored for TALL stack development (Tailwind, Alpine, Livewire, Laravel). It provides specialized agents for architecture decisions, database schema design, security audits, and optional support for Filament, Flux UI, and Pest. Agents automatically reference Laravel Boost's version-specific documentation via MCP, eliminating stale code examples. The package includes workflow commands like /ship, /test, /debug, and /review to streamline common development tasks. Setup is automatic on composer update, keeping agents synchronized with your installed packages.
["Define your automation task in the prompt template, replacing [SPECIFIC_TASK] with your exact requirement (e.g., 'database backup', 'queue monitoring')","Specify integration points in [EXISTING_TOOLS_OR_SERVICES] (e.g., 'S3 storage', 'Slack notifications', 'Redis')","Set constraints in [LIST_CONSTRAINTS] (e.g., 'max execution time 60s', 'memory limit 256MB')","Choose your logging channel in [LOGGING_CHANNEL] (e.g., 'daily', 'slack', 'teams')","Run the generated agent code in your Laravel application using `php artisan boost:install [agent-name]`","Monitor agent execution via Laravel logs and adjust schedules as needed"]
Design multi-file features and architecture decisions with the @architect agent
Create database schemas and Eloquent models with the @database agent
Build Livewire components and Alpine.js interactivity with specialized agents
Run workflow commands like /ship, /test, and /debug to automate development tasks
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/mischasigtermans/laravel-altitudeCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a Laravel Altitude agent to automate [SPECIFIC_TASK] in a Laravel application using the TALL stack. The agent should integrate with [EXISTING_TOOLS_OR_SERVICES] and follow these constraints: [LIST_CONSTRAINTS]. Use Laravel Boost for performance optimization and ensure the agent logs all actions to [LOGGING_CHANNEL]. Provide the agent code in a Laravel service provider format.
```php
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Boost\Boost;
use App\Services\AltitudeAgent;
class AltitudeAgentServiceProvider extends ServiceProvider
{
public function register()
{
Boost::agent('tall-stack-automation', function ($agent) {
$agent->description('Automates database cleanup and cache warming for high-traffic Laravel applications');
$agent->task('cleanup-old-logs', function () {
$deleted =
Log::channel('daily')->getFiles()
->filter(fn ($file) => $file->getMTime() < now()->subDays(30)->timestamp)
->each(fn ($file) => Storage::disk('local')->delete($file->getPathname()));
$this->log("Deleted {$deleted->count()} old log files");
return "Cleaned up {$deleted->count()} log files";
})
->schedule('0 3 * * *') // Daily at 3 AM
->onSuccess(fn ($result) => Notification::sendToTeam("Log cleanup completed: {$result}"));
$agent->task('warm-cache-for-popular-routes', function () {
$popularRoutes = Cache::remember('popular-routes', 3600, function () {
return DB::table('page_views')
->select('route', DB::raw('COUNT(*) as views'))
->groupBy('route')
->orderByDesc('views')
->limit(10)
->pluck('route');
});
foreach ($popularRoutes as $route) {
Cache::forget("route:{$route}:html");
Cache::remember("route:{$route}:html", 86400, fn () => View::make($route)->render());
}
return "Warmed cache for " . $popularRoutes->count() . " routes";
})
->schedule('*/15 * * * *') // Every 15 minutes
->onFailure(fn () => Log::error('Cache warming failed'));
$agent->onStartup(function () {
$this->log('Altitude agent initialized for TALL stack automation');
});
});
}
}
```
### Key Features Implemented:
1. **Scheduled Tasks**: Two agents configured with cron expressions for regular execution
2. **Logging Integration**: All actions logged to Laravel's default logging channel
3. **Performance Optimization**: Uses Laravel Boost for agent execution
4. **Error Handling**: Failure callbacks for critical tasks
5. **TALL Stack Compatibility**: Uses Livewire patterns (via Laravel Boost) and Alpine.js compatible outputs
The agent automatically:
- Deletes log files older than 30 days daily at 3 AM
- Warms cache for the 10 most visited routes every 15 minutes
- Sends notifications on success/failure
To activate, run:
```bash
php artisan boost:install tall-stack-automation
```AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Automate security compliance and monitor real-time security posture seamlessly.
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan