Project discovery

From laurigates/claude-plugins · View interactive version

Project discovery is an AI agent skill from the GitHub repository laurigates/claude-plugins. 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.

How to use this skill

Skill file

Project Discovery

When to Use This Skill

| 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.

Core Expertise

Automatic Activation Detection:

Discovery Capabilities:

Output:

When This Skill Activates

Automatic Triggers

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.

Manual Invocation

Users can explicitly request project discovery with keywords:

When NOT to Activate

Do NOT activate this skill when:

Quick Discovery (Recommended)

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.

Integration with Other Skills

Related Skills

When to Delegate

After project discovery, if user asks for deeper investigation:

Project discovery establishes baseline context; specialized skills handle deep investigation.

Quick Reference: Discovery Commands

Essential Git Commands

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

Project type, tooling, and docs

scripts/discover.sh already detects project type (manifest files), tooling

(npm scripts, Make targets, CI workflows), and documentation. Read those signals

from the script's structured output, or use the Glob/Grep/Read tools

directly rather than hand-coding ls/find/head shells — see

REFERENCE.md for the full manual command set.


Example Output

See examples.md for complete discovery outputs for:


For detailed command reference and more examples, see discovery-commands.md and examples.md.

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.