gadaalabs/claude-code-on-steroids/pathfinder
Claude Code and agent skill by gadaalabs/claude-code-on-steroids
- community
Checking that the SKILL.md file is still in the repository.
Structured first-pass exploration of an unfamiliar codebase — what to read, in what order, what to map, what traps to find. Use when entering any new or inherited project before writing code.
Install
npx vskill@latest install gadaalabs/claude-code-on-steroids/pathfinderSKILL.md
Codebase Onboarding
Overview
PATHFINDER — A pathfinder scouts unfamiliar terrain before the team moves in. When invoked: maps an unknown codebase in 5 phases — project structure, entry points, data flow, architectural patterns, and landmine files — before writing a single line of code.
Core principle: Never write code in a codebase you haven't mapped. 20 minutes of structured exploration prevents days of working against the grain.
Unfamiliar codebases have hidden conventions, undocumented constraints, landmine files, and established patterns. Violating them creates bugs that look mysterious but are obvious to anyone who knows the codebase.
Announce at start: "Running PATHFINDER to map this codebase before writing code."
Progressive Depth Strategy
Always explore at the shallowest level first. Only go deeper when shallow confirms relevance. Reading full files speculatively wastes context budget — a 500-line file read prematurely costs 10x more than a 50-line header read.
Rule: Never full-read a file >100 lines in the first pass. Read headers, confirm relevance, then go deep.
When to use:
- First time working in a project
- Returning after > 2 weeks away
- Inheriting someone else's work
- Working in a new module/subsystem of a large project
Phase 1: Orientation (5 minutes)
Read these in order. Do not skip:
1.1 Entry Points
Extract:
- What does this project do? (1 sentence)
- What language/runtime?
- What are the install/run commands?
- What testing framework?
1.2 Project Instructions
These override everything else. Read completely before proceeding.
1.3 Recent History
Extract:
- What was the most recent focus area?
- Any in-progress work?
- Any merge conflicts or dirty state?
Phase 2: Structure Map (5 minutes)
2.1 Directory Layout
Map to mental model:
2.2 Find the Entry Points
Trace: entry point → router/dispatcher → handlers → services → data layer.
2.3 Find the Tests
Baseline: All tests passing? If not — document which are broken BEFORE you touch anything.
Phase 3: Convention Detection (5 minutes)
Read 2-3 existing files to extract conventions. Never guess — read the code.
3.1 Naming Conventions
Detect:
- camelCase, snake_case, PascalCase, kebab-case?
- File naming:
component.tsx,ComponentName.tsx,component-name.tsx? - Function naming:
getUser,fetch_user,FetchUser? - Constants:
MAX_RETRIES,maxRetries,MAX-RETRIES?
3.2 Import/Module Style
Detect:
- Absolute vs relative imports?
- Barrel files (
index.tsre-exports)? - Path aliases (
@/componentsvs../components)?
3.3 Error Handling Pattern
Detect: Exceptions? Result types? Error callbacks? Error objects vs strings?
3.4 State Management (if frontend/full-stack)
3.5 Data Access Pattern
Phase 4: Trap Detection (5 minutes)
These are the landmines. Find them before stepping on them.
4.1 Large / Complex Files
Rule: If a file > 500 lines, read its top 50 lines to understand what it owns. Don't add to it without understanding it.
4.2 Shared Mutable State
4.3 Environment Dependencies
Document: Every env var required. Which ones have no defaults and will fail silently?
4.4 Known Broken / In-Progress
Don't accidentally fix these without understanding why they're deferred.
4.5 Critical Files — Do Not Touch Without Full Understanding
Identify files that, if broken, take down the whole system:
- Auth/session middleware
- Database connection pool
- Main router / API gateway
- Schema migration files
- CI/CD pipeline configs
Phase 5: Onboarding Summary
After completing all 4 phases, produce this summary before writing any code:
Store the summary in auto-memory:
Register in MEMORY.md so it loads next session.
Domain-Specific Additions
ML / Data Science Codebases
Additional checks:
Traps: Notebooks often have hardcoded paths. Models often assume GPU. Data pipelines often have environment-specific config.
Embedded / Firmware Codebases
Additional checks:
Traps: Linker scripts are critical. Stack sizes are often hardcoded. Clock initialization order matters.
AI / Agent Codebases
Additional checks:
Traps: System prompts often have hidden constraints. Rate limits often not surfaced in code.
Integration with Superpowers
Run before:
- Any first code change in a new project
architect— context for design decisionsblueprint— architecture decisions need codebase knowledgeoracle— includes codebase health in complexity assessment
After completion:
- Store onboarding summary in auto-memory
- Use
chronicleto record any unusual patterns found
Final Rule
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pathfinder/SKILL.md
Popularity
- Repository stars
- 68
- Repository forks
- 11
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gadaalabs/claude-code-on-steroids/pathfinder)