Skip to content

Commit d00aa5a

Browse files
authored
Merge pull request #3 from codebar-ag/feature-package
Feature Package
2 parents 33f5a79 + 53b8218 commit d00aa5a

83 files changed

Lines changed: 1716 additions & 168 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/prompts/actions.prompt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write a CreateInvoice Action class. It receives an Order, creates an Invoice, and returns it.
12+
Use execute() method and constructor dependency injection. No HTTP concerns.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write an AlbatrosConnector extending Saloon Connector. Use config('albatros.base_url'), Mandant header, Bearer token.
12+
Use Cache for reference data. German domain terms in DTOs are acceptable.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512

.github/prompts/blade.prompt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write a Blade component that displays a user's name and email. Use {{ }} for escaped output.
12+
No inline style or script tags. Use x-component syntax.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 384
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write an Artisan command invoices:send-reminders with required email argument and --dry-run option.
12+
Delegate to SendInvoiceReminderAction. Return self::SUCCESS or self::FAILURE. Validate input.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write an invokable StoreInvoiceController that receives StoreInvoiceRequest, calls a CreateInvoice action,
12+
and returns a JsonResponse with InvoiceResource. No business logic in the controller.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512

.github/prompts/design.prompt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write an anonymous Blade button component with @props for variant and size. Merge $attributes with defaults.
12+
Use min-h-[44px] for touch target, focus-visible:ring-2. Mobile-first.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write a DocuWareService that wraps the DocuWare connector. Constructor accepts optional connector for testability.
12+
Use config('laravel-docuware.credentials.*') not env(). Include fetchDocument or similar method signature.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512

.github/prompts/dto.prompt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write a readonly CustomerData DTO with id, name, email. Include fromArray() factory that handles
12+
PascalCase and snake_case API field names. Use nullable for optional fields.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512

.github/prompts/dusk.prompt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write a Dusk test that logs in, visits /invoices/create, uses dusk="" selectors, calls assertNoJavaScriptErrors().
12+
Use DatabaseTruncation. Use loginAs(), waitForText, never pause().
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512

.github/prompts/enums.prompt.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a Laravel developer. Apply these guidelines exactly:
5+
6+
{{skill_content}}
7+
8+
Respond with only the requested code. No explanations unless asked.
9+
- role: user
10+
content: |
11+
Write a Status enum with Draft, Active, Archived. Include label() and color() methods using match expressions.
12+
Use backed string enum.
13+
model: openai/gpt-4o-mini
14+
modelParameters:
15+
temperature: 0.2
16+
maxCompletionTokens: 512

0 commit comments

Comments
 (0)