code-import
하는 일
기존 코드 프로젝트의 구조를 읽어 정리된 '스냅샷'으로 저장합니다. 이렇게 하면 AI가 매번 모든 파일을 살펴보지 않고도 코드를 분석할 수 있습니다.
사용하는 경우
- ✓AI가 프로젝트 구조를 이해하기를 원할 때.
- ✓AI가 코드를 반복해서 분석하지 않도록 하고 싶을 때.
- ✓코드에 대한 변경이나 제안을 요청하기 전에.
스킬 링크
https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/code-import/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“'/path/to/my/project'에서 제 프로젝트를 [React, npm, CSS, Material UI] 기술 스택으로 가져와 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 프로젝트 경로에 접근해 파일을 분석하고, 정리된 요약을 저장합니다. 이 요약은 이후 분석에 쓰여 시간을 절약합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Code import
Spec §10 / §21.3.2: a code-migration / tune-collab run starts from a
real repo (cloned via od project import or a path the user
provided). This atom turns the raw checkout into a normalised
on-disk record that subsequent atoms (design-extract,
rewrite-plan, patch-edit) operate against. The point is to
stop re-walking the tree on every turn — the agent reads
code/index.json once and trusts the snapshot until the next
explicit re-import.
Inputs
| Source | Required | Notes |
|---|---|---|
repoPath |
yes | Absolute path to the repo's root, supplied via od project import or an upstream od.context.assets[] reference |
targetStack |
yes | { framework, packageManager, styleSystem, componentLibrary } via the matching form GenUI surface |
Output
project-cwd/
└── code/
├── index.json # { files: { path, size, language, imports[] }[], packageJson?, lockfileKind, framework, styleSystem }
├── components.json # detected components with file path + props snapshot
├── routes.json # detected routing model (next/app, react-router, vite-router, …)
└── meta.json # { repoPath, gitSha, walkedAt, atomDigest, walkBudgetMs }
code/index.json is the input every other Phase 7 atom reads. The
walk respects the runner's budgetMs option (default 60s) so
large monorepos don't burn an entire run on import.
Convergence
The atom completes when code/index.json exists and contains at
least one entry. Empty repos abort with a clear error event so the
user re-imports.
Anti-patterns the prompt fragment forbids
- Walking node_modules / .git / .next / dist / build (record in
code/index.json.skipped[]with reason). - Inferring a framework from a single file; require at least
package.json's declared dep + a build-config presence (next.config.*,vite.config.*, etc.). - Treating commented-out imports as live edges.
Status
Implemented by the daemon runner in
apps/daemon/src/plugins/atoms/code-import.ts. The walker enforces its
exclusions and time budget, detects framework evidence, and writes
code/index.json.
자주 묻는 질문
프로젝트가 너무 크면 어떻게 되나요?
프로젝트를 분석하는 데 제한 시간이 있어, 큰 프로젝트라도 너무 오래 걸리지 않도록 합니다.
AI가 'node_modules' 같은 폴더를 분석하나요?
아니요, AI는 'node_modules', '.git', 'dist' 같은 의존성이나 빌드 폴더는 무시하고 관련 코드에만 집중합니다.
AI가 제 프로젝트에 쓰인 기술을 어떻게 아나요?
AI는 'package.json' 파일과 빌드 설정 파일을 확인해 프레임워크, 패키지 관리자, 그 밖의 기술을 식별합니다.
상세 정보
작성자의 원본 설명
Read an existing repository's structure into the project cwd as a normalised snapshot the agent can analyse without re-walking the tree on every turn.
repo: nexu-io/open-design
인기도
- GitHub 스타
- 101k
- 순위
- #979
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
sample-plugin
101k에이전트가 테스트용 메타데이터 파일을 만들도록 합니다. 코드가 다양한 상황에서 올바르게 작동하도록 돕습니다.
aster-atelier
101k클래식한 느낌의 예술 웹사이트를 만들도록 에이전트를 돕습니다. 우아한 이미지, 푸른 하늘, 세리프 글꼴로 영화 같은 분위기를 냅니다.
audio-jingle
101k징글(jingle)과 효과음 같은 오디오를 에이전트가 생성하도록 합니다. 음악과 음성을 만들고 결과를 오디오 파일로 저장할 수 있습니다.
blog-post
101k긴 기사나 블로그 글을 쓰도록 에이전트를 돕습니다. 이미지, 인용문, 작성자 정보를 넣을 공간이 포함됩니다.