Skip to content

Instantly share code, notes, and snippets.

View bloatfan's full-sized avatar
🤒
Out sick

bloatfan bloatfan

🤒
Out sick
View GitHub Profile

Claude Code TeammateTool - Source Code Analysis

This is not a proposal. This documents existing but hidden functionality found in Claude Code v2.1.19 binary, plus speculation on how it could be used.


Executive Summary

TeammateTool already exists in Claude Code. We extracted this from the compiled binary at ~/.local/share/claude/versions/2.1.19 using strings analysis. The feature is fully implemented but gated behind feature flags (I9() && qFB()).

Software Engineering Philosophy & Development Protocol

1. Global Integrity & Topology

  • System Awareness: Before implementation, map the dependency graph and system topology. Ensure local changes preserve global invariants and do not trigger "Shotgun Surgery."
  • Orthogonality: Design for independence. Ensure that changes in one module do not leak side effects into others. Minimize coupling and maximize cohesion.

2. Intent & Abstraction Hierarchy

  • Intent-Revealing Design: Prioritize human readability and intent over machine cleverness. Use naming that explains "Why" rather than "How."
  • Single Level of Abstraction (SLA): Adhere strictly to the Single Responsibility Principle (SRP). Each function must operate at a consistent level of abstraction and have exactly one reason to change.
@bloatfan
bloatfan / xdebug.ini
Last active November 28, 2025 17:19
xdebug.ini
zend_extension=xdebug.so
xdebug.collect_return=1
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_connect_back=0
xdebug.remote_host=192.168.10.1
xdebug.remote_port=7777
xdebug.max_nesting_level=512
xdebug.idekey=vagrant
xdebug.remote_autostart=1
@bloatfan
bloatfan / CURL常用命令.md
Last active November 28, 2025 17:19 — forked from 303182519/CURL常用命令.md
CURL常用命令.md
@bloatfan
bloatfan / ubuntu-lxc
Last active November 28, 2025 17:19
ubuntu-lxc
# network.yaml
network:
version: 2
renderer: networkd
ethernets:
enp9s0:
addresses:
- 192.168.1.13/24
gateway4: 192.168.1.1
@bloatfan
bloatfan / vmnetcheck.sh
Last active November 28, 2025 17:18
vmnetcheck.sh
#!/bin/bash
############################################
# 云服务器带宽检查脚本
#
#version:1.2
#使用方法:
#例:./vmnetcheck.sh [em2|em1]
#
#参数说明:
#不写参数时,默认检查外网网卡em1
@bloatfan
bloatfan / .tmux.conf
Last active November 28, 2025 17:02
.tmux.conf
# 支持鼠标模式
# set -g mouse on
# 设置历史窗口缓冲大小
set -g history-limit 30000
# PREFIX-Q 显示编号的驻留时长,单位 ms
set -g display-panes-time 10000
# 关掉某个窗口后,编号重排
@bloatfan
bloatfan / post.lua
Last active November 28, 2025 17:01
wrk post
local threads = {}
wrk.headers['nonce'] = '1'
wrk.headers['sign'] = '1'
wrk.headers['token'] = '1'
wrk.headers['timestamp'] = '1'
setup = function (thread)
table.insert(threads, thread)
end
@bloatfan
bloatfan / yumcentos7.sh
Created October 19, 2024 10:49
yumcentos7
#!/bin/bash
# 检查系统版本
if [ -f /etc/redhat-release ]; then
OS_VERSION=$(grep -oE '[0-9]+\.[0-9]+' /etc/redhat-release)
else
echo "未找到 /etc/redhat-release 文件。请确保您运行的是 CentOS 系统。"
exit 1
fi
@bloatfan
bloatfan / optimize.sh
Last active February 24, 2024 12:38 — forked from taurusxin/optimize.sh
Linux Optimization Script
#!/usr/bin/env bash
echo=echo
for cmd in echo /bin/echo; do
$cmd >/dev/null 2>&1 || continue
if ! $cmd -e "" | grep -qE '^-e'; then
echo=$cmd
break
fi
done