Skip to main content

Developer Onboarding Documentation Generator

Generate developer onboarding docs that make new hires productive in days: setup, architecture, conventions, first-week plan, and a debugging guide.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt
You are a developer experience (DevEx) specialist. Create onboarding documentation for a new developer joining the Acme Platform team.

**Project Context:**
- Stack: Laravel 11, Livewire 3, Filament 3, MySQL, Redis, Tailwind CSS
- Team: 5 developers, 1 designer, 1 PM — async-first remote team across US and EU timezones
- Domain: B2B SaaS for project management with billing and team collaboration
- Repo structure: Monorepo: app/ (domain-organized models), resources/views/ (Blade + Livewire), routes/web.php, admin panel at /admin

**Generate These Documentation Sections:**

**Section 1: Welcome & Big Picture (read time: 5 min)**
- What does Acme Platform do and who uses it?
- Architecture in one diagram (text-based)
- How does money flow through the system? (if applicable)
- The 3 most important things to understand about this codebase
- Glossary of domain terms the team uses daily

**Section 2: Local Environment Setup (read time: 30 min)**
Step-by-step instructions (assume a fresh machine with macOS with Homebrew):
1. Install prerequisites (exact versions, not "latest")
2. Clone and configure (env files, with explanations for each variable)
3. Database setup (migrations, seed data, test accounts)
4. Run the application (verify it works with a specific URL/action)
5. Run the test suite (expected output)
6. **Troubleshooting:** Top 5 setup problems and their fixes

**Section 3: Codebase Conventions (read time: 15 min)**
- File and folder organization rules
- Naming conventions with examples (classes, methods, routes, DB columns)
- Code style rules beyond the linter (architectural decisions)
- How to create common things: a new API endpoint, a new model, a new admin page
- What NOT to do (anti-patterns specific to this project)
- We use Form Request classes for ALL validation — never validate inline in controllers

**Section 4: Development Workflow (read time: 10 min)**
- Branch naming: `feature/TICKET-123-short-description`
- Commit message format
- PR template and review process
- CI pipeline: what runs, what to do when it fails
- How to deploy (and who can deploy)

**Section 5: Your First Week**
- **Day 1:** Read this doc, set up environment, explore the app as a user
- **Day 2:** Read through routes/web.php, app/Http/Controllers/DashboardController.php, app/Models/User.php to understand the core flow
- **Day 3-4:** Pick up your first task: Add a "last login" timestamp to the user profile page — touches model, migration, view, and test
- **Day 5:** Submit your first PR, attend architecture walkthrough
- Key people to ask for help: Backend questions: @sarah, Frontend: @mike, DevOps: @alex, Domain knowledge: @priya

**Section 6: Debugging Guide**
- How to read the logs
- Common error messages and what they actually mean
- How to reproduce production issues locally
- When to ask for help vs. keep digging

Write in a friendly, encouraging tone. Assume the reader is smart but unfamiliar with THIS codebase.

What this prompt does

This prompt makes the AI a developer experience specialist that writes onboarding documentation for a new developer joining the [project_name] team. You provide the [tech_stack], the [team_context], the [domain], and the [repo_structure], and it produces six sections: a welcome and big-picture overview, a local environment setup, codebase conventions, the development workflow, a structured first week, and a debugging guide. The goal is to make a new hire productive in days, not weeks.

The structure works because it is concrete and time-boxed. Setup assumes a fresh [os_type] machine and walks from prerequisites (exact versions, not "latest") through env config, database seeding, running the app, and the top five setup problems. The conventions section covers naming, organization, and what NOT to do, steered by [convention_note]. The first-week plan is day-by-day, building toward [first_task] and a first PR, and points to [key_files] and [team_contacts]. Each section even carries a read-time estimate so a new hire can pace themselves.

When to use it

  • You are onboarding new hires and want docs that get them productive in days
  • You want a fresh-machine setup walkthrough with exact versions and troubleshooting
  • You need conventions and anti-patterns documented, including a key rule to highlight
  • You want a day-by-day first-week plan that ends in a real first PR
  • You need a debugging guide covering logs and common error messages
  • You want a clear who-to-ask map so new devs aren't blocked waiting

Example output

You get a friendly, encouraging six-section document with read-time estimates per section. It includes a text architecture diagram and domain glossary, a step-by-step setup with env-var explanations and a top-five troubleshooting list, a conventions guide with examples and anti-patterns, a workflow section, a day-by-day first-week plan ending in a first PR, and a debugging guide.

Pro tips

  • Set [tech_stack] and [os_type] precisely so the setup steps and version pins match a real fresh machine
  • Describe [repo_structure] accurately so the "where to put new things" guidance is correct
  • Use [convention_note] for the rule you most want enforced, like always using Form Request validation
  • Choose a [first_task] that touches several layers (model, migration, view, test) so the first PR teaches the full flow
  • List real [key_files] and [team_contacts] so the doc points to actual code and people, not placeholders
  • Verify the setup walkthrough on a genuinely clean machine; install steps are where onboarding docs decay fastest

Frequently Asked Questions

How is this different from the codebase onboarding guide prompt?
This one leans toward developer experience and a friendly, time-boxed first week with read-time estimates and a day-by-day plan, driven by inputs you supply like `[first_task]` and `[team_contacts]`. It is less about analyzing the code and more about ramping a new hire smoothly.
Does the setup section handle a fresh machine?
Yes. It assumes a clean machine running your `[os_type]`, lists prerequisites with exact versions rather than "latest", walks through clone, env config, database seeding, and running the app, and ends with the top five setup problems and their fixes.
Can I emphasize a specific team convention?
Yes. The `[convention_note]` variable lets you spotlight a rule you want enforced, such as always using Form Request classes for validation. The conventions section also documents anti-patterns specific to your project so new devs avoid them.
What does the first week plan include?
A day-by-day schedule: reading the doc and setting up on day one, exploring `[key_files]` next, picking up `[first_task]` mid-week, and submitting a first PR by day five, plus a map of who to ask for help on what.
Will it work for a stack other than Laravel?
Yes. Set the `[tech_stack]` and `[repo_structure]` variables to your project, and the setup steps, conventions, and code-creation guidance adapt. The six-section structure and first-week pacing are framework-agnostic.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in AI Writing for Developers

Engr Mejba Ahmed

Engr Mejba Ahmed

AI assistant · trained on my work

👋

Hey there!

Quick Actions

WhatsApp Direct line to me

Chat on WhatsApp

+880 1723 741224 · Replies within the hour on working days

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

mejba.13@gmail.com

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support