技能 codebase-analysis
🔍

codebase-analysis

安全 🌐 网络访问📁 文件系统访问⚙️ 外部命令

코드베이스 구조 및 아키텍처 분석

也可从以下获取: Consiliency,DoubleslashSE

익숙하지 않은 코드베이스를 이해하는 데는 상당한 시간과 노력이 필요합니다. 이 스킬은 프로젝트 구조, 기술 스택, 의존성 및 코드 품질 지표를 체계적으로 분석하여 온보딩 및 의사결정을 가속화합니다.

支持: Claude Codex Code(CC)
⚠️ 68
1

下载技能 ZIP

2

在 Claude 中上传

前往 设置 → 功能 → 技能 → 上传技能

3

开启并开始使用

测试它

正在使用“codebase-analysis”。 Analyze this codebase structure and give me a quick overview

预期结果:

  • Project: MyApp (React 18 + Next.js 14)
  • Technology Stack: React, Next.js, TypeScript, Tailwind CSS, Zustand
  • Structure: Feature-based organization with components/, features/, hooks/, utils/
  • Quality: TypeScript strict enabled, ESLint configured, 65% test coverage
  • Dependencies: 3 high severity vulnerabilities found - run npm audit for details

正在使用“codebase-analysis”。 Analyze the architecture patterns in this project

预期结果:

  • Architecture: Layer-based with clear separation of concerns
  • Components: Atomic design with co-located styles and tests
  • State Management: Zustand for global state, Context API for local state
  • API Layer: REST endpoints with React Query for data fetching
  • Routing: File-based routing with dynamic route support

正在使用“codebase-analysis”。 Check for vulnerable dependencies

预期结果:

  • Security Audit Results:
  • - 2 critical vulnerabilities in lodash < 4.17.21
  • - 1 high severity vulnerability in moment.js
  • - Run npm audit for detailed remediation steps
  • Recommendation: Update dependencies or apply security patches

安全审计

安全
v5 • 1/16/2026

Pure documentation skill with no executable code. Describes analysis methodology using read-only tools (Glob, Read, Grep) and local npm commands. No network calls, no data exfiltration, no persistence mechanisms.

2
已扫描文件
452
分析行数
3
发现项
5
审计总数
审计者: claude 查看审计历史 →

质量评分

38
架构
100
可维护性
85
内容
21
社区
100
安全
83
规范符合性

你能构建什么

새 프로젝트 온보딩

새 팀에 합류할 때 프로젝트 구조, 규칙 및 주요 구성 요소를 신속하게 이해

아키텍처 결정 평가

리팩터링 또는 주요 변경 계획을 수립하기 전에 코드 구성 패턴 검토

의존성 취약점 식별

프로젝트에서 오래되거나 취약한 의존성을 찾기 위해 보안 감사 실행

试试这些提示

빠른 개요
Analyze this codebase structure and give me a quick overview of the project
아키텍처 검토
Analyze the architecture patterns and identify the main components and their relationships
보안 점검
Check for outdated or vulnerable dependencies using npm audit and npm outdated
품질 평가
Assess the code quality including TypeScript strictness, linting setup, and test coverage

最佳实践

  • 특정 디렉터리를 깊이 파고들기 전에 상위 수준 개요부터 시작
  • 파일 내용을 읽기 전에 빠른 파일 검색을 위해 Glob 및 Grep 사용
  • 의존성 및 스크립트를 위해 항상 package.json을 먼저 확인
  • 발견 사항을 기반으로 구체적이고 실행 가능한 권장 사항 제공

避免

  • 대규모 코드베이스에서 타겟팅된 Glob 검색 없이 모든 파일 읽기
  • 기술 스택 감지 단계 건너뛰기
  • npm/node가 사용 가능한지 확인하지 않고 명령 실행
  • 특정 파일 참조 없이 모호한 권장 사항 제공

常见问题

어떤 플랫폼에서 이 스킬을 지원하나요?
Claude, Codex 및 Claude Code와 호환됩니다. 모든 Claude Code v2.x 환경에서 작동합니다.
분석에 얼마나 걸리나요?
일반적인 프로젝트는 60초 이내에 완료됩니다. 대규모 코드베이스는 타겟팅된 분석 모드가 필요할 수 있습니다.
이 스킬이 프로젝트 파일을 수정하나요?
아니요. 이 스킬은 파일만 읽고 audit 및 outdated와 같은 읽기 전용 npm 명령만 실행합니다.
내 데이터는 안전한가요?
예. 모든 분석은 로컬 머신에서 실행됩니다. 외부 서버로 데이터가 전송되지 않습니다.
npm이 설치되어 있지 않으면 어떻게 되나요?
스킬은 npm 관련 명령을 건너뛰고 파일 스캔을 기반으로 부분적인 분석을 제공합니다.
코드 리뷰와 어떻게 다른가요?
이 스킬은 코드 정확성이 아닌 구조적 분석에 중점을 둡니다. 상세한 코드 리뷰를 위해서는 전용 리뷰 스킬을 사용하세요.

开发者详情

文件结构

📄 SKILL.md