agentleFS
jerelvelardejerelvelarde/chalk-skills/skills/create-onboarding-guide/SKILL.md

create-onboarding-guide

Skill8 starsChanged 9 months agoMITView on GitHub

Create a developer onboarding guide when the user asks to write onboarding docs, create a getting started guide, document the setup process, or help new developers ramp up

  • Reads credentials
  • Commits and pushes

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test framework and test file patterns

    line 35
  2. Distinctive:

    If not specified, create a general full-stack onboarding guide.

    line 44
  3. Very specific:

    Verify setup steps against actual project files (package.json scripts, Makefile targets, etc.).

    line 51
  4. Distinctive:

    Start with product profile and architecture overview

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create Onboarding Guide

Overview

Generate a structured developer onboarding guide by reading all available .chalk/docs/ documentation and curating it into a progressive learning path. The guide follows a Day 1 / Week 1 / Month 1 structure, starting with environment setup and a first commit, then expanding to architecture understanding and feature ownership. Every step is concrete and runnable — no "ask around" or tribal knowledge assumptions.

Workflow

  1. Read all available documentation — Scan the full .chalk/docs/ directory tree:
    • .chalk/docs/product/ for product profile, PRDs, user stories, and roadmap
    • .chalk/docs/engineering/ for architecture docs, ADRs, runbooks, and incident history
    • .chalk/docs/ai/ for analysis documents and research
    • Root .chalk/docs/ for any overview or index documents Build a mental map of what documentation exists and what gaps remain.
  2. Inspect the codebase — Use Bash and Glob to understand the project structure:
    • Package manager and dependency files (package.json, requirements.txt, go.mod, etc.)
    • Build and run scripts
    • Test framework and test file patterns
    • Environment configuration (.env.example, config files)
    • CI/CD configuration
    • Linting and formatting tools
  3. Parse the onboarding scope — From $ARGUMENTS, identify:
    • Which project or team the guide is for
    • Whether the guide targets a specific role (frontend, backend, full-stack, etc.)
    • Any specific areas the user wants emphasized If not specified, create a general full-stack onboarding guide.
  4. Build the Day 1 section — Environment setup and first commit:
    • Step-by-step setup instructions with copy-pasteable commands
    • How to run the application locally
    • How to run the test suite
    • A "hello world" first task: a small, safe change that exercises the full development workflow (edit, test, commit, PR) Verify setup steps against actual project files (package.json scripts, Makefile targets, etc.).
  5. Build the Week 1 section — Architecture and first real contribution:
    • Curated reading list from existing docs, ordered from foundational to detailed
    • Simplified architecture overview (key services, data flow, external dependencies)
    • A starter task: a real but well-scoped issue that builds understanding
    • Key concepts the developer must understand to be effective
    • Common gotchas that trip up new team members (based on incident reports, ADRs, and codebase patterns)
  6. Build the Month 1 section — Ownership and cross-cutting concerns:
    • Feature ownership expectations
    • Cross-cutting concerns: authentication, logging, error handling, deployment, monitoring
    • How to navigate the codebase for common tasks
    • Who to ask about what (mapped to teams or roles, not individuals)
  7. Create the reading list — Order all .chalk/docs/ files into a recommended reading sequence:
    • Start with product profile and architecture overview
    • Then PRDs and ADRs relevant to the developer's area
    • Then runbooks and operational docs
    • Mark which docs are "required reading" vs. "reference"
  8. Identify gaps — Flag any onboarding needs that are not covered by existing documentation:
    • Missing setup instructions
    • Undocumented architecture decisions
    • Tribal knowledge that should be written down List these as "Documentation TODOs" at the end of the guide.
  9. Determine the next file number — List files in .chalk/docs/ai/ to find the highest numbered file. Increment by 1.
  10. Write the file — Save to .chalk/docs/ai/<n>_onboarding_guide.md.
  11. Confirm — Present the guide with a summary of what is covered, the recommended reading list, and any documentation gaps that need to be filled.

Onboarding Guide Structure

# Developer Onboarding Guide

**Project**: <project name>
**Last Updated**: <YYYY-MM-DD>
**Target Audience**: <role or "all developers">

## Day 1: Setup and First Commit

### Environment Setup

Prerequisites:
- <language runtime> (version <X.Y+>)
- <package manager>
- <database or other local services>
- <any other tools>

Step-by-step:

