Repository navigation
feat(boost): ship Laravel Boost skills and load the guideline from resources/boost - #87
Merged
Merged
Conversation
This was referenced Oct 13, 2026
…sources/boost
Boost reads third-party package resources from resources/boost/ (guidelines/*.md|.blade.php
and skills/{name}/SKILL.md). The guideline lived at .ai/guidelines/, which Boost only reads in
the application itself, so it was never loaded. Move it to resources/boost/guidelines/core.md
(plain Markdown, it uses no Blade) and add three task skills: telemetry-instrumentation,
telemetry-debugging-performance and telemetry-testing.
A feature test parses every skill the way Boost does, checks the files are not export-ignored,
and checks every Telemetry:: method, fake assertion and telemetry: command they name exists.
Claude-Session: https://claude.ai/code/session_01LtsaMBeethcCYvKx8PTBYL
…avel/ai in the skills Claude-Session: https://claude.ai/code/session_01LtsaMBeethcCYvKx8PTBYL
sylvesterdamgaard
force-pushed
the
feat/boost-skills
branch
from
October 13, 2026 14:17
b9e9aee to
3055abf
Compare
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.
TLDR: Boost never loaded our guideline. It was at
.ai/guidelines/, and Boost only reads that path in the app itself. It now ships atresources/boost/guidelines/core.md, with three task skills next to it, sophp artisan boost:installoffers all of it.What changed
git mv .ai/guidelines/telemetry.blade.php resources/boost/guidelines/core.md. The content is unchanged apart from one line pointing at the skills. It's plain Markdown because it uses no Blade.resources/boost/skills/:telemetry-instrumentation: picking an instrument, OTel names and units, bounded labels,Telemetry::context(), providers, no defensive try/catch.telemetry-debugging-performance:X-Trace-Id, the root-span tallies, N+1 vs duplicate withcode.file.path/code.line.number, theX-Telemetry-Labelbefore/after check,telemetry:watch/ directives.telemetry-testing:Telemetry::fake(), every assertion,recordedMetrics()label and cardinality budgets, testing providers,RejectingExporter.tests/Feature/BoostResourcesTest.phpchecks four things:SkillComposerparses it (name matches the directory, description present, at most 1024 chars);resources/boostis export-ignored;Telemetry::x(),$fake->x(),RecordedMetricsassertion andtelemetry:command named in the guideline or skills exists;resources/boost, fails it.docs/getting-started/ai-assistants.md(what ships, the direct-dependency catch, the third-party prompt), README, llms.txt, CONTRIBUTING, AGENTS.md (path update), CHANGELOG under [Unreleased].How Boost finds package skills and guidelines (checked against laravel/boost v2.10.3, latest release, 2026-10-07)
resources/boost/skills/{name}/SKILL.md(orSKILL.blade.php).ThirdPartyPackage::skillDirectories()→PackageRegistry::boostPath($package, 'skills')=<package>/resources/boost/skills.SkillComposer::parseSkill()needs YAML frontmatter withnameanddescriptionand silently skips a skill without them. The docs say the same: Third-Party Package Skills.*.md/*.blade.phpunder<package>/resources/boost/guidelines/(GuidelineComposer::getThirdPartyGuidelines()), with the key<package>/<file>. The docs nameresources/boost/guidelines/core.blade.php(Third-Party Package AI Guidelines)..mdhas been accepted since 1.x..ai/guidelinesisbase_path('.ai/guidelines')only, which is the app's own directory and is never read from a package.$package->isDirect()), andboost:installasks which third-party packages to include. The choice is saved inboost.json.Verified end to end
I made a fresh
laravel/laravelapp, added path repos for this branch and the matching UI and insights branches, and installedlaravel/boost2.10.3. Then I ranphp artisan boost:install --guidelines --skills -n:CLAUDE.mdnow contains=== cboxdk/laravel-telemetry/core rules ===..claude/skills/now containstelemetry-instrumentation,telemetry-debugging-performance,telemetry-testing,telemetry-ui-mcpandtelemetry-insights-triage.git archive HEADincludesresources/boost/**.composer checkis green.Sibling PRs: cboxdk/laravel-telemetry-ui#17 (
telemetry-ui-mcp) and cboxdk/laravel-telemetry-insights#4 (telemetry-insights-triage).https://claude.ai/code/session_01LtsaMBeethcCYvKx8PTBYL