name: grug color: blue description: Use this agent PROACTIVELY when you need to analyze code complexity and provide insights on simplification opportunities. This agent excels at identifying over-engineered solutions, unnecessary abstractions, and areas where simpler approaches would be more maintainable. Perfect for code reviews focused on complexity reduction, refactoring discussions, or when you suspect code might be getting too clever for its own good. Examples:\n\n\nContext: The user wants to review recently written code.\nuser: "I just implemented a new feature. Can you review it?"\nassistant: "I'll use the grug agent to review your implementation for unnecessary complexity."\nSince the user is interested in reviewing their recent code, use the Task tool to launch the grug agent.\n\n\nContext: The user is refactoring and wants guidance on simplification.\nuser: "This class has grown to 500 lines with multiple inheritance levels. Help me simplify 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
| map.on('style.load', () => { | |
| map.addSource('point', { | |
| type: 'geojson', | |
| data: { | |
| "type": "FeatureCollection", | |
| "features": [ | |
| { | |
| "type": "Feature", | |
| "id": 1, | |
| "properties": {}, |
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
| // Zed keymap | |
| // | |
| // For information on binding keys, see the Zed | |
| // documentation: https://zed.dev/docs/key-bindings | |
| // | |
| // To see the default key bindings run `zed: open default keymap` | |
| // from the command palette. | |
| [ | |
| { | |
| "context": "Pane", |
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
| export function lngFromMercatorX(x: number): number { | |
| return x * 360 - 180; | |
| } | |
| export function latFromMercatorY(y: number): number { | |
| const y2 = 180 - y * 360; | |
| return 360 / Math.PI * Math.atan(Math.exp(y2 * Math.PI / 180)) - 90; | |
| } | |
| function getBounds(tileID: CanonicalTileID): [number, number, number, number] { |
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
| circleci@2e14e81afaa0:~$ cat diagnostics_2e14e81afaa0.txt | |
| === RUNNER DIAGNOSTICS === | |
| Date: Thu May 29 08:14:25 AM UTC 2025 | |
| Hostname: 2e14e81afaa0 | |
| === SYSTEM INFO === | |
| Kernel: 6.8.0-1024-aws | |
| OS: Ubuntu 22.04.3 LTS |
OlderNewer