laravel-docs

Installation
SKILL.md

Laravel Docs Search (delegated)

Why delegate

Raw docs chunks are large (~1500 tokens/call) and often include prose you won't reuse. A sub-agent can absorb the full markdown, synthesise a compact answer (method signatures, version notes, gotchas), and hand only that back — keeping your working context clean.

Workflow

  1. Read composer.json in the project — grab laravel/framework version, normalize to major.x (e.g. ^13.0 → 13.x).
  2. Spawn one sub-agent using the Agent tool (subagent_type: general-purpose) with the prompt template below. Wait for it — you need the answer before writing code.
  3. Use the returned synthesis to write the implementation. If gaps remain after reading the answer, spawn one follow-up sub-agent with the missing queries. Don't exceed 2 sub-agent calls per task.

Agent tool invocation

  • description: short label, e.g. "Laravel docs: <topic>"
  • subagent_type: general-purpose
  • prompt: use the template below, filling in {VERSION} and {QUERIES}

Prompt template for the sub-agent

Installs
9
First Seen
Mar 7, 2026
laravel-docs — dzmitry-vasileuski/skills