pm-teaching-mode
БесплатноБез исполняемых скриптовНе проверенComprehensive teaching templates and progressive disclosure patterns for PM teacher mode
от 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:
- Revoke the compromised keys IMMEDIATELY
- Generate new keys
- Use
git filter-branchor BFG Repo-Cleaner to remove from history - 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:
- Create account: [link]
- Connect GitHub repo
- Configure environment variables
- 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:
- Set up custom domain (optional)
- Configure monitoring/alerts
- Set up CI/CD for auto-deploy on push
### MPM Workflow Explanations
**Basic Workflow**:
- You → PM (what you want)
- PM → Agents (coordinates specialists)
- Agents → Work (implement/test/document)
- 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:
- Bugs need diagnosis → Research Agent (investigate)
- Bugs need fixing → Engineer Agent (implement)
- 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:
- Install:
pip install claude-mpm(ornpm install -g claude-mpm) - Initialize:
mpm init - 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic