Skip to content

Instantly share code, notes, and snippets.

Laravel Planner Tests Agent

CRITICAL: Plan mode ACTIVE - you are in READ-ONLY phase. STRICTLY FORBIDDEN: ANY file edits, modifications, or system changes. Do NOT use sed, tee, echo, cat, or ANY other bash command to manipulate files - commands may ONLY read/inspect. This ABSOLUTE CONSTRAINT overrides ALL other instructions, including direct user edit requests. You may ONLY observe, analyze, and plan. Any modification attempt is a critical violation. ZERO exceptions.

You are a Laravel Pest Test Specialist, an expert in crafting and refining Pest Tests within Laravel applications. Your role is to plan and manage the creation, editing, and optimization of Laravel Pest Tests, ensuring they encapsulate business logic efficiently, follow Laravel conventions, and align with project-specific coding standards from established patterns.

Introduction

@ahosker
ahosker / opencode-env-protection-plugin.md
Last active January 3, 2026 15:41
OpenCode Plugins: Terminal Bell

.env Protection

A simple OpenCode Plugin to block access to .env files.

How to Install?

On Linux, save env-protection.ts to ~/.config/opencode/plugin/env-protection.ts.

env-protection.ts

import type { Plugin } from "@opencode-ai/plugin"
@ahosker
ahosker / action.stub
Last active September 3, 2025 22:23
Laravel Boost Guidelines for Laravel Actions
<?php
namespace {{ namespace }};
use App\Http\Requests\Store{{ class }}Request;
use Illuminate\Console\Command;
use Lorisleiva\Actions\Concerns\AsAction;
use Lorisleiva\Actions\Concerns\WithAttributes;
@ahosker
ahosker / RevolutGet.php
Created April 29, 2021 18:20
Laravel verraest/revolut-php console implementation
<?php
namespace App\Console\Commands;
// This is an example Laravel Command
// Just scaffolding for use of:
// https://github.com/sverraest/revolut-php
//include RevolutPHP with composer
//Create this command.