1. **Clone the repository**
   ```bash
   git clone <repo-url>
   cd <project-name>
  1. Install dependencies
    <install command>
  2. Configure environment
    cp .env.example .env
    # Edit .env with the following values:
    # <explain each required variable>
  3. Start local services
    <command to start database, etc.>
  4. Run the application
    <run command>
    You should see: <expected output or URL>
  5. Run the test suite
    <test command>
    Expected: All tests pass. If not, check <common fix>.

Your First Commit

Complete this task to verify your setup and learn the workflow:

Task: <small, safe change — e.g., "Add your name to CONTRIBUTORS.md" or "Update a log message">

  1. Create a branch: git checkout -b onboarding/<your-name>
  2. Make the change: <specific instructions>
  3. Run tests: <test command>
  4. Commit: git add <files> && git commit -m "<message>"
  5. Push: git push -u origin onboarding/<your-name>
  6. Open a PR following the team's PR template

This exercises: branching, local development, testing, and the PR process.

Week 1: Architecture and First Contribution

Recommended Reading (Ordered)

OrderDocumentTypeRequired
1<product profile>Product ContextYes
2<architecture doc>TechnicalYes
3<key ADR>Decision RecordYes
4<relevant PRD>Product RequirementsRecommended
5<runbook>OperationsReference

Architecture Overview

<Simplified description of the system architecture: key services, how they communicate, data flow, external dependencies. Use a text diagram if helpful.>

<simple ASCII architecture diagram>

Key Concepts

To be effective in this codebase, understand these concepts:

  1. <Concept> — <what it is and why it matters in this project>
  2. <Concept> — <explanation>
  3. <Concept> — <explanation>

Common Gotchas

Issues that trip up every new team member:

  • <Gotcha> — <what happens and how to fix it>
  • <Gotcha> — <explanation>
  • <Gotcha> — <explanation>

Starter Task

Task: <a real, well-scoped issue that a new developer can complete in 2-3 days>

Why this task: <what the developer will learn by completing it>

Resources:

  • Relevant code: <file paths>
  • Related doc: <doc reference>

Month 1: Ownership and Cross-Cutting Concerns

Cross-Cutting Concerns

ConcernHow It WorksKey FilesDocumentation
Authentication<brief description><paths><doc link>
Error Handling<brief description><paths><doc link>
Logging<brief description><paths><doc link>
Deployment<brief description><paths><doc link>
Monitoring<brief description><paths><doc link>

Navigating the Codebase

Common tasks and where to find them:

TaskWhere to LookExample
Add a new API endpoint<path><example file>
Add a database migration<path><example file>
Add a new UI component<path><example file>
Add a test<path><example file>

Who to Ask About What

AreaTeam/RoleChannel
<area><team or role><how to reach them>
<area><team or role><how to reach them>

Documentation Gaps

The following onboarding needs are not covered by existing documentation and should be written:

  • <missing doc or knowledge area>
  • <missing doc or knowledge area>

## Output

- **File**: `.chalk/docs/ai/<n>_onboarding_guide.md`
- **Format**: Plain markdown, no YAML frontmatter
- **First line**: `# Developer Onboarding Guide`

## Anti-patterns

- **Information dump without ordering** — Dropping 20 documents on a new developer and saying "read these" is not onboarding. Documents must be ordered from foundational to detailed, with required vs. reference clearly marked.
- **No runnable first task** — A developer who cannot run the app and make a change on Day 1 will lose confidence and momentum. The "hello world" task must be completable in under 2 hours with the setup instructions provided.
- **Assuming tribal knowledge** — "Ask Sarah about the auth system" is not documentation. If knowledge exists only in someone's head, the onboarding guide should flag it as a documentation gap, not encode the dependency on a specific person.
- **Outdated setup steps** — Setup instructions that fail on the first command destroy trust in the entire guide. Verify all commands against actual project files. Include version requirements and common failure modes.
- **No architecture context** — Jumping into code without understanding the system architecture leads to local optimizations and broken mental models. The Week 1 architecture overview provides the map before the developer starts navigating the territory.
- **Missing "who to ask"** — New developers need to know which team owns what. Map areas of responsibility to teams and roles, not individuals (people change roles; team responsibilities are more stable).
- **No documentation gap tracking** — If the onboarding guide cannot cover a topic because no documentation exists, that gap must be explicitly listed. Otherwise the gap persists invisibly and every new developer hits the same wall.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.