본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)280k · #271

brownfield-retrospective

하는 일

이 도구는 기존 소프트웨어 프로젝트를 이해하고 개선하도록 돕습니다. 현재 코드를 분석하고, 그렇게 만들어진 이유를 추적하며, 빠졌거나 개선할 수 있는 부분을 찾아냅니다.

사용하는 경우

  • ✓오래된 프로젝트에 새 도구를 도입하기 시작할 때.
  • ✓내가 만들지 않은 코드를 물려받거나 다시 다룰 때.
  • ✓무엇이 빠졌는지, 또는 코드가 왜 그런 모습인지 알고 싶을 때.

스킬 링크

https://github.com/affaan-m/ECC/blob/main/skills/brownfield-retrospective/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/skills/brownfield-retrospective/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 기존 프로젝트를 분석해서 무엇을 개선할 수 있는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

코드 한 조각을 가져와 현재 상태를 살펴보고, 그 상태를 만든 결정들을 찾아내려고 시도한 뒤, 발견된 문제를 고칠 계획을 세우는 방식으로 작동합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Brownfield Retrospective

Run ECC's engineering process retroactively against a project that was built without it. Pick any slice of an existing codebase, audit what exists, reconstruct how it got there, extract a four-axis gap register, then execute the fixes forward through the standard ECC pipeline.

The workflow is slice-first: no whole-repo onboarding is required before it is useful, and every phase is re-enterable from a durable artifact on disk. Start in the middle, work backwards, then move forward.

When to Activate

  • Adopting ECC in a repository that already exists and is already shaped
  • User asks to "audit my existing project", "retro this codebase", or "what did we miss?"
  • Taking over, inheriting, or returning to a codebase after a long gap
  • User asks "why is it like this?" followed by "should it stay like this?"
  • A module, feature, or service needs a rethink before the next feature lands on top of it
  • Deciding whether a legacy area should be fixed forward, rewritten, or left documented as-is

When Not to Use

  • Greenfield work with no existing code — use planner and tdd-workflow directly
  • Onboarding to spec-driven development without the redesign loop — the spec-miner agent does that on its own
  • A launch go/no-go production-readiness pass — use production-audit
  • Security-only sweeps — use security-review
  • Team process retrospectives (sprint ceremonies) — this audits a codebase, not people

The Working Set

All artifacts are written inside the audited project, under docs/retro/<slice>/:

File Phase Purpose
gap-register.md 0-6 The state machine — perimeter, Current phase: marker, and rows. The only file required to resume mid-stream.
baseline-audit.md 1 Reviewer findings, test/CI snapshot, TODO inventory.
reconstructed-spec.md 2 What the code actually does today (Requirements + Invariants).
target-design.md 4 Target shape for the slice and the fix sequence.

Backfilled decisions go to docs/adr/ per the architecture-decision-records skill. If the project uses OpenSpec, reconstructed-spec.md may instead be openspec/specs/<capability>/spec.md produced by spec-miner.

How It Works

Phase 0 — Pick the Entry Point

Start from what the user cares about today. Do not map the whole repo first.

Any of these is a valid slice:

User signal Slice
Names a directory, module, or service That path plus its direct callers
Names a feature or user flow The files that implement it, traced from the entry point
Names a bug, incident, or pain point The code that produced it plus one level of call chain
Names a dependency or tech choice Everything that touches it
Names nothing The 2-3 hottest paths by churn — propose them and let the user pick

Record the perimeter at the top of gap-register.md before anything else: paths in scope, entry points, callers, blast radius. Budget the slice at roughly 15 files or 2,000 lines; if the user's pick is bigger, cut it into named sub-slices and register each as its own row of work. A slice too big to audit in one session is a slice that never finishes. Keep a Current phase: marker beside the perimeter and advance it each time a phase completes.

Phase 1 — Present-State Audit

Establish what exists now, with evidence. Do not fix anything yet.

  1. Recon the slice: manifest and framework fingerprint, entry points, test layout, CI checks (borrow the recon steps from codebase-onboarding, scoped to the perimeter).
  2. Run the reviewers that match the stack, in parallel where possible. Every finding must carry a file:line pointer:
    • The language reviewer for the stack (typescript-reviewer, python-reviewer, go-reviewer, ...)
    • security-reviewer
    • silent-failure-hunter for swallowed errors
    • type-design-analyzer where invariants are encoded in types
    • performance-optimizer only if the slice is on a hot path
  3. Snapshot the current state: test count and coverage, lint/CI status, TODO/FIXME/HACK inventory inside the perimeter.

Write everything to baseline-audit.md. Findings that get fixed during this phase corrupt the baseline — hold them for the register.

Phase 2 — Backward Reconstruction

Work backwards from the present state to the decisions that produced it.

…

자주 묻는 질문

코드 ‘조각(slice)’이란 무엇인가요?

모듈이나 특정 기능처럼 프로젝트의 작은 부분입니다. 분석이 전체 코드를 한꺼번에 다루지 않도록 합니다.

‘네 가지 축’은 무엇인가요?

발견된 문제를 정리하는 네 가지 범주입니다. 기록되지 않은 결정(사고), 코딩 관행, 빠진 기능, 기술 선택입니다.

프로젝트 전체를 분석해야 하나요?

아니요. 프로젝트의 작은 ‘조각’ 하나만 분석하는 것으로 시작할 수 있고, 필요하면 나중에 확장할 수 있습니다.

상세 정보

작성자의 원본 설명

Run the ECC engineering process retroactively against an existing project slice. Audit current state, reconstruct past decisions, produce a four-axis gap register (thinking, coding practice, missing features, technology selection), then execute fixes forward through the plan-TDD-review pipeline. Use when adopting ECC mid-project, taking over an inherited codebase, or asking what was missed and wha

repo: affaan-m/ECC

인기도

GitHub 스타
280k
순위
#271
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