/agent-resources:orientfrom agent-resources
Systematically explores an unfamiliar codebase to produce a structured orientation document covering purpose, architecture, conventions, and workflows. Useful for onboarding or quickly understanding any project.
Ships in agent-resources. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Systematically explore a codebase and produce a structured orientation that tells a developer everything they need to start working productively. Depth scales with project size — small projects get a tight summary, large projects get a layered map.
Establish what the project is before reading any source code.
README.md / README — stated purpose, setup instructions, feature listAGENTS.md — architecture boundaries, "always do / never do" rules.cursor/rules/ — workspace conventions for this projectpackage.json, pyproject.toml, Cargo.toml, go.mod,
pom.xml, Gemfile, composer.json, or equivalentCONTRIBUTING.md, ARCHITECTURE.md, docs/ index — if presentIf the README is absent or unhelpful, infer purpose from the manifest description field, directory names, and import patterns.
Map the physical layout without reading file contents yet.
# Get directory tree (depth 2–3 depending on project size)
find . -type f | head -200
# or
tree -L 3 -I 'node_modules|.git|dist|build|__pycache__|venv|.venv|target'
| Role | Common names | What to look for |
|---|---|---|
| Source | src/, lib/, app/, pkg/, internal/ | Production code |
| Tests | test/, tests/, spec/, __tests__/ | Test suites |
| Config | Root dotfiles, config/, .github/ | Build/CI/lint config |
| Docs | docs/, doc/, wiki/ | Documentation |
| Infra | infra/, deploy/, terraform/, k8s/, docker/ | Deployment |
| Scripts | scripts/, bin/, tools/ | Automation helpers |
| Generated | dist/, build/, out/, target/ | Build artifacts (skip) |
From manifest files and directory structure, determine:
.github/workflows/, .gitlab-ci.yml, etc.)Now read code — but strategically. The goal is to understand the skeleton, not every function.
| Project size | Approach |
|---|---|
| Small (≤20 files) | Read every source file. Full picture is cheap. |
| Medium (21–100 files) | Read entry points + 3–5 core modules. Skim the rest by name/export. |
| Large (>100 files) | Read entry points, trace one request/command end-to-end, read the 5 highest-import-count modules. |
Look for:
main.ts, index.ts, app.ts, server.ts — web/API entrymain.py, app.py, __main__.py, manage.py — Python entrymain.go, cmd/ — Go entrysrc/main.rs, src/lib.rs — Rust entrybin/ scripts, CLI definitionspackage.json "main", "bin", "exports" fieldspages/, app/ (Next.js), routes/ (Express/Rails)From entry points, follow the import graph to identify:
Read 3–5 pivotal files fully to understand the primary abstraction patterns.
Shift from code structure to user/consumer perspective.
Enumerate:
Enumerate:
Enumerate:
Extract the implicit rules that make contributions consistent.
AGENTS.md explicit rules.cursor/rules/ files.eslintrc, prettier, ruff.toml, clippy)When explicit rules conflict with existing code, note the discrepancy.
Document the practical "how do I..." answers.
| Workflow | Where to find it |
|---|---|
| Install dependencies | README, manifest lockfile presence |
| Run locally | README, scripts in package.json, Makefile, docker-compose.yml |
| Run tests | test script, CI config, test framework config |
| Build / compile | build script, build tool config |
| Lint / format | lint script, pre-commit hooks, editor config |
| Deploy | CI/CD config, deploy scripts, infra/ directory |
| Add a new feature | CONTRIBUTING.md, existing PR patterns |
Note any required:
.env.example, .env.template, docs)Present findings as a structured orientation document. Adapt depth to what the project warrants — a 10-file CLI tool does not need the same treatment as a 200-file web platform.
# [Project Name] — Orientation
## What this project does
[One paragraph: purpose, domain, users/consumers, stage]
## Tech stack
[Language, framework, database, key dependencies — bullet list]
## Project structure
[Directory map with role annotations — only meaningful directories]
## Architecture
[How components connect. Entry points → core logic → data layer.
Include a brief data flow description for the primary use case.]
## Key features
[Bulleted list of what the project does from a user/consumer perspective]
## Conventions
[Naming, patterns, testing approach, error handling — the implicit rules]
## Developer workflows
[How to: install, run, test, build, deploy — with actual commands]
## Caveats and gotchas
[Anything surprising, non-obvious, or likely to trip up a new contributor]
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (jcottam/agent-resources) — no native marketplace selected
npx claudepluginhub p/jcottam-agent-resources14 skills in this plugin
/advisorActivate rigorous, no-nonsense advisory mode for deep analysis, research, critical review, or honest assessment. Use when the user says "advise", "advise me", "give me your honest take", "don't sugarcoat", "be brutally honest", "rigorous mode", "devil's advocate", "second opinion", "challenge this", "stress-test this", "poke holes", "what am I missing", or any variation of wanting unfiltered expert analysis. Also use when the user asks a complex research question, requests a critical review of a plan or architecture, or wants a decision evaluated with full intellectual honesty rather than encouragement./babysit-prBabysit review comments on the current branch's pull request. Bugbot comes first: wait for its review, fix each valid finding, commit, and push. Handle every other open comment too, from human reviewers and other bots. Repeat for up to three rounds, or until nothing new is open. Use when the user says "babysit PR", "babysit this PR", "wait for Bugbot", "address review comments", "address Bugbot comments", "loop until Bugbot is clean", or wants open PR feedback fixed without merging./cleanup-hardenRuns a cleanup and hardening pass on an application or website covering security fixes, DRY consolidation, orphan and dead-code removal, doc drift, dependency audit, error handling, config validation, performance, and repo hygiene, without changing user-facing behavior. Use when the user asks to clean up, prune, harden, audit, tidy, or de-cruft a codebase, remove dead code, fix doc drift, or do a security pass./content-wireframeDraft a content wireframe for a website or page before any design or code. Produces a structured markdown document with real copy, section intent, and open decisions — approved by the user before implementation begins. Use when the user says "content first", "wireframe the copy", "words before design", "start with the content", "what should the page say", or when a website project lacks finalized copy and is jumping straight to visuals./hostUpload files to Cloudflare R2 and return a shareable public URL. Supports any file type (HTML, images, PDFs, etc.) with automatic slug generation, clipboard copy, and hosting history tracking. Use when the user says "host", "host this", "host file", "publish", "publish this", "share this file", "upload to R2", "make this public", "get a shareable link", "deploy this file", "put this online", or any variation of wanting to make a file publicly accessible via URL./new-projectKickstart a new project by interviewing for context, choosing Astro or Next.js and extras, then scaffolding a barebones app on Vercel with Tailwind, base shadcn/ui, pnpm, Vitest, a `pnpm check` gate, AGENTS.md, a plain-language README, a CHANGELOG, and a GitHub repo under `jcottam`. Use when the user says "new project", "start a project", "scaffold", "bootstrap", "init a repo", or "spin up an app".Other plugins' skills for the same job