{"id":49554267,"url":"https://github.com/sniperwolf/surgical-dev","last_synced_at":"2026-05-03T01:45:15.891Z","repository":{"id":351409927,"uuid":"1210861015","full_name":"sniperwolf/surgical-dev","owner":"sniperwolf","description":"Surgical Dev: engineering standards for Gemini CLI. Enforce surgical precision, senior pragmatism (KISS), and goal-driven execution to eliminate AI over-engineering and drive-by refactoring.","archived":false,"fork":false,"pushed_at":"2026-04-15T12:20:17.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-03T01:44:55.613Z","etag":null,"topics":["gemini-cli-extension"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sniperwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-14T20:40:10.000Z","updated_at":"2026-04-15T12:17:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sniperwolf/surgical-dev","commit_stats":null,"previous_names":["sniperwolf/surgical-dev-extension"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sniperwolf/surgical-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sniperwolf%2Fsurgical-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sniperwolf%2Fsurgical-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sniperwolf%2Fsurgical-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sniperwolf%2Fsurgical-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sniperwolf","download_url":"https://codeload.github.com/sniperwolf/surgical-dev/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sniperwolf%2Fsurgical-dev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32555839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T00:31:16.350Z","status":"ssl_error","status_checked_at":"2026-05-03T00:31:15.546Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gemini-cli-extension"],"created_at":"2026-05-03T01:45:15.149Z","updated_at":"2026-05-03T01:45:15.885Z","avatar_url":"https://github.com/sniperwolf.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/logo.png\" width=\"337\" alt=\"surgical-dev logo\"/\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003esurgical-dev\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003esurgical-level precision. surgical-level pragmatism. Zero-bloat engineering.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/sniperwolf/surgical-dev/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/sniperwolf/surgical-dev?style=flat\u0026color=yellow\" alt=\"Stars\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/sniperwolf/surgical-dev/commits/main\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/sniperwolf/surgical-dev?style=flat\" alt=\"Last Commit\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/sniperwolf/surgical-dev/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/sniperwolf/surgical-dev?style=flat\u0026color=brightgreen\" alt=\"Issues\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/sniperwolf/surgical-dev?style=flat\u0026color=blue\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://geminicli.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Gemini%20CLI-Extension-orange?style=flat\" alt=\"Gemini CLI\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#the-problem\"\u003eThe Problem\u003c/a\u003e •\n  \u003ca href=\"#operational-features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eWorkflow\u003c/a\u003e •\n  \u003ca href=\"#installation\"\u003eInstall\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nA Gemini CLI extension that transforms the model into a **disciplined, surgical engineer.** \n\nInspired by *[Andrej Karpathy's observations](https://x.com/karpathy/status/2015883857489522876)* on LLM coding pitfalls, **surgical-dev** enforces a strict behavioral layer that prioritizes minimal diffs, existing style preservation, and goal-driven verification.\n\nAI coding agents are sometime **\"too helpful\"**: they refactor unrelated code, add speculative abstractions, and fix bugs without reproduction.\n\n## The Problem\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd width=\"50%\"\u003e\n\n### 🗣️ \"Too Helpful\" AI\n\n\u003e \"I've fixed the bug in `auth.ts`. I also took the liberty of updating the deprecated API calls in three adjacent functions, reformatted the whole file from single to double quotes for consistency, and added a new `ConfigManager` class in case you want to add more providers later.\"\n\n\u003c/td\u003e\n\u003ctd width=\"50%\"\u003e\n\n### 🔪 surgical-dev (Disciplined)\n\n\u003e \"Fixed the bug in `auth.ts`. Changed 2 lines only. Verified with new test case.\"\n\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n**Minimal diffs. Zero noise. Maximum impact.**\n\n## Operational Features\n\n| Feature            | What it do                                                       | Trigger                             |\n|--------------------|------------------------------------------------------------------|-------------------------------------|\n| **Dense Context**  | High-density rules in `GEMINI.md` for minimal token overhead.    | Automatic                           |\n| **Audit Command**  | Reviews your plan/diff for over-engineering or scope creep.      | `/surgical:audit`                   |\n| **Reviewer Agent** | Delegate strict code reviews to a surgical specialist sub-agent. | `gemini delegate surgical-reviewer` |\n| **Surgical Skill** | Deep \"behavioral reset\" for complex tasks. (≈500 tokens)         | `Activate surgical-standards`       |\n\n## How to Use\n\nFollow this workflow to maintain surgical-level discipline in every session.\n\n### 1. Strategy Audit (`/surgical:audit`)\n**When:** After the model proposes a plan, but before you say \"Go.\"  \n**Why:** Forces the model to review its own proposal for **Scope Creep** (refactoring a whole file for a 1-line fix) and **Speculative Bloat** (adding abstractions you didn't ask for).\n\n### 2. Surgical Reviewer (`gemini delegate surgical-reviewer`)\n**When:** You've finished a task and want to ensure no \"noise\" leaked into the diff.  \n**Why:** This sub-agent has zero tolerance for non-surgical edits. It will flag quote changes, unnecessary classes, and missing verification steps in its own lean context.\n\n### 3. Behavioral Reset (`Activate surgical-standards`)\n**When:** The model is \"looping,\" getting confused, or producing overly complex code.  \n**Why:** Loads the full, detailed standards as an \"emergency brake\" to return the model to a pragmatic, surgical mindset.\n\n### 4. Continuous Enforcement (`GEMINI.md`)\n**When:** Every single turn.  \n**Why:** Provides a background constraint, reminding the model to reproduce bugs before fixing them and remove orphans (imports/vars) instantly.\n\n## Installation\n\nOne command. Direct from GitHub.\n\n```bash\ngemini extensions install https://github.com/sniperwolf/surgical-dev\n```\n\n### Local Development (Optional)\n```bash\ngemini extensions link YOUR_PATH_TO/surgical-dev\n```\n\n---\n\n**License**\nMIT © 2026 Fabrizio Fallico ([me@fabriziofallico.com](mailto:me@fabriziofallico.com))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsniperwolf%2Fsurgical-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsniperwolf%2Fsurgical-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsniperwolf%2Fsurgical-dev/lists"}