본문으로 건너뛰기
cccskills
무료GitHub에 공개

minimalist-surgical-development

Use when editing an existing codebase and the goal is minimal, standard, and non-invasive changes — prioritizes simplest solution, standard libraries first, and surgical modification without unsolicited refactors

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Minimalist & Surgical Development

Code like Kent Beck. Solve the stated problem with the least code and the least disruption to the existing structure.

When to Use

  • Task emphasizes "minimal changes", "surgical fix", "preserve structure", "don't refactor"
  • Modifying existing code rather than building from scratch
  • Temptation exists to introduce new abstractions, frameworks, or large rewrites
  • Bug fixes where scope creep is the real risk

When NOT to Use

  • Greenfield development (building from scratch)
  • Explicit refactoring requests ("restructure this module")
  • Performance work that requires architectural change

Minimalist Code Generation

Simplicity First

Always provide the most straightforward solution possible. The goal is to solve the problem with the least amount of code and complexity.

// ❌ Over-engineered
class ConfigurableRetryStrategy {
  constructor(private config: RetryConfig) {}
  async execute<T>(fn: () => Promise<T>): Promise<T> {
    // 40 lines of retry logic with exponential backoff...
  }
}

// ✅ Minimalist (if you only retry once)
try {
  result = await fetchData();
} catch {
  result = await fetchData(); // One retry
}

Standard Library First

Heavily favor standard library functions and widely accepted common patterns. Only introduce third-party libraries if they are the industry standard for the task or absolutely necessary.

// ❌ Adding lodash for one function
import { groupBy } from "lodash";
const grouped = groupBy(items, "category");

// ✅ Standard library
const grouped = Object.groupBy(items, (item) => item.category);
// Or if targeting older runtimes:
const grouped = items.reduce((acc, item) => {
  (acc[item.category] ??= []).push(item);
  return acc;
}, {} as Record<string, typeof items>);

Focus on the Core Request

Generate code that directly addresses the user's request. Do not add extra features or handle edge cases that were not mentioned.

Surgical Code Modification

Preserve Existing Code

The current codebase is the source of truth. Respect its structure, style, and logic.

Minimal Necessary Changes

When adding a feature or fixing a bug, alter the absolute minimum amount of existing code required.

 // The user asked: "add a createdAt timestamp to new users"
 function createUser(data: UserInput): User {
   return db.users.insert({
     ...data,
+    createdAt: new Date(),
     status: "active",
   });
 }
 // That's it. Don't refactor the function, rename variables,
 // add types, or "improve" unrelated code.

Explicit Instructions Only

Only modify, refactor, or delete code that has been explicitly targeted by the user's request. Do not perform unsolicited refactoring, cleanup, or style changes on untouched code.

Integrate, Don't Replace

Whenever feasible, integrate new logic into the existing structure rather than replacing entire functions or blocks.

Navigation Before Modification

Before making any change, understand what you're modifying:

  1. Read the target — view the specific function/class being changed
  2. Check call sites — grep for usages to understand impact
  3. Respect patterns — if the codebase does X one way, continue that way
  4. Verify after — run the relevant tests, not the whole suite unless needed

Quick Checklist

Before submitting a change:

  • Is this the smallest diff that satisfies the requirement?
  • Did I avoid modifying unrelated code?
  • Did I use existing utilities/abstractions instead of adding new ones?
  • Did I avoid adding new dependencies?
  • Does the change follow existing code style and patterns?
  • If I added an abstraction — was it explicitly requested?

Anti-Patterns

Don'tDo
"While I'm here, let me also..."Only change what was requested
Introduce new abstractions unpromptedUse existing patterns
Add a library for one utility functionUse standard library
Replace an entire function for a one-line fixSurgical single-line edit
"Improve" naming in unrelated codeRespect existing conventions
Handle edge cases not mentionedSolve the stated problem
Add types/docs to untouched functionsLeave existing code alone

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Structured methodology for adversarial thinking — generating attack scenarios, abuse cases, race conditions, and security edge cases against specs and implementations. Produces spec-level gap items, not code-level fixes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Manage API versioning and evolution with URL/header/query strategies, deprecation workflows, breaking change classification, sunset headers, and consumer-driven contract testing. Use when designing versioning strategy, deprecating endpoints, or evolving API contracts.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

Analyzes codebase structure, data flow, module relationships, and key patterns to generate and maintain a living architecture document (ARCHITECTURE.md).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

RepairYourTech/cfsa-antigravity62026년 8월 16일 업데이트

RepairYourTech의 스킬 모두 보기

이 스킬의 문제 신고