Add Laravel Boost skill: resources/boost/skills/anourvalar-office/SKILL.md#41
Open
AnourValar wants to merge 1 commit into
Open
Add Laravel Boost skill: resources/boost/skills/anourvalar-office/SKILL.md#41AnourValar wants to merge 1 commit into
AnourValar wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
laravel/boostskill so AI agents working in projects that depend onanourvalar/officeautomatically pick up the package's public surface.The new file:
resources/boost/skills/anourvalar-office/SKILL.mdWhat it documents (all verified against the source):
AnourValar\Office\Facadesnamespace holds plain classes / contracts that consumers instantiate or implement manually.ExportService::grid(...)+ExportGridInterface/ExportGridQueryInterfacecontracts (with thePERCENTAGE/DOUBLE_10/DATETIMEheader flags).SheetsService(withhookLoad/hookBefore/hookValue/hookAfter) for XLSX/ODS template rendering -> Xlsx/Pdf/Html/Ods.DocumentServicefor DOCX template filling.GridService(withhookLoad/hookBefore/hookHeader/hookRow/hookAfter) for spreadsheet exports.Generated(save,saveAs,hookSave, public$driver).Mixerfor unioning multipleGeneratedworkbooks into one multi-sheet file.Formatenum,Bufferstringable.SheetsInterface,GridInterface,DocumentInterface,MixInterface,MultiSheetInterface.PhpSpreadsheetDriver(full feature set, exposespublic readonly Spreadsheet $spreadsheet) andZipDriver(fast, low-memory; same-format only).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
src/(service hooks, driver method signatures, Format enum cases).resources/boost/skills/).Generated by Claude Code