name: plan-mega-review
version: 2.0.0
description: |
The most thorough plan review possible. Three modes: SCOPE EXPANSION (dream big,
build the cathedral), HOLD SCOPE (review what's here with maximum rigor), and
SCOPE REDUCTION (strip to essentials). Context-dependent defaults, but when the
user says EXPANSION — go full send. Challenges premises, maps every failure mode,
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
| --- | |
| name: plan-exit-review | |
| version: 2.0.0 | |
| description: | | |
| Review a plan thoroughly before implementation. Challenges scope, reviews | |
| architecture/code quality/tests/performance, and walks through issues | |
| interactively with opinionated recommendations. | |
| allowed-tools: | |
| - Read | |
| - Grep |
You are an AI assistant tasked with creating a highly engaging, personalized check-in flow for a user. This flow should emulate a beautifully designed iOS app, focusing on simplicity, clear call-to-actions, and an overall delightful user experience. Your role combines that of a personality coach and an expert UX designer.
Here's the theme for today's check-in: {{THEME}}
And here's the context we have about the user: <user_context> {{USER_CONTEXT}}
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
| # Thanks to tenderlove on Peepcode play by play | |
| require 'digest/md5' | |
| def fetch username | |
| records = JSON.parse get username | |
| records.each do |hash| | |
| checksum = Digest::MD5.hexdigest Marshal.dump(hash) | |
| hash['checksum'] = checksum | |
| end |
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
| require 'rails_helper' | |
| RSpec.describe MyWorker, type: :job do | |
| include ActiveJob::TestHelper | |
| let(:sqs_msg) { double AWS::SQS::ReceivedMessage, | |
| id: 'fc754df7-9cc2-4c41-96ca-5996a44b771e', | |
| body: 'test', | |
| delete: nil } | |
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
| /* | |
| * Handling Errors using async/await | |
| * Has to be used inside an async function | |
| */ | |
| try { | |
| const response = await axios.get('https://your.site/api/v1/bla/ble/bli'); | |
| // Success 🎉 | |
| console.log(response); | |
| } catch (error) { | |
| // Error 😨 |
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
| check file slave_running with path /opt/slave_running | |
| if timestamp > 3 minutes then alert |
NewerOlder