From aidlc-inception
Detects greenfield vs brownfield workspaces by scanning file counts, git history, dependencies, and assets. Identifies tech stack, entry points; generates workspace-report.md with reverse-engineering notes for brownfield projects.
npx claudepluginhub aws-samples/sample-oh-my-aidlcopsThis skill is limited to using the following tools:
- AIDLC Inception 을 **시작하는 첫 단계**로서 워크스페이스 상태를 판별할 때
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
.omao/plans/<slug>/workspace-report.md 가 최신 상태로 존재할 때.omao/plans/ 디렉터리가 존재(없을 경우 생성)인자로 받은 경로 또는 현재 작업 디렉터리를 타깃으로 설정합니다. 절대 경로로 변환한 뒤 존재 여부와 읽기 권한을 확인합니다.
다음 시그널을 종합하여 판별합니다.
| 시그널 | Greenfield | Brownfield |
|---|---|---|
| 소스 파일 수 | 10 미만 또는 scaffold 만 존재 | 소스 파일 50 이상 |
| Git 히스토리 | 0~3 commits | 10 이상 commits |
| 의존성 선언 | package.json/pyproject.toml 없음 또는 초기 스캐폴드 | 고정 버전의 의존성 다수 |
| 테스트 자산 | 테스트 파일 없음 | 테스트 디렉터리 존재 |
| 도메인 모델 | 명시된 엔터티 없음 | 모델/스키마 파일 존재 |
판별 결과는 workspace_type: greenfield | brownfield | hybrid 로 기록합니다.
*.py, *.ts, *.go, *.java, *.rs 등 확장자 빈도 집계package.json, pyproject.toml, go.mod, pom.xml 파싱Dockerfile, helm/, terraform/, *.tf, k8s/, kustomization.yaml 존재 여부requirements.txt 에서 vllm, transformers, langfuse, langchain 탐지bin/, cmd/, main.pyapp.py, server.ts, api/ 라우트src/pages/, app/, public/workers/, consumers/workspace_type == brownfield 인 경우, 다음 산출물을 추가 수집합니다.
결과는 reverse-engineering-notes.md 로 별도 저장하고, workspace-report.md 에서 링크합니다.
.omao/plans/<slug>/workspace-report.md 에 다음 섹션을 기록합니다.
# Workspace Report
- workspace_type: brownfield
- primary_language: Python 3.11
- frameworks: [FastAPI, LangChain, vLLM client]
- entry_points: [app/main.py, workers/indexer.py]
- infrastructure: [Helm, Terraform]
- recommended_next: requirements-analysis (adaptive, complex)
requirements-analysis (simple mode)requirements-analysis (structured mode)requirements-analysis + reverse-engineering-notes.md 참조docs/ 위주 레포를 brownfield 로 잘못 분류node_modules/ 를 소스 파일 수에 포함/tmp/ 같은 휘발성 위치로 지정../../CLAUDE.md — aidlc-inception 플러그인 개요../requirements-analysis/SKILL.md — 다음 단계 스킬/home/ubuntu/workspace/oh-my-aidlcops/CLAUDE.md — OMA 전체 철학/home/ubuntu/workspace/oh-my-aidlcops/plugins/aidlc-construction/CLAUDE.md — Phase 2 연결