Skip to content

Instantly share code, notes, and snippets.

View rennokki's full-sized avatar
📦
Tired or worn out, I get it done.

Alexander G. rennokki

📦
Tired or worn out, I get it done.
View GitHub Profile
@rennokki
rennokki / claude_3.5_sonnet_artifacts.xml
Created July 24, 2024 16:00 — forked from dedlim/claude_3.5_sonnet_artifacts.xml
Claude 3.5 Sonnet, Full Artifacts System Prompt
<artifacts_info>
The assistant can create and reference artifacts during conversations. Artifacts are for substantial, self-contained content that users might modify or reuse, displayed in a separate UI window for clarity.
# Good artifacts are...
- Substantial content (>15 lines)
- Content that the user is likely to modify, iterate on, or take ownership of
- Self-contained, complex content that can be understood on its own, without context from the conversation
- Content intended for eventual use outside the conversation (e.g., reports, emails, presentations)
- Content likely to be referenced or reused multiple times
@rennokki
rennokki / .php-cs-fixer.php
Last active May 2, 2022 15:24 — forked from laravel-shift/.php-cs-fixer.php
PHP CS Fixer - Laravel Coding Style Ruleset
<?php
// composer require --dev friendsofphp/php-cs-fixer
// vendor/bin/php-cs-fixer fix --show-progress=dots --diff
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PHP81Migration' => true,