Skip to content

Add Laravel Boost skill: resources/boost/skills/anourvalar-office/SKILL.md#41

Open
AnourValar wants to merge 1 commit into
masterfrom
claude/laravel-boost-skill-docs-akq1Q
Open

Add Laravel Boost skill: resources/boost/skills/anourvalar-office/SKILL.md#41
AnourValar wants to merge 1 commit into
masterfrom
claude/laravel-boost-skill-docs-akq1Q

Conversation

@AnourValar
Copy link
Copy Markdown
Owner

Summary

Adds a laravel/boost skill so AI agents working in projects that depend on anourvalar/office automatically pick up the package's public surface.

The new file: resources/boost/skills/anourvalar-office/SKILL.md

What it documents (all verified against the source):

  • The package is framework-agnostic and ships no Laravel facades - the AnourValar\Office\Facades namespace holds plain classes / contracts that consumers instantiate or implement manually.
  • ExportService::grid(...) + ExportGridInterface / ExportGridQueryInterface contracts (with the PERCENTAGE / DOUBLE_10 / DATETIME header flags).
  • SheetsService (with hookLoad/hookBefore/hookValue/hookAfter) for XLSX/ODS template rendering -> Xlsx/Pdf/Html/Ods.
  • DocumentService for DOCX template filling.
  • GridService (with hookLoad/hookBefore/hookHeader/hookRow/hookAfter) for spreadsheet exports.
  • Generated (save, saveAs, hookSave, public $driver).
  • Mixer for unioning multiple Generated workbooks into one multi-sheet file.
  • Format enum, Buffer stringable.
  • Driver interfaces: SheetsInterface, GridInterface, DocumentInterface, MixInterface, MultiSheetInterface.
  • Concrete drivers: PhpSpreadsheetDriver (full feature set, exposes public readonly Spreadsheet $spreadsheet) and ZipDriver (fast, low-memory; same-format only).
  • The required optional dependencies (phpoffice/phpspreadsheet, maennchen/zipstream-php, mpdf/mpdf) and the canonical Laravel streaming pattern (response()->streamDownload(...)).

Format follows the Boost skill spec: YAML frontmatter (name, description) plus a focused, agent-oriented markdown body.

Test plan

  • Maintainer reviews factual accuracy against src/ (service hooks, driver method signatures, Format enum cases).
  • Description correctly activates for document-generation/export tasks in Boost.
  • No other files changed in the repo (single new SKILL.md under resources/boost/skills/).

Generated by Claude Code

Document the framework-agnostic services (SheetsService,
DocumentService, GridService, Mixer, ExportService) plus the Format
enum and the PhpSpreadsheetDriver / ZipDriver concrete drivers so
laravel/boost agents pick the right service for XLSX/CSV/PDF/HTML/ODS
generation, DOCX template filling, and grid exports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant