Skip to content

Adopt package development skills - #453

Merged
jbrooksuk merged 1 commit into
mainfrom
codex/adopt-boost-project-skills
Aug 26, 2026
Merged

Adopt package development skills#453
jbrooksuk merged 1 commit into
mainfrom
codex/adopt-boost-project-skills

Conversation

@jbrooksuk

Copy link
Copy Markdown
Member

Summary

  • publish Laravel best-practice rules, MCP development, Tailwind CSS, and Psalm security skills
  • adapt the guidance for Orchestra Testbench, service-provider integration, package paths, supported Laravel versions, and consumer-facing contracts
  • extend the testing skill and persistent project instructions with package-specific boundaries
  • leave out convention inference and Livewire guidance because they duplicate project instructions or assume an application-owned structure

Validation

  • all five skill directories pass quick_validate.py
  • composer validate --strict
  • composer test:lint
  • composer build
  • npm run build
  • 1,122 tests passed with 4,123 assertions and 2 todos

Publish Laravel, MCP, Tailwind, and Psalm guidance for Core.

Adapt shared instructions and examples to Orchestra Testbench and package
boundaries.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃挕 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c032f363e1

鈩癸笍 About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 馃憤.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +47 to +49
$response = Http::retry([100, 500, 1000])
->timeout(10)
->post('https://api.example.com/v1/charges', $data);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require idempotency before retrying charge requests

When a non-idempotent request such as this charge succeeds remotely but its response is lost, retry() sends the POST again and can create duplicate charges. Restrict this recommendation to idempotent operations, or require an idempotency key and a retry predicate that is safe for the target API.

Useful? React with 馃憤聽/ 馃憥.

Comment on lines +88 to +90
## Batch Related Jobs

Use `Bus::batch()` when jobs should succeed or fail together.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Do not describe job batches as atomic

When one job fails after earlier jobs have completed, Bus::batch() does not roll back those completed jobs or their side effects, so an import can remain partially applied despite the batch failure. Describe batches as coordination and monitoring, and require transactional, idempotent, or compensating behavior when the work must succeed or fail as a unit.

Useful? React with 馃憤聽/ 馃憥.

Comment on lines +71 to +74
Correct (index-friendly subquery, no PHP memory overhead):

```php
$query->whereIn('company_id', Company::where('name', 'like', $term)->select('id'));

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve relationship constraints in query rewrites

When company() defines additional constraints or uses nonstandard foreign or owner keys, replacing whereHas() with this hard-coded subquery changes which records match because it bypasses the relationship definition. The performance benefit is also database- and plan-dependent, so this should only be recommended after reproducing all relationship constraints and comparing the query plans.

Useful? React with 馃憤聽/ 馃憥.

@jbrooksuk
jbrooksuk merged commit e0f899e into main Aug 26, 2026
23 checks passed
@jbrooksuk
jbrooksuk deleted the codex/adopt-boost-project-skills branch August 26, 2026 10:59
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