@patricio0312rev/skillset 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/LICENSE +21 -0
- package/README.md +176 -0
- package/bin/cli.js +37 -0
- package/package.json +55 -0
- package/src/commands/init.js +301 -0
- package/src/index.js +168 -0
- package/src/lib/config.js +200 -0
- package/src/lib/generator.js +166 -0
- package/src/utils/display.js +95 -0
- package/src/utils/readme.js +196 -0
- package/src/utils/tool-specific.js +233 -0
- package/templates/ai-engineering/agent-orchestration-planner/ SKILL.md +266 -0
- package/templates/ai-engineering/cost-latency-optimizer/ SKILL.md +270 -0
- package/templates/ai-engineering/doc-to-vector-dataset-generator/ SKILL.md +239 -0
- package/templates/ai-engineering/evaluation-harness/ SKILL.md +219 -0
- package/templates/ai-engineering/guardrails-safety-filter-builder/ SKILL.md +226 -0
- package/templates/ai-engineering/llm-debugger/ SKILL.md +283 -0
- package/templates/ai-engineering/prompt-regression-tester/ SKILL.md +216 -0
- package/templates/ai-engineering/prompt-template-builder/ SKILL.md +393 -0
- package/templates/ai-engineering/rag-pipeline-builder/ SKILL.md +244 -0
- package/templates/ai-engineering/tool-function-schema-designer/ SKILL.md +219 -0
- package/templates/architecture/adr-writer/ SKILL.md +250 -0
- package/templates/architecture/api-versioning-deprecation-planner/ SKILL.md +331 -0
- package/templates/architecture/domain-model-boundaries-mapper/ SKILL.md +300 -0
- package/templates/architecture/migration-planner/ SKILL.md +376 -0
- package/templates/architecture/performance-budget-setter/ SKILL.md +318 -0
- package/templates/architecture/reliability-strategy-builder/ SKILL.md +286 -0
- package/templates/architecture/rfc-generator/ SKILL.md +362 -0
- package/templates/architecture/scalability-playbook/ SKILL.md +279 -0
- package/templates/architecture/system-design-generator/ SKILL.md +339 -0
- package/templates/architecture/tech-debt-prioritizer/ SKILL.md +329 -0
- package/templates/backend/api-contract-normalizer/ SKILL.md +487 -0
- package/templates/backend/api-endpoint-generator/ SKILL.md +415 -0
- package/templates/backend/auth-module-builder/ SKILL.md +99 -0
- package/templates/backend/background-jobs-designer/ SKILL.md +166 -0
- package/templates/backend/caching-strategist/ SKILL.md +190 -0
- package/templates/backend/error-handling-standardizer/ SKILL.md +174 -0
- package/templates/backend/rate-limiting-abuse-protection/ SKILL.md +147 -0
- package/templates/backend/rbac-permissions-builder/ SKILL.md +158 -0
- package/templates/backend/service-layer-extractor/ SKILL.md +269 -0
- package/templates/backend/webhook-receiver-hardener/ SKILL.md +211 -0
- package/templates/ci-cd/artifact-sbom-publisher/ SKILL.md +236 -0
- package/templates/ci-cd/caching-strategy-optimizer/ SKILL.md +195 -0
- package/templates/ci-cd/deployment-checklist-generator/ SKILL.md +381 -0
- package/templates/ci-cd/github-actions-pipeline-creator/ SKILL.md +348 -0
- package/templates/ci-cd/monorepo-ci-optimizer/ SKILL.md +298 -0
- package/templates/ci-cd/preview-environments-builder/ SKILL.md +187 -0
- package/templates/ci-cd/quality-gates-enforcer/ SKILL.md +342 -0
- package/templates/ci-cd/release-automation-builder/ SKILL.md +281 -0
- package/templates/ci-cd/rollback-workflow-builder/ SKILL.md +372 -0
- package/templates/ci-cd/secrets-env-manager/ SKILL.md +242 -0
- package/templates/db-management/backup-restore-runbook-generator/ SKILL.md +505 -0
- package/templates/db-management/data-integrity-auditor/ SKILL.md +505 -0
- package/templates/db-management/data-retention-archiving-planner/ SKILL.md +430 -0
- package/templates/db-management/data-seeding-fixtures-builder/ SKILL.md +375 -0
- package/templates/db-management/db-performance-watchlist/ SKILL.md +425 -0
- package/templates/db-management/etl-sync-job-builder/ SKILL.md +457 -0
- package/templates/db-management/multi-tenant-safety-checker/ SKILL.md +398 -0
- package/templates/db-management/prisma-migration-assistant/ SKILL.md +379 -0
- package/templates/db-management/schema-consistency-checker/ SKILL.md +440 -0
- package/templates/db-management/sql-query-optimizer/ SKILL.md +324 -0
- package/templates/foundation/changelog-writer/ SKILL.md +431 -0
- package/templates/foundation/code-formatter-installer/ SKILL.md +320 -0
- package/templates/foundation/codebase-summarizer/ SKILL.md +360 -0
- package/templates/foundation/dependency-doctor/ SKILL.md +163 -0
- package/templates/foundation/dev-environment-bootstrapper/ SKILL.md +259 -0
- package/templates/foundation/dev-onboarding-builder/ SKILL.md +556 -0
- package/templates/foundation/docs-starter-kit/ SKILL.md +574 -0
- package/templates/foundation/explaining-code/SKILL.md +13 -0
- package/templates/foundation/git-hygiene-enforcer/ SKILL.md +455 -0
- package/templates/foundation/project-scaffolder/ SKILL.md +65 -0
- package/templates/foundation/project-scaffolder/references/templates.md +126 -0
- package/templates/foundation/repo-structure-linter/ SKILL.md +0 -0
- package/templates/foundation/repo-structure-linter/references/conventions.md +98 -0
- package/templates/frontend/animation-micro-interaction-pack/ SKILL.md +41 -0
- package/templates/frontend/component-scaffold-generator/ SKILL.md +562 -0
- package/templates/frontend/design-to-component-translator/ SKILL.md +547 -0
- package/templates/frontend/form-wizard-builder/ SKILL.md +553 -0
- package/templates/frontend/frontend-refactor-planner/ SKILL.md +37 -0
- package/templates/frontend/i18n-frontend-implementer/ SKILL.md +44 -0
- package/templates/frontend/modal-drawer-system/ SKILL.md +377 -0
- package/templates/frontend/page-layout-builder/ SKILL.md +630 -0
- package/templates/frontend/state-ux-flow-builder/ SKILL.md +23 -0
- package/templates/frontend/table-builder/ SKILL.md +350 -0
- package/templates/performance/alerting-dashboard-builder/ SKILL.md +162 -0
- package/templates/performance/backend-latency-profiler-helper/ SKILL.md +108 -0
- package/templates/performance/caching-cdn-strategy-planner/ SKILL.md +150 -0
- package/templates/performance/capacity-planning-helper/ SKILL.md +242 -0
- package/templates/performance/core-web-vitals-tuner/ SKILL.md +126 -0
- package/templates/performance/incident-runbook-generator/ SKILL.md +162 -0
- package/templates/performance/load-test-scenario-builder/ SKILL.md +256 -0
- package/templates/performance/observability-setup/ SKILL.md +232 -0
- package/templates/performance/postmortem-writer/ SKILL.md +203 -0
- package/templates/performance/structured-logging-standardizer/ SKILL.md +122 -0
- package/templates/security/auth-security-reviewer/ SKILL.md +428 -0
- package/templates/security/dependency-vulnerability-triage/ SKILL.md +495 -0
- package/templates/security/input-validation-sanitization-auditor/ SKILL.md +76 -0
- package/templates/security/pii-redaction-logging-policy-builder/ SKILL.md +65 -0
- package/templates/security/rbac-policy-tester/ SKILL.md +80 -0
- package/templates/security/secrets-scanner/ SKILL.md +462 -0
- package/templates/security/secure-headers-csp-builder/ SKILL.md +404 -0
- package/templates/security/security-incident-playbook-generator/ SKILL.md +76 -0
- package/templates/security/security-pr-checklist-skill/ SKILL.md +62 -0
- package/templates/security/threat-model-generator/ SKILL.md +394 -0
- package/templates/testing/contract-testing-builder/ SKILL.md +492 -0
- package/templates/testing/coverage-strategist/ SKILL.md +436 -0
- package/templates/testing/e2e-test-builder/ SKILL.md +382 -0
- package/templates/testing/flaky-test-detective/ SKILL.md +416 -0
- package/templates/testing/integration-test-builder/ SKILL.md +525 -0
- package/templates/testing/mocking-assistant/ SKILL.md +383 -0
- package/templates/testing/snapshot-test-refactorer/ SKILL.md +375 -0
- package/templates/testing/test-data-factory-builder/ SKILL.md +449 -0
- package/templates/testing/test-reporting-triage-skill/ SKILL.md +469 -0
- package/templates/testing/unit-test-generator/ SKILL.md +548 -0
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dev-onboarding-builder
|
|
3
|
+
description: Creates comprehensive developer onboarding documentation and materials including step-by-step setup guides, first-task assignments, expected time per step, common troubleshooting, team introductions, and code walkthrough tours. Use when preparing "new developer onboarding", "first day setup", "junior dev training", or "team member onboarding".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Developer Onboarding Builder
|
|
7
|
+
|
|
8
|
+
Create frictionless first-day experiences for new team members.
|
|
9
|
+
|
|
10
|
+
## Core Workflow
|
|
11
|
+
|
|
12
|
+
1. **Assess prerequisites**: Identify required tools and access
|
|
13
|
+
2. **Create setup guide**: Step-by-step environment configuration
|
|
14
|
+
3. **Design first task**: Choose appropriate starter assignment
|
|
15
|
+
4. **Add time estimates**: Set expectations for each step
|
|
16
|
+
5. **Document common issues**: Preemptive troubleshooting
|
|
17
|
+
6. **Introduce team**: Context on people and structure
|
|
18
|
+
7. **Provide codebase tour**: Walkthrough of key areas
|
|
19
|
+
|
|
20
|
+
## Onboarding Documentation Structure
|
|
21
|
+
|
|
22
|
+
### ONBOARDING.md Template
|
|
23
|
+
|
|
24
|
+
````markdown
|
|
25
|
+
# Welcome to [Team/Project Name]! 🎉
|
|
26
|
+
|
|
27
|
+
This guide will help you get set up and productive on your first day.
|
|
28
|
+
|
|
29
|
+
**Estimated completion time:** 2-3 hours
|
|
30
|
+
|
|
31
|
+
## Before You Start
|
|
32
|
+
|
|
33
|
+
### Access Checklist
|
|
34
|
+
|
|
35
|
+
- [ ] GitHub organization access
|
|
36
|
+
- [ ] Slack workspace invitation
|
|
37
|
+
- [ ] Email account setup
|
|
38
|
+
- [ ] VPN credentials (if remote)
|
|
39
|
+
- [ ] Cloud console access (AWS/GCP/Azure)
|
|
40
|
+
- [ ] CI/CD dashboard access
|
|
41
|
+
- [ ] Project management tool (Jira/Linear)
|
|
42
|
+
|
|
43
|
+
### Tools to Install
|
|
44
|
+
|
|
45
|
+
- [ ] Node.js 20+ (via [Volta](https://volta.sh/))
|
|
46
|
+
- [ ] pnpm 8+
|
|
47
|
+
- [ ] Docker Desktop
|
|
48
|
+
- [ ] PostgreSQL 15+
|
|
49
|
+
- [ ] VS Code or preferred editor
|
|
50
|
+
- [ ] Git configured with your work email
|
|
51
|
+
|
|
52
|
+
## Day 1: Environment Setup
|
|
53
|
+
|
|
54
|
+
### Step 1: Clone Repository (5 min)
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
git clone git@github.com:company/project-name.git
|
|
58
|
+
cd project-name
|
|
59
|
+
```
|
|
60
|
+
````
|
|
61
|
+
|
|
62
|
+
**Why:** Get the codebase on your machine
|
|
63
|
+
|
|
64
|
+
**Troubleshooting:**
|
|
65
|
+
|
|
66
|
+
- SSH key not working? See [GitHub SSH setup](https://docs.github.com/en/authentication/connecting-to-github-with-ssh)
|
|
67
|
+
- Permission denied? Ask your manager to verify GitHub access
|
|
68
|
+
|
|
69
|
+
### Step 2: Install Dependencies (10 min)
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Install Volta (Node version manager)
|
|
73
|
+
curl https://get.volta.sh | bash
|
|
74
|
+
|
|
75
|
+
# Install dependencies
|
|
76
|
+
pnpm install
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Expected output:** "Dependencies installed successfully"
|
|
80
|
+
|
|
81
|
+
**Troubleshooting:**
|
|
82
|
+
|
|
83
|
+
- `pnpm not found`? Restart terminal or run `volta install pnpm`
|
|
84
|
+
- Installation hangs? Check VPN connection
|
|
85
|
+
|
|
86
|
+
### Step 3: Configure Environment (10 min)
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# Copy environment template
|
|
90
|
+
cp .env.example .env
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Edit `.env` with these values:**
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
DATABASE_URL=postgresql://postgres:password@localhost:5432/projectname_dev
|
|
97
|
+
REDIS_URL=redis://localhost:6379
|
|
98
|
+
API_KEY=ask-team-for-dev-key
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**Get credentials from:**
|
|
102
|
+
|
|
103
|
+
- Database: Local setup (see next step)
|
|
104
|
+
- API keys: Ask @alice or @bob on Slack #dev-onboarding
|
|
105
|
+
- External services: Check 1Password vault "Dev Credentials"
|
|
106
|
+
|
|
107
|
+
**Troubleshooting:**
|
|
108
|
+
|
|
109
|
+
- Can't find credentials? Post in #dev-onboarding
|
|
110
|
+
- Missing env var? Check .env.example for all required variables
|
|
111
|
+
|
|
112
|
+
### Step 4: Setup Database (15 min)
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
# Start PostgreSQL with Docker
|
|
116
|
+
docker run --name project-postgres \
|
|
117
|
+
-e POSTGRES_PASSWORD=password \
|
|
118
|
+
-p 5432:5432 \
|
|
119
|
+
-d postgres:15
|
|
120
|
+
|
|
121
|
+
# Run migrations
|
|
122
|
+
pnpm db:migrate
|
|
123
|
+
|
|
124
|
+
# Seed with test data
|
|
125
|
+
pnpm db:seed
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
**Expected output:** "Migration complete. Database seeded."
|
|
129
|
+
|
|
130
|
+
**Verify:** Open http://localhost:5432 and check for tables
|
|
131
|
+
|
|
132
|
+
**Troubleshooting:**
|
|
133
|
+
|
|
134
|
+
- Port 5432 already in use? Kill existing process: `lsof -ti:5432 | xargs kill`
|
|
135
|
+
- Migration fails? Drop and recreate: `pnpm db:reset`
|
|
136
|
+
|
|
137
|
+
### Step 5: Start Development Server (5 min)
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
pnpm dev
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
**Expected output:**
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
✓ Ready on http://localhost:3000
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**Test:** Open http://localhost:3000 - you should see the homepage
|
|
150
|
+
|
|
151
|
+
**Troubleshooting:**
|
|
152
|
+
|
|
153
|
+
- Port 3000 in use? Kill process or change PORT in .env
|
|
154
|
+
- Build errors? Clear cache: `rm -rf .next && pnpm dev`
|
|
155
|
+
|
|
156
|
+
### Step 6: Run Tests (5 min)
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
pnpm test
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Expected output:** All tests passing ✓
|
|
163
|
+
|
|
164
|
+
**If tests fail:**
|
|
165
|
+
|
|
166
|
+
- First time? This is a bug! Report in #dev-help
|
|
167
|
+
- Known issue? Check #dev-help pinned messages
|
|
168
|
+
|
|
169
|
+
## Day 1: Your First Task
|
|
170
|
+
|
|
171
|
+
### Task: Fix a Starter Issue
|
|
172
|
+
|
|
173
|
+
We've labeled some issues as `good-first-issue` for new team members.
|
|
174
|
+
|
|
175
|
+
**Goal:** Successfully complete one small PR to learn our workflow
|
|
176
|
+
|
|
177
|
+
**Steps:**
|
|
178
|
+
|
|
179
|
+
1. Browse [good first issues](https://github.com/company/project/labels/good-first-issue)
|
|
180
|
+
2. Pick one that interests you (or ask for suggestion in #dev-onboarding)
|
|
181
|
+
3. Comment on the issue: "I'll take this!"
|
|
182
|
+
4. Create a branch: `git checkout -b fix/issue-123-description`
|
|
183
|
+
5. Make your changes
|
|
184
|
+
6. Write/update tests
|
|
185
|
+
7. Run `pnpm lint` and `pnpm test`
|
|
186
|
+
8. Commit following [conventions](./CONTRIBUTING.md#commit-messages)
|
|
187
|
+
9. Push and create PR
|
|
188
|
+
10. Request review from your mentor
|
|
189
|
+
|
|
190
|
+
**Estimated time:** 2-4 hours
|
|
191
|
+
|
|
192
|
+
**Success criteria:**
|
|
193
|
+
|
|
194
|
+
- [ ] Branch created with proper name
|
|
195
|
+
- [ ] Code changes made
|
|
196
|
+
- [ ] Tests written/updated
|
|
197
|
+
- [ ] All checks passing
|
|
198
|
+
- [ ] PR created with description
|
|
199
|
+
- [ ] Code reviewed and merged
|
|
200
|
+
|
|
201
|
+
**Mentors:** @alice (backend), @bob (frontend), @charlie (full-stack)
|
|
202
|
+
|
|
203
|
+
## Day 2-3: Codebase Tour
|
|
204
|
+
|
|
205
|
+
### Project Structure Overview
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
src/
|
|
209
|
+
├── app/ # Next.js routes (start here!)
|
|
210
|
+
│ ├── api/ # API endpoints
|
|
211
|
+
│ └── (auth)/ # Authentication pages
|
|
212
|
+
├── components/ # React components
|
|
213
|
+
│ ├── ui/ # Base UI components
|
|
214
|
+
│ └── features/ # Feature-specific components
|
|
215
|
+
├── lib/ # Utilities and helpers
|
|
216
|
+
│ ├── api/ # API client
|
|
217
|
+
│ ├── hooks/ # Custom React hooks
|
|
218
|
+
│ └── utils/ # Helper functions
|
|
219
|
+
├── services/ # Business logic layer
|
|
220
|
+
└── types/ # TypeScript definitions
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### Key Files to Understand
|
|
224
|
+
|
|
225
|
+
| File | What It Does | When You'll Touch It |
|
|
226
|
+
| -------------------- | ----------------------- | ----------------------- |
|
|
227
|
+
| `src/app/layout.tsx` | Root layout & providers | Adding global providers |
|
|
228
|
+
| `src/lib/db.ts` | Database client | Database queries |
|
|
229
|
+
| `src/lib/auth.ts` | Authentication logic | Auth-related features |
|
|
230
|
+
| `src/middleware.ts` | Request middleware | Adding auth/redirects |
|
|
231
|
+
|
|
232
|
+
### Walking Tour (Read These Files in Order)
|
|
233
|
+
|
|
234
|
+
1. **`src/app/page.tsx`** - Homepage (entry point)
|
|
235
|
+
2. **`src/app/api/users/route.ts`** - Simple API endpoint
|
|
236
|
+
3. **`src/services/user.service.ts`** - Business logic example
|
|
237
|
+
4. **`src/components/ui/button.tsx`** - UI component pattern
|
|
238
|
+
5. **`src/lib/hooks/useUser.ts`** - Custom hook example
|
|
239
|
+
|
|
240
|
+
**Exercise:** Find the code that handles user registration. Hint: Start at the API route!
|
|
241
|
+
|
|
242
|
+
### Common Patterns
|
|
243
|
+
|
|
244
|
+
**API Route Pattern**
|
|
245
|
+
|
|
246
|
+
```typescript
|
|
247
|
+
// src/app/api/[resource]/route.ts
|
|
248
|
+
export async function GET(req: Request) {
|
|
249
|
+
// 1. Validate auth
|
|
250
|
+
// 2. Parse request
|
|
251
|
+
// 3. Call service layer
|
|
252
|
+
// 4. Return response
|
|
253
|
+
}
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
**Service Layer Pattern**
|
|
257
|
+
|
|
258
|
+
```typescript
|
|
259
|
+
// src/services/[resource].service.ts
|
|
260
|
+
export class UserService {
|
|
261
|
+
async create(data: CreateUserDto) {
|
|
262
|
+
// 1. Validate data
|
|
263
|
+
// 2. Business logic
|
|
264
|
+
// 3. Database operation
|
|
265
|
+
// 4. Return result
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
## Week 1: Learning Path
|
|
271
|
+
|
|
272
|
+
### Day 1
|
|
273
|
+
|
|
274
|
+
- [ ] Complete environment setup
|
|
275
|
+
- [ ] Fix first issue
|
|
276
|
+
- [ ] Meet your team (schedule 1:1s)
|
|
277
|
+
|
|
278
|
+
### Day 2-3
|
|
279
|
+
|
|
280
|
+
- [ ] Read codebase tour documents
|
|
281
|
+
- [ ] Complete second issue (medium complexity)
|
|
282
|
+
- [ ] Review 2-3 PRs from teammates
|
|
283
|
+
|
|
284
|
+
### Day 4-5
|
|
285
|
+
|
|
286
|
+
- [ ] Work on first feature (with mentor pairing)
|
|
287
|
+
- [ ] Attend team standup/planning
|
|
288
|
+
- [ ] Set up development tools (linters, extensions)
|
|
289
|
+
|
|
290
|
+
## Team Structure
|
|
291
|
+
|
|
292
|
+
### Engineering Team
|
|
293
|
+
|
|
294
|
+
**Alice (@alice)** - Tech Lead
|
|
295
|
+
|
|
296
|
+
- Approves architecture decisions
|
|
297
|
+
- Code review on complex PRs
|
|
298
|
+
- Ask: System design questions
|
|
299
|
+
|
|
300
|
+
**Bob (@bob)** - Senior Backend Engineer
|
|
301
|
+
|
|
302
|
+
- Database and API expert
|
|
303
|
+
- Ask: Backend, performance questions
|
|
304
|
+
|
|
305
|
+
**Charlie (@charlie)** - Senior Frontend Engineer
|
|
306
|
+
|
|
307
|
+
- UI/UX implementation
|
|
308
|
+
- Ask: React, styling questions
|
|
309
|
+
|
|
310
|
+
**Your Manager (@manager)**
|
|
311
|
+
|
|
312
|
+
- Weekly 1:1s on Fridays 2pm
|
|
313
|
+
- Career development discussions
|
|
314
|
+
- Ask: Process, priorities, career questions
|
|
315
|
+
|
|
316
|
+
### Communication Channels
|
|
317
|
+
|
|
318
|
+
- **#dev-general** - General development discussion
|
|
319
|
+
- **#dev-help** - Ask questions, get unstuck
|
|
320
|
+
- **#dev-onboarding** - New member support
|
|
321
|
+
- **#dev-releases** - Release announcements
|
|
322
|
+
- **#dev-alerts** - Production alerts
|
|
323
|
+
|
|
324
|
+
### Meeting Schedule
|
|
325
|
+
|
|
326
|
+
- **Daily Standup** - 10:00 AM (15 min)
|
|
327
|
+
- **Sprint Planning** - Mondays 2:00 PM (1 hour)
|
|
328
|
+
- **Team Retro** - Fridays 4:00 PM (45 min)
|
|
329
|
+
- **Tech Talks** - Thursdays 3:00 PM (30 min)
|
|
330
|
+
|
|
331
|
+
## Development Workflow
|
|
332
|
+
|
|
333
|
+
### Daily Workflow
|
|
334
|
+
|
|
335
|
+
1. **Morning:** Check Slack, pull latest main
|
|
336
|
+
2. **Standup:** Share yesterday, today, blockers
|
|
337
|
+
3. **Code:** Work on assigned tickets
|
|
338
|
+
4. **Lunch:** Team usually eats at 12:30
|
|
339
|
+
5. **Afternoon:** Continue coding, review PRs
|
|
340
|
+
6. **End of day:** Update ticket status, push work
|
|
341
|
+
|
|
342
|
+
### PR Review Guidelines
|
|
343
|
+
|
|
344
|
+
When reviewing PRs:
|
|
345
|
+
|
|
346
|
+
- [ ] Check code quality and style
|
|
347
|
+
- [ ] Verify tests cover changes
|
|
348
|
+
- [ ] Run the code locally if significant
|
|
349
|
+
- [ ] Ask questions if unclear
|
|
350
|
+
- [ ] Approve when satisfied
|
|
351
|
+
|
|
352
|
+
### Getting Code Reviewed
|
|
353
|
+
|
|
354
|
+
When requesting review:
|
|
355
|
+
|
|
356
|
+
- [ ] Self-review first
|
|
357
|
+
- [ ] Add clear description
|
|
358
|
+
- [ ] Link related issues
|
|
359
|
+
- [ ] Tag appropriate reviewers
|
|
360
|
+
- [ ] Address feedback promptly
|
|
361
|
+
|
|
362
|
+
## Common Gotchas
|
|
363
|
+
|
|
364
|
+
### Database
|
|
365
|
+
|
|
366
|
+
**Problem:** `relation "users" does not exist`
|
|
367
|
+
**Solution:** Run migrations: `pnpm db:migrate`
|
|
368
|
+
|
|
369
|
+
**Problem:** Seed data not appearing
|
|
370
|
+
**Solution:** Reset database: `pnpm db:reset`
|
|
371
|
+
|
|
372
|
+
### Development Server
|
|
373
|
+
|
|
374
|
+
**Problem:** Changes not reflecting
|
|
375
|
+
**Solution:**
|
|
376
|
+
|
|
377
|
+
1. Hard refresh (Cmd+Shift+R)
|
|
378
|
+
2. Clear .next folder: `rm -rf .next`
|
|
379
|
+
3. Restart dev server
|
|
380
|
+
|
|
381
|
+
**Problem:** Port already in use
|
|
382
|
+
**Solution:** Kill process: `lsof -ti:3000 | xargs kill`
|
|
383
|
+
|
|
384
|
+
### Environment
|
|
385
|
+
|
|
386
|
+
**Problem:** Missing environment variable
|
|
387
|
+
**Solution:** Check .env.example, add to your .env
|
|
388
|
+
|
|
389
|
+
**Problem:** API key not working
|
|
390
|
+
**Solution:** Verify it's the dev key, not prod (ask team)
|
|
391
|
+
|
|
392
|
+
## Resources
|
|
393
|
+
|
|
394
|
+
### Documentation
|
|
395
|
+
|
|
396
|
+
- [Architecture Overview](./ARCHITECTURE.md)
|
|
397
|
+
- [API Reference](./docs/API.md)
|
|
398
|
+
- [Contributing Guide](./CONTRIBUTING.md)
|
|
399
|
+
- [Style Guide](./docs/STYLE_GUIDE.md)
|
|
400
|
+
|
|
401
|
+
### Learning Resources
|
|
402
|
+
|
|
403
|
+
- [Next.js Documentation](https://nextjs.org/docs)
|
|
404
|
+
- [Prisma Guides](https://www.prisma.io/docs)
|
|
405
|
+
- [TypeScript Handbook](https://www.typescriptlang.org/docs/)
|
|
406
|
+
|
|
407
|
+
### Internal Resources
|
|
408
|
+
|
|
409
|
+
- Company Wiki: https://wiki.company.com
|
|
410
|
+
- Design System: https://design.company.com
|
|
411
|
+
- API Playground: https://api-dev.company.com
|
|
412
|
+
|
|
413
|
+
## Getting Help
|
|
414
|
+
|
|
415
|
+
### When You're Stuck (5-15-30 Rule)
|
|
416
|
+
|
|
417
|
+
- **5 minutes:** Try to solve it yourself
|
|
418
|
+
- **15 minutes:** Search docs, Stack Overflow, past issues
|
|
419
|
+
- **30 minutes:** Ask in #dev-help with context
|
|
420
|
+
|
|
421
|
+
### Good Question Template
|
|
422
|
+
|
|
423
|
+
```
|
|
424
|
+
**What I'm trying to do:** [goal]
|
|
425
|
+
**What I tried:** [attempts]
|
|
426
|
+
**Error message:** [full error]
|
|
427
|
+
**Environment:** [OS, Node version, etc.]
|
|
428
|
+
**Related code:** [link to file/line]
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
### Who to Ask
|
|
432
|
+
|
|
433
|
+
- **Setup issues:** #dev-onboarding or #dev-help
|
|
434
|
+
- **Code questions:** #dev-help or your mentor
|
|
435
|
+
- **Process questions:** Your manager
|
|
436
|
+
- **Urgent/production:** #dev-alerts
|
|
437
|
+
|
|
438
|
+
## Week 1 Checklist
|
|
439
|
+
|
|
440
|
+
By end of week 1, you should have:
|
|
441
|
+
|
|
442
|
+
- [ ] Completed environment setup
|
|
443
|
+
- [ ] Fixed 2-3 good-first-issues
|
|
444
|
+
- [ ] Created first feature PR
|
|
445
|
+
- [ ] Met with all team members
|
|
446
|
+
- [ ] Attended all team meetings
|
|
447
|
+
- [ ] Read key documentation
|
|
448
|
+
- [ ] Understood development workflow
|
|
449
|
+
- [ ] Know how to get help
|
|
450
|
+
|
|
451
|
+
## Feedback
|
|
452
|
+
|
|
453
|
+
We're always improving onboarding! Please share:
|
|
454
|
+
|
|
455
|
+
- What went well?
|
|
456
|
+
- What was confusing?
|
|
457
|
+
- What's missing?
|
|
458
|
+
|
|
459
|
+
**Share in:** #dev-onboarding or with your manager
|
|
460
|
+
|
|
461
|
+
---
|
|
462
|
+
|
|
463
|
+
**Welcome to the team! We're excited to have you here! 🚀**
|
|
464
|
+
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
## Onboarding Best Practices
|
|
468
|
+
|
|
469
|
+
### Time Estimates
|
|
470
|
+
- Be realistic with timing
|
|
471
|
+
- Include buffer for troubleshooting
|
|
472
|
+
- Track actual time vs estimated
|
|
473
|
+
|
|
474
|
+
### Progressive Complexity
|
|
475
|
+
- Day 1: Setup and simple task
|
|
476
|
+
- Week 1: Understanding patterns
|
|
477
|
+
- Month 1: Independent features
|
|
478
|
+
|
|
479
|
+
### Clear Success Criteria
|
|
480
|
+
- Checklist for each step
|
|
481
|
+
- Objective completion markers
|
|
482
|
+
- Regular check-ins
|
|
483
|
+
|
|
484
|
+
### Preemptive Troubleshooting
|
|
485
|
+
- Document known issues
|
|
486
|
+
- Provide solutions upfront
|
|
487
|
+
- Update based on new dev feedback
|
|
488
|
+
|
|
489
|
+
### Human Connection
|
|
490
|
+
- Introduce team members
|
|
491
|
+
- Schedule 1:1s
|
|
492
|
+
- Provide mentors
|
|
493
|
+
|
|
494
|
+
## First Task Selection Criteria
|
|
495
|
+
|
|
496
|
+
Good first task should:
|
|
497
|
+
- [ ] Be completable in 2-4 hours
|
|
498
|
+
- [ ] Touch multiple areas lightly
|
|
499
|
+
- [ ] Have clear acceptance criteria
|
|
500
|
+
- [ ] Require PR and review
|
|
501
|
+
- [ ] Be genuinely useful (not busy work)
|
|
502
|
+
- [ ] Have mentor availability
|
|
503
|
+
|
|
504
|
+
**Examples:**
|
|
505
|
+
- Fix typo in error message (touches: frontend, i18n, testing)
|
|
506
|
+
- Add validation to API endpoint (touches: backend, testing, docs)
|
|
507
|
+
- Improve loading state (touches: frontend, UX, components)
|
|
508
|
+
|
|
509
|
+
## Documentation Components
|
|
510
|
+
|
|
511
|
+
### Essential Sections
|
|
512
|
+
1. Prerequisites and access
|
|
513
|
+
2. Step-by-step setup with time estimates
|
|
514
|
+
3. First task assignment
|
|
515
|
+
4. Codebase tour
|
|
516
|
+
5. Team structure
|
|
517
|
+
6. Communication channels
|
|
518
|
+
7. Common issues and solutions
|
|
519
|
+
8. Resources and next steps
|
|
520
|
+
|
|
521
|
+
### Optional but Valuable
|
|
522
|
+
- Video walkthrough
|
|
523
|
+
- Pair programming schedule
|
|
524
|
+
- Reading list
|
|
525
|
+
- Architecture diagrams
|
|
526
|
+
- Glossary of terms
|
|
527
|
+
|
|
528
|
+
## Maintenance
|
|
529
|
+
|
|
530
|
+
### Keep Updated
|
|
531
|
+
- Review after each new hire
|
|
532
|
+
- Update tool versions
|
|
533
|
+
- Refresh access instructions
|
|
534
|
+
- Add new common issues
|
|
535
|
+
|
|
536
|
+
### Collect Feedback
|
|
537
|
+
- Exit survey after week 1
|
|
538
|
+
- Regular check-ins
|
|
539
|
+
- Track time to productivity
|
|
540
|
+
- Document pain points
|
|
541
|
+
|
|
542
|
+
## Output Checklist
|
|
543
|
+
|
|
544
|
+
Complete onboarding package includes:
|
|
545
|
+
|
|
546
|
+
- [ ] ONBOARDING.md with step-by-step guide
|
|
547
|
+
- [ ] Time estimates for each step
|
|
548
|
+
- [ ] First task identified and documented
|
|
549
|
+
- [ ] Team structure and communication
|
|
550
|
+
- [ ] Troubleshooting for common issues
|
|
551
|
+
- [ ] Links to all necessary resources
|
|
552
|
+
- [ ] Checklists for progress tracking
|
|
553
|
+
- [ ] Feedback mechanism
|
|
554
|
+
- [ ] Mentor assignments
|
|
555
|
+
- [ ] Expected timeline (day/week/month)
|
|
556
|
+
```
|