Skip to content

Instantly share code, notes, and snippets.

View SoundBlaster's full-sized avatar
💭
Specs & Tests Driven AI Coding

Egor Merkushev SoundBlaster

💭
Specs & Tests Driven AI Coding
View GitHub Profile
@SoundBlaster
SoundBlaster / GPT5.5ProResearch.md
Last active May 3, 2026 11:02
Code Smells and “Rot” in agentic programming

Да — идея хорошая, но я бы формулировал её не как «всегда думай дальше задачи», а как bounded scout mode: “улучшай вокруг себя, но только когда это дешево, локально, проверяемо и не раздувает diff; всё крупное — выноси в предложения/долг”.

Главный вывод после поиска: так уже пробуют, но зрелые практики почти везде добавляют ограничения. Просто “предлагай архитектурные улучшения всегда” быстро превращается в шум, самодеятельность и неконтролируемые рефакторинги.

Что нашлось по сути проблемы

Твоя интуиция про «локальную оптимизацию → гниение кодовой базы» хорошо совпадает с тем, что сейчас начинают мерить. В свежем preprint-исследовании “Debt Behind the AI Boom” авторы проанализировали 302.6k подтверждённых AI-authored commits из 6,299 GitHub-репозиториев; нашли 484,366 distinct issues, причём 89.3% — code smells, а 22.7% отслеженных AI-introduced issues дожили до последней версии репозитория. Это прямо про то, что часть долгов не “самоисправляется”, а остаётся в базе. 

Есть и более концептуальная работа

@@ -0,0 +1,890 @@
import PuzzleCore
import PuzzleUIKit
import SwiftUI
import UIKit
struct ESIMDashboardData: PuzzleSectionedData {
let puzzleSections: [PuzzleSectionModel<String, ESIMDashboardRow>]
}
@SoundBlaster
SoundBlaster / REBUILD-WORKFLOW.md
Created February 10, 2026 06:23
Feature Rebuild Workflow

REBUILD-WORKFLOW — Spec-Driven Rebuild (File/Lists Thinking)

You are an autonomous engineering agent executing a multi-step workflow. You must think in terms of files, lists, matrices, and task graphs. Each step has mandatory inputs and outputs. Do not skip steps. We have an existing working feature in a source branch ("feature branch").
@SoundBlaster
SoundBlaster / Rebuild_Feature_Prompt.md
Created February 10, 2026 06:09
Rebuild Feature Prompt

+++Reasoning +++Tone(style=formal) +++OutputFormat(type=markdown)

REBUILD — Spec-Driven Rebuild of an Existing Feature

+++Reasoning +++Debate +++OutputFormat(type=markdown)

@SoundBlaster
SoundBlaster / vpm_xml.md
Created February 5, 2026 09:43
Virtual Mentor System Prompt - XML

SYSTEM PROMPT: Virtual Mentor


Expert mentor and multi-persona advisor with 25+ years of collective experience.

<ROLE_AND_GOAL> Act as a virtual expert mentor in:

  • system programming
  • agent-based systems
@SoundBlaster
SoundBlaster / vmp.md
Created February 5, 2026 09:42
Virtual Mentor System Prompt - Markdown

SYSTEM PROMPT: Virtual Mentor

You are an expert mentor and multi-persona advisor with 25+ years of collective experience across the following domains:

Role and Goal

  • Act as a virtual expert mentor in system programming, agent-based systems, security, and standardization.

Instructions

  • Provide structured, detailed explanations and practical examples.
  • Identify the user's skill level and adapt communication accordingly.
@SoundBlaster
SoundBlaster / zed-xcodebuildmcp.json
Created January 29, 2026 10:09
How to connect Zed IDE to the XcodeBuildMCP on macOS
{
/// The name of your MCP server
"XcodeBuildMCP": {
/// The command which runs the MCP server
"command": "npx",
/// The arguments to pass to the MCP server
"args": ["-y","xcodebuildmcp@latest"],
/// The environment variables to set
"env": {}
}
@SoundBlaster
SoundBlaster / CALayer_actionForKey.m
Last active November 12, 2025 15:18
The method `-[CALayer actionForKey:]` from QuartzCore approximately reversed from ASM to pseudo Objective-C by DeepSeek
// QuartzCore`-[CALayer actionForKey:]
- (id<CAAction>)actionForKey:(NSString *)event {
// <+0>: pacibsp
// <+4>: sub sp, sp, #0x60
// <+8>: stp x24, x23, [sp, #0x20]
// <+12>: stp x22, x21, [sp, #0x30]
// <+16>: stp x20, x19, [sp, #0x40]
// <+20>: stp x29, x30, [sp, #0x50]
// <+24>: add x29, sp, #0x50
@SoundBlaster
SoundBlaster / CoreAnimationProblemDisplayLink.swift
Created November 12, 2025 14:40
Trying to sync sublayer and UIView layer