# popeye46/pwp-plugin architecture

> Architecture diagram of the GitHub repository popeye46/pwp-plugin, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/popeye46/pwp-plugin
- Repository: https://github.com/popeye46/pwp-plugin

## Overview

PWP is a Claude Code plugin that provides 11 task-specific engineering protocols. Its principal workflow is context-based skill activation, followed by a structured protocol for the matching engineering task. The graph groups skills by their primary lifecycle role and preserves each documented capability. The README describes activation and protocol behavior; no source excerpts were available to verify additional runtime components or internal call relationships.

Main entry points: [`skills/pwp-debug/SKILL.md`](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-debug/SKILL.md) (Debug), [`skills/pwp-code-review/SKILL.md`](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-code-review/SKILL.md) (Code Review), [`skills/pwp-security-audit/SKILL.md`](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-security-audit/SKILL.md) (Security Audit), [`skills/pwp-refactor/SKILL.md`](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-refactor/SKILL.md) (Refactor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_diagnose["Diagnose And Improve"]
  node_debug["Debug<br/>[SKILL.md]"]
  node_review["Code Review<br/>[SKILL.md]"]
  node_security["Security Audit<br/>[SKILL.md]"]
  node_refactor["Refactor<br/>[SKILL.md]"]
  node_performance["Performance<br/>[SKILL.md]"]
end

subgraph group_build["Build And Change"]
  node_bootstrap["Bootstrap<br/>[SKILL.md]"]
  node_api["API Design<br/>[SKILL.md]"]
  node_migration["Migration<br/>[SKILL.md]"]
end

subgraph group_delivery["Quality And Delivery"]
  node_testing["Testing<br/>[SKILL.md]"]
  node_deployment["Deployment<br/>[SKILL.md]"]
  node_documentation["Documentation<br/>[SKILL.md]"]
end

node_claude(("Claude Code"))
node_protocol["Structured Protocol"]

node_claude -->|"activates by context"| node_debug
node_claude -->|"activates by context"| node_review
node_claude -->|"activates by context"| node_security
node_claude -->|"activates by context"| node_refactor
node_claude -->|"activates by context"| node_performance
node_claude -->|"activates by context"| node_bootstrap
node_claude -->|"activates by context"| node_api
node_claude -->|"activates by context"| node_migration
node_claude -->|"activates by context"| node_testing
node_claude -->|"activates by context"| node_deployment
node_claude -->|"activates by context"| node_documentation
node_debug -->|"provides workflow"| node_protocol
node_review -->|"provides workflow"| node_protocol
node_security -->|"provides workflow"| node_protocol
node_refactor -->|"provides workflow"| node_protocol
node_performance -->|"provides workflow"| node_protocol
node_bootstrap -->|"provides workflow"| node_protocol
node_api -->|"provides workflow"| node_protocol
node_migration -->|"provides workflow"| node_protocol
node_testing -->|"provides workflow"| node_protocol
node_deployment -->|"provides workflow"| node_protocol
node_documentation -->|"provides workflow"| node_protocol

click node_debug "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-debug/SKILL.md"
click node_review "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-code-review/SKILL.md"
click node_security "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-security-audit/SKILL.md"
click node_refactor "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-refactor/SKILL.md"
click node_performance "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-perf/SKILL.md"
click node_bootstrap "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-bootstrap/SKILL.md"
click node_api "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-api-design/SKILL.md"
click node_migration "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-migrate/SKILL.md"
click node_testing "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-test/SKILL.md"
click node_deployment "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-deploy/SKILL.md"
click node_documentation "https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-docs/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_debug,node_review,node_security,node_refactor,node_performance toneBlue
class node_bootstrap,node_api,node_migration toneAmber
class node_testing,node_deployment,node_documentation toneMint
class node_claude,node_protocol toneIndigo
```

## Components

### Diagnose And Improve

- [Debug](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-debug/SKILL.md): `skills/pwp-debug/SKILL.md`
- [Code Review](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-code-review/SKILL.md): `skills/pwp-code-review/SKILL.md`
- [Security Audit](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-security-audit/SKILL.md): `skills/pwp-security-audit/SKILL.md`
- [Refactor](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-refactor/SKILL.md): `skills/pwp-refactor/SKILL.md`
- [Performance](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-perf/SKILL.md): `skills/pwp-perf/SKILL.md`

### Build And Change

- [Bootstrap](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-bootstrap/SKILL.md): `skills/pwp-bootstrap/SKILL.md`
- [API Design](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-api-design/SKILL.md): `skills/pwp-api-design/SKILL.md`
- [Migration](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-migrate/SKILL.md): `skills/pwp-migrate/SKILL.md`

### Quality And Delivery

- [Testing](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-test/SKILL.md): `skills/pwp-test/SKILL.md`
- [Deployment](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-deploy/SKILL.md): `skills/pwp-deploy/SKILL.md`
- [Documentation](https://github.com/popeye46/pwp-plugin/blob/main/skills/pwp-docs/SKILL.md): `skills/pwp-docs/SKILL.md`

### Other components

- **Claude Code**
- **Structured Protocol**

## Connections

- Claude Code → Debug: activates by context (evidence: `README.md`)
- Claude Code → Code Review: activates by context (evidence: `README.md`)
- Claude Code → Security Audit: activates by context (evidence: `README.md`)
- Claude Code → Refactor: activates by context (evidence: `README.md`)
- Claude Code → Performance: activates by context (evidence: `README.md`)
- Claude Code → Bootstrap: activates by context (evidence: `README.md`)
- Claude Code → API Design: activates by context (evidence: `README.md`)
- Claude Code → Migration: activates by context (evidence: `README.md`)
- Claude Code → Testing: activates by context (evidence: `README.md`)
- Claude Code → Deployment: activates by context (evidence: `README.md`)
- Claude Code → Documentation: activates by context (evidence: `README.md`)
- Debug → Structured Protocol: provides workflow (evidence: `README.md`)
- Code Review → Structured Protocol: provides workflow (evidence: `README.md`)
- Security Audit → Structured Protocol: provides workflow (evidence: `README.md`)
- Refactor → Structured Protocol: provides workflow (evidence: `README.md`)
- Performance → Structured Protocol: provides workflow (evidence: `README.md`)
- Bootstrap → Structured Protocol: provides workflow (evidence: `README.md`)
- API Design → Structured Protocol: provides workflow (evidence: `README.md`)
- Migration → Structured Protocol: provides workflow (evidence: `README.md`)
- Testing → Structured Protocol: provides workflow (evidence: `README.md`)
- Deployment → Structured Protocol: provides workflow (evidence: `README.md`)
- Documentation → Structured Protocol: provides workflow (evidence: `README.md`)
