소스 코드 진입점을 탐지하여 각 진입점마다 context-generator 에이전트를 실행합니다. test/, scripts/, docs/ 등은 자동으로 제외되고 실제 소스 디렉토리만 처리합니다.
From project-context-storenpx claudepluginhub 0pg/cc-marketplace --plugin project-context-storeThis skill uses the workspace's default tool permissions.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
프로젝트의 모든 소스 코드 디렉토리에 CLAUDE.md를 생성하여 코드 재현성을 보장합니다.
프로젝트 루트에서 소스 코드 진입점을 탐지합니다.
진입점 판정 기준 (우선순위 순):
src/, lib/, app/, pkg/, internal/, cmd/src/ (Cargo.toml 존재 시)cmd/, pkg/, internal/__init__.py 존재)src/, lib/ (package.json 존재 시)src/main/java/, src/main/kotlin/, src/main/scala/src/src/main/ 하위탐지 절차:
1. Glob으로 표준 디렉토리 존재 확인
2. 각 후보 디렉토리에 소스 파일 존재 확인
3. 탐지된 진입점 목록 생성
자동 제외 (진입점으로 선택 안됨):
탐지된 각 진입점에 대해 병렬로 Task 생성:
for entry_point in detected_entry_points:
Task(
subagent_type="project-context-store:context-generator",
prompt=f"대상: {entry_point}",
description=f"Generate context for {entry_point}"
)
최종 결과: 소스 코드가 있는 모든 하위 디렉터리에 각각 CLAUDE.md가 생성됩니다. 예시:
각 CLAUDE.md는 해당 디렉터리의 직접 파일만 담당합니다.
모든 Agent가 완료되면 결과를 요약합니다:
=== Context Generation Report ===
탐지된 진입점:
- src/
- lib/
생성된 CLAUDE.md 파일들:
- src/CLAUDE.md
- src/auth/CLAUDE.md
- src/api/CLAUDE.md
- lib/CLAUDE.md
사용자 질문: N개 응답됨
다음은 context-generator Agent가 담당합니다 (Skill이 하는 일 아님):
상세 내용은 agents/context-generator.md 참조.