Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pm-teaching-mode

БесплатноБез исполняемых скриптовНе проверен

Comprehensive teaching templates and progressive disclosure patterns for PM teacher mode

bobmatnycот bobmatnyc★ 160 звёзд на GitHub

Об этом скилле

PM Teaching Mode - Detailed Content

Teaching Content Library

Secrets Management (ELI5 + Technical)

ELI5: API key = house key. Anyone with it can pretend to be you.

Setup Guide:

# 1. Create .env
echo "API_KEY=your_key_here" > .env

# 2. Add to .gitignore
echo ".env" >> .gitignore

# 3. Verify
git status  # Should NOT show .env

Common Mistakes:

  • ❌ Committing .env to git
  • ❌ Sharing keys via email
  • ❌ Hard-coding in files

Teaching Template:

🎓 **Teaching Moment: Environment Variables**

**Why We Use .env Files**:
- Keep secrets separate from code
- Different values per environment (dev/staging/prod)
- Never committed to version control

**Setup Steps**:
1. Create `.env` in project root
2. Add your secrets: `API_KEY=abc123...` # pragma: allowlist secret
3. Add `.env` to `.gitignore`
4. Load in code: `process.env.API_KEY` (Node) or `os.getenv('API_KEY')` (Python)

**Security Check**:
```bash
git status  # .env should NOT appear
git log --all -- .env  # Should return nothing

If you accidentally committed secrets:

  1. Revoke the compromised keys IMMEDIATELY
  2. Generate new keys
  3. Use git filter-branch or BFG Repo-Cleaner to remove from history
  4. Force push (dangerous - coordinate with team)

💡 Better: Use .env.example with fake values for team reference


### Deployment Decision Trees

**Simple Decision Tree**:

What are you deploying? ├─ Static site (HTML/CSS/JS only) │ └─ Vercel, Netlify, GitHub Pages ├─ Frontend + API (Next.js, SvelteKit) │ └─ Vercel (Next.js), Netlify (SvelteKit) ├─ Backend API + Database │ ├─ Simple app → Railway, Render │ ├─ Production scale → AWS, GCP, Azure │ └─ Specialized (ML/AI) → Modal, Replicate └─ Full Stack (React + Node + PostgreSQL) └─ Railway (easy), AWS (scalable)


**Teaching Template**:

🎓 Teaching Moment: Deployment Platform Selection

You're deploying: [describe user's project]

Recommended: [Platform]

Why This Platform:

  • ✅ [Reason 1: matches tech stack]
  • ✅ [Reason 2: pricing/scale fits]
  • ✅ [Reason 3: ease of use]

Setup Steps:

  1. Create account: [link]
  2. Connect GitHub repo
  3. Configure environment variables
  4. Deploy: [platform-specific command]

Cost:

  • Free tier: [limits]
  • Paid tier: [starting price]

Alternatives (if you need different features):

  • [Alternative 1]: Better for [use case]
  • [Alternative 2]: Better for [use case]

💡 Why This Matters: Deployment platforms handle servers, scaling, SSL certificates automatically. You focus on code, they handle infrastructure.

Next Steps After Deployment:

  1. Set up custom domain (optional)
  2. Configure monitoring/alerts
  3. Set up CI/CD for auto-deploy on push

### MPM Workflow Explanations

**Basic Workflow**:
  1. You → PM (what you want)
  2. PM → Agents (coordinates specialists)
  3. Agents → Work (implement/test/document)
  4. PM → You (evidence-based results)

PM Role: Coordinator, NOT implementer

  • PM doesn't write code → Engineers do
  • PM doesn't test → QA does
  • PM coordinates + ensures quality

**Delegation Pattern Teaching**:

🎓 Watch Me Work: Delegation Pattern

You asked: "Fix login bug"

My Analysis:

  1. Bugs need diagnosis → Research Agent (investigate)
  2. Bugs need fixing → Engineer Agent (implement)
  3. Fixes need verification → QA Agent (test)

Delegation Strategy:

[Research] Investigate login bug
  ↓ (findings)
[Engineer] Fix bug based on research
  ↓ (implementation)
[QA] Verify fix with regression tests
  ↓ (evidence)
PM reports: "Fixed! Evidence: [QA verification]"

Why This Pattern:

  • Research prevents wrong fixes
  • Engineer focuses on implementation
  • QA ensures no regressions
  • PM coordinates without doing work

Alternative (if simple bug): Skip Research → Engineer (with investigation) → QA


### Progressive Disclosure Patterns

#### Level 1: Quick Start (Always Show)

Quick Start:

  1. Install: pip install claude-mpm (or npm install -g claude-mpm)
  2. Initialize: mpm init
  3. Run: mpm run

💡 First time? The setup wizard will guide you through configuration.


#### Level 2: Conceptual Understanding (Show on First Error or Request)

🎓 Understanding Claude MPM

What It Does: Think of MPM as a project manager for AI agents. Instead of doing everything itself, it delegates to specialists:

  • Engineer: Writes and modifies code
  • QA: Tests and verifies implementations
  • Docs: Creates documentation
  • Ops: Handles deployment and infrastructure
  • Research: Investigates approaches and solutions

How It Works: You → PM → Specialized Agents → Results

Why This Matters: Each agent is optimized for specific tasks. Engineer agent has deep coding context, QA agent has testing patterns, etc. Better than one generalist trying to do everything.

Example: You: "Add user authentication" PM: [Delegates to Research for OAuth patterns] [Delegates to Engineer for implementation] [Delegates to QA for sec

Полный SKILL.md на GitHub

Установить pm-teaching-mode в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл pm-teaching-mode?

Comprehensive teaching templates and progressive disclosure patterns for PM teacher mode

Как установить скилл pm-teaching-mode?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pm-teaching-mode запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pm-teaching-mode с