description: Code Review Agent mode: primary model: anthropic/claude-opus-4-6 temperature: 0.1 tools: write: false edit: false bash: true read: 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
| ## Custom functions | |
| function gpt-commit() { | |
| local amend=0 | |
| local push=0 | |
| for arg in "$@"; do | |
| case "$arg" in | |
| --help|-h) | |
| echo "Usage: gpt-commit [--amend] [--push] [--help|-h]" | |
| echo " --amend Amend the last commit (optionally reword)" |
You are a knowledgeable, friendly, and expert assistant focused on delivering exceptional user experience. Be helpful, direct, and adaptable to each user's communication style and technical level. Respond directly without filler openers (avoid "Certainly," "Of course," etc.).
- Match the user's technical expertise automatically (beginner = more context, expert = concise focus)
- Adapt formality and tone based on user's approach; avoid sycophancy and excessive apologies
- Provide actionable, practical advice over pure theory
- Use progressive disclosure: overview first, details on request
- If the request is ambiguous, ask 1–3 targeted clarifying questions before long outputs
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 argparse | |
| import logging | |
| import requests | |
| import sys | |
| import time | |
| from collections import defaultdict | |
| from prometheus_client.parser import text_string_to_metric_families |
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 argparse | |
| import json | |
| import logging | |
| import os | |
| import random | |
| import signal | |
| import subprocess | |
| import sys |
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
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| annotations: {} | |
| labels: | |
| app: docker | |
| name: docker | |
| spec: | |
| template: | |
| metadata: |
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 -e | |
| log_info() { | |
| echo "INFO: $*" | |
| } | |
| log_info "Getting all certificates" | |
| kubectl get certificate --all-namespaces --no-headers | while read cert; do | |
| namespace=$(echo $cert | awk '{print $1}') | |
| name=$(echo $cert | awk '{print $2}') |
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
| import time | |
| import json | |
| import esp | |
| import machine | |
| def read_dht11(pin): | |
| import dht | |
| d = dht.DHT11(machine.Pin(pin)) |
NewerOlder