From protocols
Four-role sequential pipeline for complex, high-risk changes. Scout surveys the codebase, Coder implements with TDD, Analyst finds problems, Verifier gates the merge. Use for large refactors, architectural shifts, and interdependent multi-phase work.
npx claudepluginhub ctoth/protocols-plugin --plugin protocolsThis skill uses the workspace's default tool permissions.
Use when: complex, multi-phase, interdependent work where each phase builds on the previous. High-risk changes. Large refactors. Architectural shifts.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
Use when: complex, multi-phase, interdependent work where each phase builds on the previous. High-risk changes. Large refactors. Architectural shifts.
Do NOT use for: simple fixes, independent parallel tasks, straightforward test additions.
Scout -> Coder -> Analyst -> Verifier
| Role | Job | Key instruction |
|---|---|---|
| Scout | Survey codebase, find patterns | "Do NOT implement" |
| Coder | Implement with TDD | "RED -> GREEN -> REFACTOR. All three." |
| Analyst | Find problems | "Your job is to find problems, not approve" |
| Verifier | Final gate | "Default is NO-MERGE. Code must earn it." |
Must do full TDD:
Cannot deviate from plan:
Include this in EVERY coder prompt:
## HARD CONSTRAINT: No Deviation
You implement the plan exactly as specified. You do not have authority to change the architecture.
If you believe the plan is wrong:
1. STOP immediately
2. Write your objection to reports/{task}-coder.md
3. Exit without implementing anything
You are NOT authorized to:
- Choose a "more pragmatic" approach
- Implement a partial solution
- Rationalize why the plan should be different
Implement the plan or report why you cannot. There is no third option.
Foreman only reads verifier verdict. Don't read scout/analyst reports yourself.