name: bloat-detector description: >- Use this agent when you need to identify and flag unnecessary, over-engineered, or speculative code that was likely added by an LLM without explicit user request. This includes finding features, abstractions, or implementations that go beyond what was asked for. Examples:Context: The user asked for a simple function to add two numbers, but the code includes error handling, type checking, and logging. user: "Please write a function that adds two numbers" assistant: "I've created the addition function. Let me review it for potential bloat." Since code was just written, use the bloat-detector agent to check if any unnecessary complexity was added beyond the simple requirement. assistant: "Now I'll use the bloat-detector agent to check for any over-engineering"Context: After implementing a feature, checking if the implementation stayed focused on requirements. user: "Add a button that saves the form" assistant: "I've i
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
| <div class="text-box"> | |
| <!-- NOTE: Attachment Icon --> | |
| <svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="shrink-0" aria-hidden="true"> | |
| <path d="M6.0678 2.16105C7.46414 1.61127 9.04215 2.29797 9.59221 3.69425L12.7983 11.8339C13.1238 12.6606 12.7177 13.5952 11.891 13.9208L11.8149 13.9511C10.9883 14.2765 10.0535 13.8695 9.72795 13.0429L8.02678 8.7255C7.92565 8.46868 8.05228 8.17836 8.30901 8.07706C8.56594 7.97586 8.85624 8.10236 8.95744 8.35929L10.6586 12.6767C10.7819 12.9894 11.1359 13.1436 11.4487 13.0204L11.5248 12.9901C11.8377 12.8669 11.9908 12.5129 11.8676 12.2001L8.66155 4.06046C8.31383 3.17839 7.31727 2.74467 6.43498 3.09171L6.28069 3.15226C5.39843 3.49996 4.96466 4.4974 5.31194 5.3798L9.18108 15.2011C9.75314 16.6533 11.3938 17.3667 12.8461 16.7948L13.0766 16.705C14.5288 16.1329 15.2432 14.4913 14.6713 13.039L12.308 7.03898C12.2069 6.78212 12.3325 6.49177 12.5893 6.39054C12.8461 6.28961 13.1365 6.41605 13.2377 6.67277L15.601 12.6728C16.3753 14.6389 15.4089 16.8 |
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
| { | |
| "_note": "Custom keymap with modifications - demonstrates custom keybinding capabilities", | |
| "_changes": [ | |
| "Leader quit changed from 'q' to 'x' (kakoune-style)", | |
| "Leader help moved from 'h' to '?' (more intuitive)", | |
| "Added F5 to execute query in insert mode", | |
| "Added emacs-style Ctrl+N/P for autocomplete navigation" | |
| ], | |
| "keymap": { | |
| "leader_commands": [ |
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
| { | |
| "_note": "Custom keymap with modifications - demonstrates custom keybinding capabilities", | |
| "_changes": [ | |
| "Leader quit changed from 'q' to 'x' (kakoune-style)", | |
| "Leader help moved from 'h' to '?' (more intuitive)", | |
| "Added F5 to execute query in insert mode", | |
| "Added emacs-style Ctrl+N/P for autocomplete navigation" | |
| ], | |
| "keymap": { | |
| "leader_commands": [ |
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
| #!/usr/bin/env python3 | |
| import http.server | |
| import socketserver | |
| import os | |
| import argparse | |
| import json | |
| import socket | |
| import webbrowser | |
| import sys | |
| import mimetypes |
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
| #!/bin/bash | |
| # Icons and names | |
| ICONS=( | |
| "icon_16x16.png:16x16" | |
| "icon_16x16@2x.png:32x32" | |
| "icon_32x32.png:32x32" | |
| "icon_32x32@2x.png:64x64" | |
| "icon_128x128.png:128x128" | |
| "icon_128x128@2x.png:256x256" |
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
| <?php | |
| use Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Support\Facades\Schema; | |
| use Illuminate\Support\Facades\Artisan; | |
| class CreateDateDimensionTable extends Migration | |
| { | |
| /** |
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
| { | |
| "preset": "laravel", | |
| "rules": { | |
| "array_indentation": true, | |
| "array_syntax": true, | |
| "assign_null_coalescing_to_coalesce_equal": true, | |
| "binary_operator_spaces": true, | |
| "blank_line_after_namespace": true, | |
| "blank_line_after_opening_tag": true, | |
| "blank_line_before_statement": true, |
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
| #Pulled from Chromium at: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/devtools/front_end/toolbox/OverridesUI.js&q=WebInspector.OverridesUI._phones%20file:OverridesUI.js&sq=package:chromium&type=cs&l=310 | |
| #Phones | |
| Define_phones = [ | |
| {deviceName: "Apple iPhone 3GS", width: 320, height: 480, deviceScaleFactor: 1, userAgent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5", touch: true, mobile: true}, | |
| {deviceName: "Apple iPhone 4", width: 320, height: 480, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5", touch: true, mobile: true}, | |
| {deviceName: "Apple iPhone 5", width: 320, height: 568, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Versi |
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
| // In my global app layout, once my app is mounted and ready to listen... | |
| import { mapActions, mapGetters } from 'vuex'; | |
| const Layout = { | |
| mounted() { | |
| // set up pusher listeners | |
| this.connectToPublicChannel(); | |
| this.$watch('authenticated', (auth) => { | |
| if (auth) this.connectToUserChannel(); |
NewerOlder