joshcirre

Instruckt Laravel — Design skill for Claude Code

Design community

A visual feedback tool for your agentic Laravel workflow.

How to install Instruckt Laravel

This entry records only its repository, not the path inside it, so there is no exact command to give. Open joshcirre/instruckt-laravel and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Instruckt Laravel does

A visual feedback tool for your agentic Laravel workflow.

Alternatives in Design

  • Brand Guidelines — Apply Anthropic's official brand colors and typography to artifacts 94.1k ★
  • Weather Orchestrator Command — Fetch the current temperature for Dubai, UAE and create a visual SVG weather card 20.2k ★
  • Pair — Fuse two extracted designs into a single hybrid identity 3.6k ★

README

instruckt-laravel

Laravel package for [instruckt](https://github.com/joshcirre/instruckt) — visual feedback for AI coding agents. Provides the backend API, MCP tools, JSON file storage, and a Blade toolbar component.

Users annotate elements in the browser, annotations are copied as structured markdown, and your AI agent can also read them via MCP.

Requirements

  • PHP 8.2+
  • Laravel 11 or 12
  • laravel/mcp (optional, for MCP tool integration)

Install

composer require joshcirre/instruckt-laravel --dev
php artisan instruckt:install

The install command publishes the config, installs the npm package, and automatically:

  • Adds the instruckt Vite plugin to your vite.config.js with server: false
  • Adds import 'virtual:instruckt' to your JS entry point
  • Configures MCP for any detected AI agents (Claude Code, Cursor, Codex, OpenCode, GitHub Copilot)

To uninstall, run `php artisan instruckt:uninstall`. See [Uninstall](#uninstall) for details.

Setup

Vite Plugin (Default)

The install command adds the instruckt Vite plugin to your `vite.config.js`:

import laravel from 'laravel-vite-plugin'
import instruckt from 'instruckt/vite'

export default defineConfig({
  plugins: [
    laravel({ input: ['resources/js/app.js'] }),
    instruckt({
      server: false,
      endpoint: '/instruckt',
      adapters: ['livewire', 'blade'],
      mcp: true,
    }),
  ],
})

And a single import in your JS entry point:

// resources/js/app.js
import 'virtual:instruckt'

The `server: false` flag tells the Vite plugin that Laravel owns the backend — it only provides the virtual module for client injection.

The plugin only runs during `vite serve` (`apply: 'serve'`), so instruckt is completely absent from production builds — zero bytes shipped.

Blade Component (Alternative)

If you'd rather not touch your JS/Vite config, use the Blade component in your layout before ``: