/session-memory:onboardfrom session-memory
Role-based onboarding card injection for new team members
Ships in session-memory. 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.
Inject relevant knowledge cards for a new team member based on their role.
Parse role argument (optional):
frontend, backend, fullstack, devops, designer, pm, etc.Collect onboarding cards from .claude/memory/cards/*.md:
Priority order:
type: onboarding (always included)type: decision + importance >= 2 (architectural context)type: constraint (must-know limitations)type: gotcha + importance >= 2 (critical pitfalls)type: runbook (operational procedures)Role filtering (when role is specified):
tags fieldfrontend → tags containing: frontend, ui, css, react, next, componentbackend → tags containing: backend, api, database, server, auth, migrationfullstack → include both frontend and backend tagsdevops → tags containing: devops, ci, cd, deploy, infra, docker, k8sdesigner → tags containing: design, ui, ux, figma, stylepm → tags containing: process, decision, constraint, requirementDisplay format:
=== Team Onboarding Package ===
Role: [role or "all"]
Cards: [count] knowledge cards
--- Onboarding ---
1. [onboarding] Dev Environment Setup (importance: 3)
TL;DR: Install Node 20, run `npm install`, copy .env.example to .env
Files: package.json, .env.example
2. [onboarding] Git Workflow (importance: 2)
TL;DR: Feature branches from main, PR required, squash merge
Files: .github/PULL_REQUEST_TEMPLATE.md
--- Key Decisions ---
3. [decision] PostgreSQL over MongoDB (importance: 3)
TL;DR: Chose PostgreSQL for ACID compliance and complex queries
Files: src/db/schema.ts
--- Constraints ---
4. [constraint] API Rate Limit (importance: 2)
TL;DR: External API limited to 100 req/min, must use queue
Files: src/services/api-client.ts
--- Watch Out ---
5. [gotcha] Auth null check (importance: 2)
TL;DR: req.user can be null before middleware
Files: src/auth.ts
--- Runbooks ---
6. [runbook] Database Migration (importance: 2)
TL;DR: Run migrate:generate, then migrate:run, test on staging first
Files: src/db/migrations/
=== End Onboarding ===
Tip: Use /session-memory:search to find specific topics
If no cards exist:
Track onboarding delivery:
| Role | Tag keywords |
|---|---|
| frontend | frontend, ui, css, react, next, component, tailwind, style |
| backend | backend, api, database, server, auth, migration, queue, cache |
| fullstack | (frontend + backend combined) |
| devops | devops, ci, cd, deploy, infra, docker, k8s, terraform, aws |
| designer | design, ui, ux, figma, style, component, accessibility |
| pm | process, decision, constraint, requirement, scope, timeline |
type: onboarding cards regardless of rolevisibility: private, skip it (onboarding should be team-visible)What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
npx claudepluginhub teamspwk/claude-session-memory --plugin session-memoryOther plugins' skills for the same job