project-plugin/skills/project-discovery/SKILL.md
Project orientation for unfamiliar codebases. Use when entering a new project, exploring unknown repos, or working on shaky assumptions about build, test, lint, or CI setup.
npx skillsauth add laurigates/claude-plugins project-discoveryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Use this skill when... | Use project-continue instead when... | |---|---| | Entering an unfamiliar codebase and need orientation on language/tooling | Resuming known work on a familiar project from PRDs and feature tracker | | Reasoning shows uncertainty phrases ("not sure what this does") | Already have a clear next task and just need to continue executing | | Onboarding a fresh clone where build/test commands are unknown | Use project-init instead when scaffolding a brand-new project from scratch |
Systematic project orientation to understand codebase state before making changes. Prevents working on incorrect assumptions by establishing clear context about git state, project structure, and development tooling.
Automatic Activation Detection:
Discovery Capabilities:
Output:
This skill automatically activates when Claude's internal reasoning or responses contain uncertainty phrases like:
Rationale: These phrases indicate Claude is working on incomplete context, which can lead to incorrect assumptions, wrong commands, or inappropriate file edits.
Users can explicitly request project discovery with keywords:
Do NOT activate this skill when:
For fast, consistent project orientation, run the bundled discovery script:
bash "${CLAUDE_PLUGIN_ROOT}/skills/project-discovery/scripts/discover.sh"
This replaces the manual 5-step process with a single execution that outputs structured data covering git state, project type, tooling, documentation, and risk assessment.
For the full manual workflow (5 steps with all commands, risk flags, the summary template, error handling for non-git / empty / large-monorepo / missing-docs cases, and the underlying rationale), see REFERENCE.md.
After project discovery, if user asks for deeper investigation:
Explore agentsecurity-audit agentcode-analysis agentProject discovery establishes baseline context; specialized skills handle deep investigation.
git branch --show-current # Current branch
git status --short --branch # Git state summary
git log --oneline -n 10 # Recent commits
git rev-list --count HEAD...@{u} # Commits ahead/behind remote
ls -la | grep -E "(package\.json|Cargo\.toml|pyproject\.toml|go\.mod)"
find . -maxdepth 3 -name "package.json" # Monorepo detection
jq -r '.scripts | keys[]' package.json # npm scripts
grep "^[a-zA-Z0-9_-]*:" Makefile # Make targets
ls -la .github/workflows/ # GitHub Actions
head -50 README.md # Project description
ls -la | grep -E "(README|CONTRIBUTING)" # Key docs
See examples.md for complete discovery outputs for:
For detailed command reference and more examples, see discovery-commands.md and examples.md.
tools
Scaffold a new ComfyUI custom-node repo (pyproject, CI, release-please, vitest+pytest, JS extension skeleton) in the picker/gesture vein. Use when bootstrapping or init-ing a comfyui node pack.
tools
Orchestrate a ComfyUI node pack from idea to registry: scaffold, create + seed the repo, open the gitops adoption PR. Use when releasing or spinning up a new comfyui node pack.
testing
macOS EndpointSecurity/EDR high CPU & battery drain. Use when Kandji ESF / XProtect pegs a core; trace the exec storm via powermetrics + eslogger.
development
odiff pixel-by-pixel image diffing. Use when comparing screenshots, detecting visual regressions, diffing before/after PNGs, asserting golden images.