Explore

From softspark/ai-toolkit · View interactive version

Explore is an AI agent skill from the GitHub repository softspark/ai-toolkit. Explores codebase structure, stack, and architecture. Triggers: explore codebase, project structure, stack overview, architecture map.

How to use this skill

Skill file

Codebase Exploration

$ARGUMENTS

Explore and understand a codebase structure.

Project context

Usage

/explore [path]

What This Command Does

  1. Maps project structure
  2. Identifies technology stack
  3. Finds key files and patterns
  4. Reports architecture overview

Output Format

## Codebase Analysis Report

### Project Type
- **Language**: [TypeScript/Python/PHP/etc.]
- **Framework**: [Next.js/FastAPI/Laravel/etc.]
- **Package Manager**: [npm/pnpm/pip/composer]

### Directory Structure

project/

├── src/ # Source code

├── tests/ # Test files

├── config/ # Configuration

└── ...


### Key Files
| File | Purpose |
|------|---------|
| `src/index.ts` | Entry point |
| `src/api/` | API routes |

### Dependencies
- **Runtime**: [list]
- **Dev**: [list]

### Patterns Detected
- [Pattern 1]
- [Pattern 2]

### Entry Points
- [Entry 1]
- [Entry 2]

Technology Detection

| Marker | Technology |

|--------|------------|

| package.json | Node.js |

| tsconfig.json | TypeScript |

| next.config.* | Next.js |

| nuxt.config.* | Nuxt |

| pyproject.toml | Python |

| composer.json | PHP |

| pubspec.yaml | Flutter/Dart |

| Cargo.toml | Rust |

| go.mod | Go |

When to Use

READ-ONLY

This skill ONLY reads and analyzes.

It does NOT write or modify any files.

Visual Output

For an interactive HTML tree visualization of the codebase:

python3 ${CLAUDE_SKILL_DIR}/scripts/visualize.py .

This generates codebase-map.html with collapsible directories, file sizes, and type-colored indicators.

KB Integration

smart_query("codebase analysis: {technology}")
hybrid_search_kb("project structure {framework}")

Rules

Gotchas

When NOT to Use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.