Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
beacon-generator-development
beacon-generator-development
devoption/beacon
claude-code
dockerfile
helm-charts
composer-scripts
safe-file-writer
stub-templates
code-generation
unit-testing

Update Beacon's Dockerfile, Helm, Composer script, and filesystem generation layers using the package's stub-driven architecture.

Install
php artisan boost:add-skill devoption/beacon

Save this content to: .claude/skills/beacon-generator-development/SKILL.md

# Beacon Generator Development

## When to use this skill

Use this skill when working on:

- Dockerfile generation
- Helm chart scaffolding
- Composer script updates
- file-writing behavior for generated artifacts
- stub template changes

## Package files

- `src/Docker/*`
- `src/Helm/*`
- `src/Composer/*`
- `src/Filesystem/*`
- `stubs/docker/*`
- `stubs/helm/**`

## Repository-only references

These files are available in the source repository, but are not shipped in the Composer dist archive:

- [`tests/Unit/Docker/DockerfileGeneratorTest.php`](https://github.com/devoption/beacon/blob/main/tests/Unit/Docker/DockerfileGeneratorTest.php)
- [`tests/Unit/Helm/HelmChartGeneratorTest.php`](https://github.com/devoption/beacon/blob/main/tests/Unit/Helm/HelmChartGeneratorTest.php)
- [`tests/Unit/Composer/ComposerScriptsUpdaterTest.php`](https://github.com/devoption/beacon/blob/main/tests/Unit/Composer/ComposerScriptsUpdaterTest.php)
- [`tests/Unit/Filesystem/SafeFileWriterTest.php`](https://github.com/devoption/beacon/blob/main/tests/Unit/Filesystem/SafeFileWriterTest.php)

## Guidance

- keep generators stub-driven rather than hardcoding large strings in PHP
- route file writes through `SafeFileWriter`
- preserve idempotent output where possible
- keep generated names and labels slug-safe and deployment-friendly
- favor focused unit tests for rendering and write behavior

## Common workflow

1. Update the generator or stub.
2. Add or adjust unit coverage for the changed generator.
3. If artifact behavior affects install flow, verify `tests/Feature/InstallCommandTest.php`.
4. Run `composer test`.

Beacon Generator Development

When to use this skill

Use this skill when working on:

  • Dockerfile generation
  • Helm chart scaffolding
  • Composer script updates
  • file-writing behavior for generated artifacts
  • stub template changes

Package files

  • src/Docker/*
  • src/Helm/*
  • src/Composer/*
  • src/Filesystem/*
  • stubs/docker/*
  • stubs/helm/**

Repository-only references

These files are available in the source repository, but are not shipped in the Composer dist archive:

Guidance

  • keep generators stub-driven rather than hardcoding large strings in PHP
  • route file writes through SafeFileWriter
  • preserve idempotent output where possible
  • keep generated names and labels slug-safe and deployment-friendly
  • favor focused unit tests for rendering and write behavior

Common workflow

  1. Update the generator or stub.
  2. Add or adjust unit coverage for the changed generator.
  3. If artifact behavior affects install flow, verify tests/Feature/InstallCommandTest.php.
  4. Run composer test.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib