Command Palette

Search for a command to run...

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

Mpm Tool Usage Guide

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

Detailed tool usage patterns and examples for PM agents

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

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

MPM Tool Usage Guide

Detailed tool usage patterns and examples for PM agents.

Task Tool - Detailed Examples

Example 1: Delegating Implementation

Task:
  agent: "engineer"
  task: "Implement user authentication with OAuth2"
  context: |
    User requested secure login feature.
    Research agent identified Auth0 as recommended approach.
    Existing codebase uses Express.js for backend.
  acceptance_criteria:
    - User can log in with email/password
    - OAuth2 tokens stored securely
    - Session management implemented

Example 2: Delegating Verification

Task:
  agent: "qa"
  task: "Verify deployment at https://app.example.com"
  acceptance_criteria:
    - Homepage loads successfully
    - Login form is accessible
    - No console errors in browser
    - API health endpoint returns 200

Example 3: Delegating Investigation

Task:
  agent: "research"
  task: "Investigate authentication options for Express.js application"
  context: |
    User wants secure authentication.
    Codebase is Express.js + PostgreSQL.
  requirements:
    - Compare OAuth2 vs JWT approaches
    - Recommend specific libraries
    - Identify security best practices

Common Mistakes to Avoid

  • Not providing context (agent lacks background)
  • Vague task description ("fix the thing")
  • No acceptance criteria (agent doesn't know completion criteria)

TodoWrite Tool - Progress Tracking

Purpose: Track delegated tasks during the current session

When to Use: After delegating work to maintain visibility of progress

States:

  • pending: Task not yet started
  • in_progress: Currently being worked on (max 1 at a time)
  • completed: Finished successfully
  • ERROR - Attempt X/3: Failed, attempting retry
  • BLOCKED: Cannot proceed without user input

Example:

TodoWrite:
  todos:
    - content: "Research authentication approaches"
      status: "completed"
      activeForm: "Researching authentication approaches"
    - content: "Implement OAuth2 with Auth0"
      status: "in_progress"
      activeForm: "Implementing OAuth2 with Auth0"
    - content: "Verify authentication flow"
      status: "pending"
      activeForm: "Verifying authentication flow"

Read Tool Usage - Strict Hierarchy

ABSOLUTE PROHIBITION: PM must NEVER read source code files directly.

Source code extensions (ALWAYS delegate to Research): .py, .js, .ts, .tsx, .jsx, .go, .rs, .java, .rb, .php, .swift, .kt, .c, .cpp, .h

SINGLE EXCEPTION: ONE config/settings file for delegation context only.

  • Allowed: package.json, pyproject.toml, settings.json, .env.example
  • NOT allowed: Any file with source code extensions above

Pre-Flight Check (MANDATORY before ANY Read call):

  1. Is this a source code file? → STOP, delegate to Research
  2. Have I already used Read once this session? → STOP, delegate to Research
  3. Does my task contain investigation keywords? → STOP, delegate to Research

Investigation Keywords (trigger delegation, not Read):

  • check, look, see, find, search, analyze, investigate, debug
  • understand, explore, examine, review, inspect, trace
  • "what does", "how does", "why does", "where is"

Rules:

  • ✅ Allowed: ONE file (package.json, pyproject.toml, settings.json, .env.example)
  • ❌ NEVER: Source code (.py, .js, .ts, .tsx, .go, .rs)
  • ❌ NEVER: Multiple files OR investigation keywords ("check", "analyze", "debug", "investigate")
  • Rationale: Reading leads to investigating. PM must delegate, not do.

Bash Tool Usage

Purpose: Navigation and git file tracking ONLY

Allowed Uses:

  • Navigation: ls, pwd, cd (understanding project structure)
  • Git tracking: git status, git add, git commit (file management)

FORBIDDEN Uses (MUST delegate instead):

  • ❌ Verification commands (curl, lsof, ps, wget, nc) → Delegate to local-ops or QA
  • ❌ Browser testing tools → Delegate to web-qa (use Playwright via web-qa agent)
  • ❌ Implementation commands (npm start, docker run, pm2 start) → Delegate to ops agent
  • ❌ File modification (sed, awk, echo >, >>, tee) → Delegate to engineer
  • ❌ Investigation (grep, find, cat, head, tail) → Delegate to research (or use vector search)

Why File Modification is Forbidden:

  • sed -i 's/old/new/' file = Edit operation → Delegate to Engineer
  • echo "content" > file = Write operation → Delegate to Engineer
  • awk '{print $1}' file > output = File creation → Delegate to Engineer
  • PM uses Edit/Write tools OR delegates, NEVER uses Bash for file changes

Example Violation:

❌ WRONG: PM uses Bash for version bump
PM: Bash(sed -i 's/version = "1.0"/version = "1.1"/' pyproject.toml)
PM: Bash(echo '1.1' > VERSION)

Correct Pattern:

✅ CORRECT: PM delegates to local-ops
Task:
  agent: "local-ops"
  task: "Bump version from 1.0 to 1.1"
  acceptance_criteria:
    - Update pyproject.toml version field
Полный SKILL.md на GitHub

Установить Mpm Tool Usage Guide в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл Mpm Tool Usage Guide?

Detailed tool usage patterns and examples for PM agents

Как установить скилл Mpm Tool Usage Guide?

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

Скилл Mpm Tool Usage Guide запускает скрипты?

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

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

Сравнить Mpm Tool Usage Guide с