Multi-Persona Pre-Analysis

VerifiedSafe

Five expert personas debate proposed changes before implementation to catch architectural, security, performance, and UX issues early.

Sby Skills Guide Bot
DevelopmentIntermediate
8/29/2026
Claude Code
#pre-implementation#architecture-review#risk-analysis#multi-persona#decision-support

Recommended for

Automated summary

This skill runs a proposed change through five expert personas (architect, security, performance, UX, and devil’s advocate) that debate before implementation and issue a GO, CAUTION, or STOP verdict.

Strengths

  • Organizes the debate into agreements, conflicts, resolutions, and concrete risks.
  • Produces a clear verdict with explicit STOP triggers.
  • Can read affected code via globs to ground the analysis.
  • Helps stress-test assumptions before writing code.

Limitations

  • Output quality depends on the provided context and code; without files, the analysis remains speculative.
  • The personas are model-simulated and do not replace human review or tests.
  • Can be verbose or overly cautious for simple changes.
When to use it

Use it before a major feature, significant refactor, or risky architecture decision.

When not to use it

Avoid it for trivial changes, bug fixes, or already-decided tasks with no open design questions.

Security analysis

Safe
Quality score84/100

This is a purely instructional prompt/persona-debate skill with no declared tools and no execution primitives. It contains no shell commands, network calls, file writes, secret handling, or obfuscated payloads. The only filesystem interaction is reading relevant code when file globs are supplied, which is a normal, non-destructive analysis activity.

No concerns found

How this analysis is made

Examples

Collaborative editing proposal
Use ck:predict to analyze this proposal before implementation: add real-time collaborative editing to our notes app using WebSockets and CRDTs. --files src/**/*.ts
Auth redesign review
Run ck:predict on this architecture change: replace session cookies with short-lived JWTs and refresh tokens across the API and web client. --files apps/**/*.{ts,tsx}
Competing approaches
Use ck:predict to stress-test two options for search: PostgreSQL full-text search vs. adding Elasticsearch. We need to handle 10x traffic growth.

name: ck:predict description: "5 expert personas debate proposed changes before implementation. Catches architectural, security, performance, and UX issues early. Use before major features or risky changes." argument-hint: "<feature description or change proposal> [--files <glob>]" metadata: author: claudekit attribution: "Multi-persona prediction pattern adapted from autoresearch by Udit Goenka (MIT)" license: MIT version: "1.0.0"

ck:predict — Multi-Persona Pre-Analysis

Five expert personas independently analyze a proposed change, then debate conflicts to produce a consensus verdict before a single line of code is written.

When to Use

  • Before implementing a major or high-risk feature
  • Before a significant refactor or architecture change
  • Evaluating competing technical approaches
  • Stress-testing assumptions in a proposed design

When NOT to Use

  • Trivial or low-risk changes (use ck:debug for bugs, ck:plan for already-decided tasks)
  • Already-approved work with no open design questions
  • Pure dependency upgrades with no API changes

The 5 Personas

| Persona | Focus | Core Questions | |---------|-------|----------------| | Architect | System design, scalability, coupling | Does this fit the architecture? Will it scale? What new coupling does it introduce? | | Security | Attack surface, data protection, auth | What can be abused? Where is data exposed? Are auth boundaries respected? | | Performance | Latency, memory, queries, bundle size | What is the latency impact? N+1 queries? Memory leaks? Bundle bloat? | | UX | User experience, accessibility, error states | Is this intuitive? What does the error state look like? Accessible on mobile? | | Devil's Advocate | Hidden assumptions, simpler alternatives | Why not do nothing? What is the simplest alternative? Which assumption could be wrong? |


Debate Protocol

  1. Read the proposed change/feature description from the argument
  2. Read relevant code if file paths are provided (grep for affected areas)
  3. Each persona analyzes independently — do not let personas influence each other during this phase
  4. Identify agreements — points where all (or 4+) personas align
  5. Identify conflicts — points where personas meaningfully disagree
  6. Weigh tradeoffs — for each conflict, evaluate which concern has higher impact
  7. Produce verdict — GO / CAUTION / STOP with actionable recommendations

Output Format

## Prediction Report: [proposal title]

## Verdict: GO | CAUTION | STOP

### Agreements (all personas align)
- [Point 1 — what they all agree on]
- [Point 2]

### Conflicts & Resolutions

| Topic | Architect | Security | Performance | UX | Devil's Advocate | Resolution |
|-------|-----------|----------|-------------|-----|-----------------|------------|
| [Issue] | [View] | [View] | [View] | [View] | [View] | [Recommendation] |

### Risk Summary

| Risk | Severity | Mitigation |
|------|----------|------------|
| [Risk description] | Critical/High/Medium/Low | [Concrete action] |

### Recommendations
1. [Action item — rationale]
2. [Action item — rationale]
3. [Action item — rationale]

Verdict Levels

| Verdict | Meaning | |---------|---------| | GO | All personas aligned, no critical risks, proceed with confidence | | CAUTION | Concerns exist but are manageable — mitigations identified, proceed carefully | | STOP | Critical unresolved issue found — needs redesign or more information before proceeding |

STOP Triggers (any one is sufficient)

  • Security persona identifies auth bypass or data exposure with no viable mitigation
  • Architect identifies fundamental design incompatibility requiring significant rework
  • Performance persona identifies unacceptable latency or query explosion with no workaround
  • Devil's Advocate exposes a false assumption that invalidates the entire approach

Integration with Other Skills

| Workflow Step | Skill | How | |---------------|-------|-----| | Deepen risk scenarios | ck:scenario | Feed Risk Summary rows as feature description | | Create implementation plan | ck:plan | Attach Recommendations as constraints to planner | | High-risk feature implementation | ck:cook | Reference CAUTION/STOP items as acceptance gates |


Example Invocations

/ck:predict "Add WebSocket support for real-time notifications"
/ck:predict "Migrate authentication from JWT to session cookies"
/ck:predict "Add multi-tenancy to the database layer"
/ck:predict "Replace REST API with GraphQL" --files src/api/**/*.ts

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/multi-persona-pre-analysis-mte1lgha/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/multi-persona-pre-analysis-mte1lgha' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/multi-persona-pre-analysis-mte1lgha/download' --output '.skill-downloads/multi-persona-pre-analysis-mte1lgha/SKILL.md.part' && mv '.skill-downloads/multi-persona-pre-analysis-mte1lgha/SKILL.md.part' '.skill-downloads/multi-persona-pre-analysis-mte1lgha/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/multi-persona-pre-analysis-mte1lgha/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills