Skip to content
Back to skills

Onboarding To A Project

ASecurity

Applies when a session involves an existing codebase or project context and onboarding should occur prior to brainstorming or implementation. Skip for purely abstract design discussion with no project to onboard to, or if the project was already onboarded earlier in the session

  • 8 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 23, 2026
developmentpythonrustgojavarubyswiftkotlinsqlvuefastapi

Works with

  • cursor
  • api

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add thepragmaticbear/bearpaws --skill onboarding-to-a-project --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Onboarding To A Project?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Onboarding To A Project
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thepragmaticbear-onboarding-to-a-project/badge)](https://www.skillsdirectory.com/skills/thepragmaticbear-onboarding-to-a-project)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: onboarding-to-a-project
description: Applies when a session involves an existing codebase or project context and onboarding should occur prior to brainstorming or implementation. Skip for purely abstract design discussion with no project to onboard to, or if the project was already onboarded earlier in the session
---

<skill>

  <purpose>
    Stack-agnostic onboarding that runs **before** any creative or implementation work. Detect what's actually there, read the team's conventions, sample similar files. The order matters: if you start writing code without first reading the project's existing patterns, your "best practice" suggestion can clash with the team's actual setup.
  </purpose>

  <triggers>
    <rule>Use FIRST whenever there's an existing project context — including before brainstorming a feature for that project. Onboarding identifies what's there; brainstorming designs against it.</rule>
    <rule>SKIP only for purely abstract design questions with no specific project ("how would I architect a system that does X?" with no project named). When the user references "my app", "this codebase", a directory, or any specific project — onboard.</rule>
    <rule>SKIP if you've already onboarded this project earlier in the session — the conventions you discovered then still apply.</rule>
  </triggers>

  <warning level="hard">
    Don't impose conventions from your training data. Read what's already there first. A pattern used in three places is the convention — even if you'd write it differently from scratch. This project's *specific* conventions override your general priors every time.
  </warning>

  <rules>
    <rule>**Manifest first.** Read the project's dependency/build manifest before writing any code. It tells you the stack, the build system, the test runner, and (often) the coding conventions.</rule>
    <rule>**README and CLAUDE.md/AGENTS.md** are higher-priority than your priors. If they say "we use X for Y," use X for Y, even if Z is more popular.</rule>
    <rule>**Sample existing files** — find 2-3 files similar to what you're about to write. Match their imports, naming, error handling, test style.</rule>
    <rule>**Run the test command before writing tests.** If you don't know it works, you don't know what RED looks like.</rule>
    <rule>**Ask when ambiguous.** "I see two patterns for X — should I follow A or B?" beats picking one and being wrong.</rule>
  </rules>

  <process>
    <step>**Detect the stack.** Look for manifests in priority order:
      - JS/TS: `package.json`, `pnpm-lock.yaml`, `yarn.lock`, `package-lock.json`, `bun.lockb`
      - Python: `pyproject.toml`, `setup.py`, `requirements.txt`, `Pipfile`, `poetry.lock`, `uv.lock`
      - Go: `go.mod`, `go.sum`
      - Rust: `Cargo.toml`, `Cargo.lock`
      - Ruby: `Gemfile`, `Gemfile.lock`
      - Java/Kotlin: `pom.xml`, `build.gradle`, `build.gradle.kts`, `settings.gradle`
      - .NET: `*.csproj`, `*.fsproj`, `*.sln`, `global.json`
      - Elixir: `mix.exs`, `mix.lock`
      - Swift: `Package.swift`, `*.xcodeproj`
      - Container: `Dockerfile`, `docker-compose.yml`, `compose.yaml`
      - Infrastructure: `terraform`, `*.tf`, `pulumi.yaml`, `Chart.yaml` (Helm)
    </step>
    <step>**Read project guidance.** `README.md`, `CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `.cursor/rules/*`, `CONTRIBUTING.md`, `.editorconfig`. These encode team conventions the manifest can't. Note an `Allowed commit emails:` line if one exists; `bp:finishing-a-development-branch` and the pre-push hook check commit emails against it.</step>
    <step>**Find the test command.** From the manifest's `scripts`/`test`/`tasks` block, or `Makefile`, or CI config (`.github/workflows/*`, `.gitlab-ci.yml`, `.circleci/config.yml`). Run it cold once to verify the baseline before changing anything.</step>
    <step>**Find similar files.** For "I'm about to write a service/handler/component/migration", grep for 2-3 existing examples of the same shape. Match their structure.</step>
    <step>**Apply process skills.** The discovered conventions plus stack-agnostic process skills (`bp:test-driven-development`, `bp:systematic-debugging`, `bp:writing-plans`, `bp:requesting-code-review`) are sufficient. The stack only changes the *commands you run*, not the *discipline*.</step>
  </process>

  <example type="good">
    User: "Help me add a new endpoint to my service."

    1. Manifest scan: `pyproject.toml` shows FastAPI + SQLAlchemy + pytest. Pinned Python 3.12.
    2. `README.md` mentions the service deploys via GitHub Actions.
    3. `CLAUDE.md` says the team uses async SQLAlchemy and structured `structlog` for logging.
    4. Test command: `pytest tests/` — runs cold, all green (baseline confirmed).
    5. Sampled `app/routers/user.py` — sees the existing endpoint shape: async function, `Depends()` for DB session, `structlog` for logs, custom `APIError` for failures.
    6. The endpoint code follows the project's FastAPI/structlog/async patterns — not generic Flask or print-logging.
    7. Apply `bp:test-driven-development` — write a failing pytest first, in the existing test file's style.
  </example>

  <example type="bad">
    User: "Help me add a new endpoint to my service."

    Bad: jump straight to writing code from training-data priors, with generic `print()` logging and a synchronous DB call. The project uses async/structlog. You imposed framework defaults instead of the project's actual patterns.
  </example>

  <antipattern>
    **Imposing your training-data prior.** "Most Python projects use Black/Ruff/uv" is a statement about the population, not this project. Read the project's lint config (`.ruff.toml`, `pyproject.toml [tool.ruff]`, `setup.cfg`, `.flake8`) and match it. If there's none, ask before introducing one.
  </antipattern>

  <antipattern>
    **Defaulting to the most-popular framework option.** Many Vue projects use Pinia, but this one might use Vuex. Many Python projects use pytest, but this one might use unittest. Detect, don't assume.
  </antipattern>

</skill>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.