mega-eval
Run a comprehensive, multi-phase evaluation of any idea, product, or feature set — producing multiple deliverable files covering critical feedback, competitive context, strengths & opportunities, design issues (including optional live-site visual/UX audit when an HTTPS product URL is in scope), optional security posture audit (Phase 1E), optional AI/agent durability audit (Phase 1F), proposed fixes, and a content strategy outline. Accepts any combination of raw text, uploaded documents, or crawlable URLs as input. Orchestrates parallel subagents for efficiency. Use this skill whenever someone says 'evaluate this idea', 'tear down this product', 'full analysis of', 'mega eval', 'comprehensive review', 'deep evaluation', 'assess this feature set', 'product review pipeline', or any request for a thorough multi-dimensional analysis of a concept, product, or feature. Also trigger when the user provides a URL, doc, or text block and asks for a complete picture — strengths, weaknesses, market context, and next steps.
- License 许可
- MIT
- 最近更新
- 2026-10-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- mega-eval
- description
- Run a comprehensive, multi-phase evaluation of any idea, product, or feature set — producing multiple deliverable files covering critical feedback, competitive context, strengths & opportunities, design issues (including optional live-site visual/UX audit when an HTTPS product URL is in scope), optional security posture audit (Phase 1E), optional AI/agent durability audit (Phase 1F), proposed fixes, and a content strategy outline. Accepts any combination of raw text, uploaded documents, or crawlable URLs as input. Orchestrates parallel subagents for efficiency. Use this skill whenever someone says 'evaluate this idea', 'tear down this product', 'full analysis of', 'mega eval', 'comprehensive review', 'deep evaluation', 'assess this feature set', 'product review pipeline', or any request for a thorough multi-dimensional analysis of a concept, product, or feature. Also trigger when the user provides a URL, doc, or text block and asks for a complete picture — strengths, weaknesses, market context, and next steps.
02 资源文件 130
- 参考文档.claude-plugin/marketplace.json987 B
- 参考文档.github/ISSUE_TEMPLATE/bug-report.md613 B
- 参考文档.github/ISSUE_TEMPLATE/config.yml27 B
- 参考文档.github/ISSUE_TEMPLATE/feature-request.md462 B
- 参考文档.github/ISSUE_TEMPLATE/improvement.md542 B
- 参考文档.github/pull_request_template.md775 B
- 参考文档.github/workflows/validate-plugin.yml3.6 KB
- 参考文档.github/workflows/validate-skill-repo.yml855 B
- 其他.gitignore232 B
- 参考文档CONTRIBUTING.md3.7 KB
- 参考文档docs/architecture/artifact-contracts.md3.1 KB
- 参考文档docs/architecture/observability.md2.4 KB
- 参考文档docs/architecture/regression-evals.md1.6 KB
- 参考文档docs/architecture/runtime-contract.md3.9 KB
- 参考文档docs/brainstorms/2026-03-24-mega-eval-sub-skills-requirements.md4.8 KB
- 参考文档docs/brainstorms/2026-03-24-mega-eval-user-feedback-github-requirements.md3.8 KB
- 参考文档docs/brainstorms/2026-03-24-self-learning-sustainability-requirements.md4.6 KB
- 参考文档docs/brainstorms/2026-04-15-mega-eval-improvement-program-requirements.md5.1 KB
- 参考文档docs/brainstorms/2026-04-15-mega-eval-phase-b-planning-proportionality-requirements.md3.8 KB
- 参考文档docs/brainstorms/2026-04-15-mega-eval-phase-c-platform-upgrades-requirements.md4.0 KB
- 参考文档docs/brainstorms/2026-04-15-mega-eval-security-durability-tracks-requirements.md9.9 KB
- 参考文档docs/guides/change-planning.md5.0 KB
- 参考文档docs/plans/2026-03-24-001-feat-self-learning-run-feedback-loop-plan.md13.8 KB
- 参考文档docs/plans/2026-03-24-002-feat-self-learning-sustainability-plan.md8.9 KB
- 参考文档docs/plans/2026-03-24-003-feat-github-user-feedback-templates-plan.md4.1 KB
- 参考文档docs/plans/2026-03-24-004-feat-mega-eval-sub-skills-plan.md9.2 KB
- 参考文档docs/plans/2026-03-24-005-feat-claude-plugin-marketplace-packaging-plan.md21.3 KB
- 参考文档docs/plans/2026-03-25-001-feat-mega-eval-optional-design-review-plan.md8.5 KB
- 参考文档docs/plans/2026-04-15-001-feat-mega-eval-security-durability-tracks-plan.md21.1 KB
- 参考文档docs/plans/2026-04-15-002-feat-mega-eval-improvement-program-plan.md15.4 KB
- 参考文档docs/plans/2026-04-15-003-feat-mega-eval-phase-b-planning-proportionality-plan.md8.3 KB
- 参考文档docs/plans/2026-04-15-004-feat-mega-eval-phase-c-platform-upgrades-plan.md9.8 KB
- 参考文档docs/plans/2026-10-06-1749-feat-major-projects-contract-parity-plan.md18.9 KB
- 参考文档docs/specs/QA-SKILL-FUNCTIONAL-SPEC.md9.5 KB
- 资产文件examples/future-builders-live/00-executive-summary.docx37.2 KB
- 资产文件examples/future-builders-live/01-hater-mode-feedback.docx41.3 KB
- 资产文件examples/future-builders-live/02-competitive-landscape.docx39.5 KB
- 资产文件examples/future-builders-live/03-strengths-opportunities.docx39.3 KB
- 资产文件examples/future-builders-live/04-critical-fixes-and-design.docx40.4 KB
- 资产文件examples/future-builders-live/05-content-strategy-outline.docx39.9 KB
- 参考文档examples/future-builders-live/eval-brief.md2.6 KB
- 参考文档examples/future-builders-live/eval-bundle.json2.5 KB
- 脚本examples/future-builders-live/generate_docs.py10.8 KB
- 参考文档examples/future-builders-live/phase1a-hater-raw.md13.2 KB
- 参考文档examples/future-builders-live/phase1b-competitive-raw.md8.0 KB
- 参考文档examples/future-builders-live/phase1c-strengths-raw.md7.2 KB
- 参考文档examples/future-builders-live/phase2-synthesis.md10.2 KB
- 参考文档examples/future-builders-live/phase3-content-outline-raw.md8.6 KB
- 参考文档examples/future-builders-live/README.md4.1 KB
- 参考文档examples/run-feedback/promoted-learning.example.md712 B
- 参考文档examples/run-feedback/README.md726 B
- 其他examples/run-feedback/run-log.example.jsonl1.5 KB
- 参考文档examples/run-feedback/run-log.example.md1.6 KB
- 资产文件examples/sample-run/00-executive-summary.docx12.9 KB
- 资产文件examples/sample-run/01-hater-mode-feedback.docx14.3 KB
- 资产文件examples/sample-run/02-competitive-landscape.docx13.2 KB
- 资产文件examples/sample-run/03-strengths-opportunities.docx12.5 KB
- 资产文件examples/sample-run/04-critical-fixes-and-design.docx12.5 KB
- 资产文件examples/sample-run/05-content-strategy-outline.docx12.4 KB
- 参考文档examples/sample-run/eval-brief.md2.7 KB
- 参考文档examples/sample-run/eval-bundle.json92.7 KB
- 参考文档examples/sample-run/phase1a-hater-raw.md12.0 KB
- 参考文档examples/sample-run/phase1b-competitive-raw.md17.5 KB
- 参考文档examples/sample-run/phase1c-strengths-raw.md18.6 KB
- 参考文档examples/sample-run/phase1d-design-raw.md3.2 KB
- 参考文档examples/sample-run/phase2-synthesis.md10.0 KB
- 参考文档examples/sample-run/phase3-content-outline-raw.md6.5 KB
- 参考文档examples/sample-run/README.md2.3 KB
- 许可证LICENSE1.0 KB
- 参考文档MAINTAINERS.md10.0 KB
- 其他mega-eval.skill10.6 KB
- 参考文档plugins/mega-eval/.claude-plugin/plugin.json639 B
- 其他plugins/mega-eval/references16 B
- 其他plugins/mega-eval/scripts13 B
- 参考文档README.md23.3 KB
- 参考文档references/design-audit-template.md3.4 KB
- 参考文档references/durability-audit-template.md3.3 KB
- 参考文档references/learnings.md2.2 KB
- 参考文档references/model-selection.md3.8 KB
- 参考文档references/pipeline-checklist.md7.7 KB
- 参考文档references/security-audit-template.md8.0 KB
- 参考文档references/subagent-prompts.md21.4 KB
- 参考文档schemas/eval-brief.schema.json1.6 KB
- 参考文档schemas/phase1b-competitive.schema.json694 B
- 参考文档schemas/phase1c-strengths.schema.json610 B
- 参考文档schemas/phase1d-design.schema.json852 B
- 参考文档schemas/phase1e-security.schema.json465 B
- 参考文档schemas/phase1f-durability.schema.json472 B
- 参考文档schemas/phase2-synthesis.schema.json1.0 KB
- 参考文档schemas/phase3-content-outline.schema.json602 B
- 参考文档schemas/prompt-derivation-engine.schema.json13.3 KB
- 脚本scripts/build_eval_bundle.py12.1 KB
- 脚本scripts/check_references.py2.8 KB
- 脚本scripts/ingest.py5.8 KB
- 脚本scripts/log_event.py4.1 KB
- 脚本scripts/suggest_learnings.py1.6 KB
- 脚本scripts/validate_artifact.py6.0 KB
- 脚本scripts/validate_run_artifacts.py6.2 KB
- 参考文档SECURITY.md1.3 KB
- 参考文档skills/README.md2.0 KB
- 参考文档tests/evals/design_audit_fallback/phase1d-design-raw.md1.0 KB
- 参考文档tests/evals/limited_data_competitive/phase1b-competitive-raw.md831 B
- 参考文档tests/evals/sparse_input/eval-brief.md1.1 KB
- 参考文档tests/evals/synthesis_tension/phase2-synthesis.md1.4 KB
- 参考文档tests/evals/text_only/eval-brief.md1.1 KB
- 参考文档tests/fixtures/invalid/eval-brief.md714 B
- 参考文档tests/fixtures/invalid/phase1b-competitive-raw.md214 B
- 参考文档tests/fixtures/invalid/phase1c-strengths-raw.md121 B
- 参考文档tests/fixtures/invalid/phase1d-design-raw.md207 B
- 参考文档tests/fixtures/invalid/phase1e-security-raw.md71 B
- 参考文档tests/fixtures/invalid/phase1f-durability-raw.md71 B
- 参考文档tests/fixtures/invalid/phase2-synthesis.md370 B
- 参考文档tests/fixtures/invalid/phase3-content-outline-raw.md149 B
- 参考文档tests/fixtures/valid/eval-brief.md1.2 KB
- 参考文档tests/fixtures/valid/phase1b-competitive-raw.md1006 B
- 参考文档tests/fixtures/valid/phase1c-strengths-raw.md1.2 KB
- 参考文档tests/fixtures/valid/phase1d-design-raw.md2.1 KB
- 参考文档tests/fixtures/valid/phase1e-security-raw.md677 B
- 参考文档tests/fixtures/valid/phase1f-durability-raw.md549 B
- 参考文档tests/fixtures/valid/phase2-synthesis.md1.6 KB
- 参考文档tests/fixtures/valid/phase3-content-outline-raw.md1.2 KB
- 脚本tests/sim/test_pack.py9.8 KB
- 脚本tests/test_build_eval_bundle.py7.4 KB
- 脚本tests/test_ingest.py6.8 KB
- 脚本tests/test_log_event.py3.2 KB
- 脚本tests/test_prompt_registry.py1.5 KB
- 脚本tests/test_reference_files.py4.4 KB
- 脚本tests/test_regression_evals.py2.3 KB
- 脚本tests/test_validate_artifact.py3.1 KB
- 脚本tests/test_validate_run_artifacts.py3.6 KB
03 SKILL.md 正文
Mega Eval — Multi-Phase Product & Idea Evaluation Pipeline
This skill orchestrates a complete evaluation of an idea, product, or feature set through six phases, producing multiple deliverable files. It is designed to run autonomously — slower and resource-efficient is fine; thoroughness matters more than speed.
Overview of the Pipeline
INPUT (text / doc / URL / combo)
│
▼
┌─ Phase 0: Ingestion ──────────────────────────────┐
│ Parse all inputs into a unified brief │
│ (+ optional: primary URL for live-site tracks) │
└────────────────────────┬───────────────────────────┘
│
┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐
▼ ▼ ▼ ▼ ▼ ▼ │
Phase 1A Phase 1B Phase 1C Phase 1D Phase 1E Phase 1F │
Hater Comp. Strengths Design Security AI dur. │
(always) (always) (always) (opt.) (opt.) (opt.) │
└─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
▼
┌─ Phase 2: Synthesis ──────────────────────────────┐
│ Critical fixes, design issues, next steps │
└────────────────────────┬───────────────────────────┘
▼
┌─ Phase 3: Content Strategy Outline ────────────────┐
│ Long-form outline for how to pitch/write about it │
└────────────────────────┬───────────────────────────┘
▼
┌─ Phase 4: Deliverable Assembly ────────────────────┐
│ Compile all outputs into final files │
└─────────────────────────────────────────────────────┘
Model fit check (required before Phase 1)
Mega Eval is reasoning- and synthesis-heavy; model tier directly affects depth and grounding. Do not skip this check. Read references/model-selection.md for the full phase→tier mapping, minimum tiers, deprecation notes, and vendor-doc links, then discover what the host allows (one global model, per-subagent routing, or fixed defaults).
Hard rule: Phase 2 (synthesis) must use the frontier/flagship model when available (e.g. gpt-5.4, claude-opus-4-6) — never mini/nano/haiku-class unless the user explicitly asked for a cost-saving run. Phases 1 and 3 should run at least the strong-general tier; if the host exposes only one model, use frontier for the whole pipeline.
If models are constrained (locked mini tier, deprecated snapshot, unknown routing): add a Model limitation bullet under Open Questions in eval-brief.md, and append a model_check line to the run log if logging is on.
Deliverables (Multiple Files)
The pipeline produces these files in the workspace folder:
01-hater-mode-feedback.docx— Full 12-lens critical teardown02-competitive-landscape.docx— Market context, competitors, positioning gaps03-strengths-opportunities.docx— What's working, where the upside is04-critical-fixes-and-design.docx— Critical fixes needed, design inconsistencies, non-breaking next steps05-content-strategy-outline.docx— Long-form outline for publicly writing about or pitching the idea00-executive-summary.docx— Master rollup: key findings, priority-ranked action items, go/no-go signals (optional Security Posture and AI Durability Posture mini-sections when Phase 1E / 1F ran and apply)
Runtime Contract
Mega-eval targets Claude Code first. Full behavior assumes:
- local file read/write
- subagent execution
- access to
references/and sibling skills - markdown artifact generation
Recommended capabilities include WebFetch, WebSearch, and the external hater-mode, long-form-outline, and docx skills. Browser tooling is optional and primarily improves Phase 1D.
If these capabilities are missing, degrade explicitly rather than pretending behavior is identical:
- no subagents: run sequentially
- no WebSearch: keep Phase 1B headings, reduce confidence, avoid speculation
- no browser tooling: use Phase 1D Tier B or Tier C
- no
docx: stop at validated markdown artifacts or state that Phase 4 is partial
See docs/architecture/runtime-contract.md for the authoritative capability matrix and fallback rules.
Run feedback & run log (optional)
This is run feedback, not model training: an append-only Markdown log so you can improve prompts and checklists over time. Do not silently rewrite SKILL.md or subagent prompts from logs—promotion goes through human review into references/learnings.md (see that file for promotion gates).
Global logging rule (applies to every phase below). When logging is on, wrap each phase in
phase_start/phase_completelines and record anytool_error/retry/failure_mode/user_correctionas they occur. Ifrun-log.jsonlis enabled, mirror each markdown event with its structured equivalent (phase_start,phase_complete,prompt_selected,artifact_written,artifact_validated,fallback_used,quality_gate_fail). Includeduration_mson everyphase_completeJSONL event; addtokens_in/tokens_out/cost_usdonly when the host provides them. The per-phase sections below only call out logging where a phase needs something beyond this rule.
When the runtime can append structured files, prefer a matching run-log.jsonl sidecar beside run-log.md. Use the markdown file for human review and the JSONL sidecar for structured telemetry like phase timing, prompt selection, artifact validation, and fallback paths. See docs/architecture/observability.md for the event model.
Structured telemetry helper
If the runtime can execute local scripts, use scripts/log_event.py to mirror important markdown log events into run-log.jsonl.
Example:
python3 scripts/log_event.py path/to/run-log.jsonl phase_start \
--run-id <run_id> \
--phase phase0 \
--status ok
Opt out and privacy
- Disable logging: If
MEGA_EVAL_LOGis0,off, orfalse, skip creating or updatingrun-log.md. The pipeline runs unchanged. - Default: Logs stay workspace-local only. Never upload run logs or paste secrets into shared learnings.
- Redaction: In logs and in promoted patterns, redact API keys, tokens, and sensitive URLs. Cap each log line at ~500 characters to avoid dumping huge tool output.
Where to write run-log.md
Use one path consistently for the run (in order of preference):
<workspace>/sessions/<session>/run-log.md(alongsideeval-brief.md)<workspace>/run-log.mdif session folders are not available<workspace>/.mega-eval/runs/<ISO-timestamp>/run-log.mdif you need multiple runs in one repo
If you create structured telemetry too, write run-log.jsonl alongside run-log.md at the same location.
Run ID
At Phase 0, generate a short run_id (e.g. 8 alphanumeric characters) or reuse the host session id when exposed. Pass the same run_id into every Phase 1 subagent prompt (1A/1B/1C, and 1D / 1E / 1F when run) and Phase 3 so parallel work correlates to one evaluation.
What to append (taxonomy)
Append a timestamped line when any of these occur (not only at the end):
| Kind | When |
|---|---|
phase_start / phase_complete |
Entering or finishing a phase (0–4) |
tool_error |
Web fetch, search, or other tool failed |
retry |
Subagent or tool rerun |
user_correction |
User asked to rewrite a section or fix factual content |
assumption_flag |
Proceeded on explicit inference |
quality_gate_fail |
Schema validation failed (prefer details naming schema) or output too thin/generic before rework — when logging JSONL, always pair schema failures with artifact_validated status fail |
model_check |
Model fit verified vs references/model-selection.md — include pass, compromise, or host_locked and observed model names (redact tenant-specific secrets) |
implicit_signal |
Large rewrite of a raw file (if you observe it) |
failure_mode |
Short tag for search: grounding, tool_timeout, scope_creep, format_mismatch, etc. |
outcome_note |
Optional forensics only: e.g. outcome_complete or outcome_abandoned after Phase 4 (or if the user stops early)—not a measure of methodology quality |
(Structured run-log.jsonl event types are listed in the Global logging rule above.)
Learned patterns (human-curated)
Before Phase 1, skim references/learnings.md for methodological bullets that apply to this run (optional but recommended for maintainers).
Pre–Phase 4 review (required when logging is on)
Before generating .docx files: read run-log.md (if present). Ensure final narrative deliverables reflect logged corrections and recovery paths. If eval-brief.md or phase2-synthesis.md is stale relative to corrections, reconcile them or call out the delta in the executive summary.
Phase 0: Input Ingestion
Before anything else, normalize all inputs into a single Evaluation Brief — a structured text block that every downstream phase consumes. This ensures consistency regardless of input format.
If run logging is enabled (MEGA_EVAL_LOG not opted out): generate a run_id and create run-log.md at the chosen path with a Meta section (run_id, started ISO time, workspace, status: in_progress). (The Global logging rule then governs phase boundaries; if structured telemetry is on, create run-log.jsonl beside it via scripts/log_event.py.)
If the target workspace already contains canonical mega-eval artifacts from an earlier or partial run, inspect them before rerunning phases. Reuse valid outputs and continue from the first incomplete phase when appropriate instead of regenerating everything by default. The helper script scripts/build_eval_bundle.py can export eval-bundle.json with artifact presence, phase status, and a recommended next phase. Before resuming, re-run scripts/validate_run_artifacts.py for the next gate (--gate pre-phase1|pre-phase2|pre-phase3|pre-phase4) — the bundle is existence-only and must not be treated as proof of schema validity.
Artifact validation gates (hard-stop)
When scripts/validate_run_artifacts.py (or scripts/validate_artifact.py) is available, hard-stop at these boundaries — do not launch the next phase until the gate exits 0:
| Gate | When | Command |
|---|---|---|
| A | After Phase 0, before Phase 1 | python3 scripts/validate_run_artifacts.py --gate pre-phase1 <workspace> |
| B | After Phase 1, before Phase 2 | python3 scripts/validate_run_artifacts.py --gate pre-phase2 <workspace> |
| C | After Phase 2, before Phase 3 | python3 scripts/validate_run_artifacts.py --gate pre-phase3 <workspace> |
| D | After Phase 3, before Phase 4 | python3 scripts/validate_run_artifacts.py --gate pre-phase4 <workspace> |
Layered optional rule (1D/1E/1F): If the optional raw file is absent, skip validation for that path (do not block). If the file exists, validate it; on failure, hard-stop and log artifact_validated fail + quality_gate_fail with schema details when JSONL is on. Thin-but-schema-valid stubs may proceed. phase1a-hater-raw.md has no schema yet — do not invent one; leave it outside these gates.
Handling Input Types
Raw text block: Use directly. Extract the core idea, feature list, value proposition, and any claims made.
Uploaded document (.pdf, .docx, .pptx, .txt, .md): Read the file using appropriate tools (Read tool, pandoc, pdf extraction). Extract the content and summarize it into the brief format.
URL: Use WebFetch to crawl the page. Extract the key content — product description, features, pricing, positioning. If the URL fails, note it and proceed with whatever text the user provided.
Combination: Merge all sources. Deduplicate overlapping information. Note which source contributed which claims.
Evaluation Brief Format
Use Prompt ID phase0.brief.v1 from references/subagent-prompts.md for the brief markdown body. Save it as <workspace>/sessions/<session>/eval-brief.md when using sessions, or <workspace>/eval-brief.md otherwise. Then run Gate A (validate_run_artifacts.py --gate pre-phase1).
If critical information is missing (e.g., the user gave a vague one-liner), ask ONE clarifying question before proceeding. Otherwise, infer what you can and note assumptions in the brief.
Optional live-site tracks (Phase 1D, 1E, 1F) — Phase 0 decisions
Use the same primary https:// URL for 1D, 1E, and 1F when more than one track runs (the brief’s Primary URL for Phase 1D field is the shared Primary URL for all live-site tracks). If there is no usable URL, record skipped for each affected track with an explicit reason.
Env opt-out parity — treat each variable as disabled when its value is 0, off, or false (case-insensitive). When unset, defaults below apply.
| Env var | Track | When skipped in Phase 0 |
|---|---|---|
MEGA_EVAL_DESIGN_AUDIT |
Phase 1D (design) | Set Audit decision: skipped (reason: env opt-out). Do not launch 1D. |
MEGA_EVAL_SECURITY_AUDIT |
Phase 1E (security) | Set Audit decision: skipped under Security audit (reason: env opt-out). Do not launch 1E. |
MEGA_EVAL_DURABILITY_AUDIT |
Phase 1F (AI durability) | Set Audit decision: skipped under AI durability audit (reason: env opt-out). Do not launch 1F. |
Phase 1D — live-site design audit
Purpose: When the subject has a public web surface, add a report-only visual/UX audit (phase1d-design-raw.md) in parallel with Phase 1A–1C. This is not the gstack /design-review fix-and-commit loop (which targets your codebase). Phase 1D only produces markdown + optional screenshots for synthesis.
Default when env is unset: Run Phase 1D when you can name one primary https:// URL that reasonably represents the marketing or product experience. Prefer the URL the user highlighted; otherwise infer from Source Material (exclude obvious non-surfaces: direct .pdf links, raw file hosts, or pages that are clearly not the product).
Phase 1E — security audit (CSO-style)
Purpose: Structured, observation-only security findings with a scored risk band (phase1e-security-raw.md). Never credential testing, rate-limit probing, or intrusive action — report-only, Primary URL (+ optional single privacy-policy page for cross-check).
Default when env is unset: Run Phase 1E whenever inputs allow (same Primary URL rule as 1D). If there is no Primary URL, set Audit decision: skipped or run with Tier C / limits documented in the subagent output (brief should state the decision in one line).
Phase 1F — AI / agent durability audit
Purpose: Resilience of the subject’s AI/agent surface to model/API/provider change (phase1f-durability-raw.md), with risk band Low | Medium | High | Critical | N/A.
Applicability is judged inside the 1F subagent (not in Phase 0). Phase 0 only records AI-surface applicability note as a quick guess or defer to 1F subagent.
Default when env is unset: Launch 1F when allowed; the subagent writes a short N/A stub (no padded content) if there is no meaningful AI/LLM/agent surface.
Ambiguity: If multiple URLs qualify for the primary site, pick one and note the others under Open Questions — do not spawn multiple primary-url tracks.
Phase 1: Parallel Analysis (use subagents)
Launch three analysis tracks always (1A–1C). In the same wave, also launch:
- Phase 1D only when Phase 0 recorded Audit decision: run under Live site / design audit.
- Phase 1E only when Phase 0 recorded Audit decision: run under Security audit (Phase 1E).
- Phase 1F only when Phase 0 recorded Audit decision: run under AI durability audit (Phase 1F).
Each subagent receives the Evaluation Brief as input; Phase 1D/1E/1F also receive the Primary URL explicitly when the brief has one.
The key efficiency principle: each subagent does ONE job thoroughly. Don't duplicate work across tracks.
Phase 1D / 1E / 1F failure isolation: If any of 1D, 1E, or 1F fails, times out, or produces Tier C “thin” output without leaving a schema-invalid file, log tool_error or failure_mode when logging is on (scope the line to the track, e.g. 1E or 1F) — do not block Phase 2 for absence or thin-but-valid stubs. Proceed once 1A–1C are complete and Gate B passes. If an optional raw file exists and fails schema validation, hard-stop at Gate B (present-invalid blocks; absent/thin does not).
Phase 1A: Hater Mode Critical Feedback
Use Prompt ID phase1a.hater.v1 from references/subagent-prompts.md.
When you spawn the subagent, fill in:
run_idrun_logeval_briefhater_mode_skill_path
Non-negotiable output requirements:
- Save the output as
phase1a-hater-raw.md - Keep the analysis specific to the subject rather than generic critique
- Follow the external hater-mode output format exactly, including its synthesis sections
Phase 1B: Competitive & Market Context
Use Prompt ID phase1b.competitive.v1 from references/subagent-prompts.md.
When you spawn the subagent, fill in:
run_idrun_logeval_brief
Non-negotiable output requirements:
- Save the output as
phase1b-competitive-raw.md - Use web research where available
- Include these headings exactly:
## Direct Competitors## Adjacent Solutions## Market Trends & Size## Positioning Analysis## Risks & Considerations
Phase 1C: Strengths & Opportunities
Use Prompt ID phase1c.strengths.v1 from references/subagent-prompts.md.
When you spawn the subagent, fill in:
run_idrun_logeval_brief
Non-negotiable output requirements:
- Save the output as
phase1c-strengths-raw.md - Keep the tone honest rather than cheerleading
- Include these headings exactly:
## Core Strengths## Growth Opportunities## Unfair Advantages## Success Conditions## Ideal Use Cases & Customer Profiles
Phase 1D: Live site design audit (optional)
Only if Phase 0 Audit decision was run. Use Prompt ID phase1d.design.v1 from references/subagent-prompts.md.
When you spawn the subagent, fill in:
run_idrun_logeval_briefprimary_urlreferences_path
Non-negotiable output requirements:
- Save the output as
phase1d-design-raw.md - Use
references/design-audit-template.mdas the output contract - Keep the track report-only; no repo edits or
/design-reviewloop - Be explicit about evidence tier limits when browser access is unavailable
Phase 1E: Security audit (optional)
Only if Phase 0 Audit decision was run under Security audit (Phase 1E). Use Prompt ID phase1e.security.v1 from references/subagent-prompts.md and references/security-audit-template.md. The orchestrator resolves <cso-skill-path> to the host’s /cso skill (same placeholder pattern as <hater-mode-skill-path>). If unavailable, the subagent follows the embedded fallback checklist in security-audit-template.md and sets methodology: fallback in Meta.
Spawn a subagent with that Prompt ID (correlation header, Primary URL only — no broad WebSearch, no repo inspection, no credentialed probes; redact secrets before saving).
Output: <workspace>/phase1e-security-raw.md
Phase 1F: AI / agent durability audit (optional)
Only if Phase 0 Audit decision was run under AI durability audit (Phase 1F). Use Prompt ID phase1f.durability.v1 from references/subagent-prompts.md and references/durability-audit-template.md. Resolve <durability-review-skill-path> like other skill placeholders. If the external skill is missing, use the template as fallback and set methodology: fallback in Meta.
Applicability (whether the subject has a meaningful AI/agent surface) is decided inside this subagent. If none, write the N/A stub per template and stop — not a pipeline failure.
Output: <workspace>/phase1f-durability-raw.md
Waiting for Phase 1
After launching subagents, wait until:
phase1a-hater-raw.md,phase1b-competitive-raw.md, andphase1c-strengths-raw.mdexist (required), and- If Phase 1D was launched:
phase1d-design-raw.mdexists or you have logged abandonment / thin output for 1D and chosen to proceed. - If Phase 1E was launched:
phase1e-security-raw.mdexists or you have logged abandonment / thin output for 1E and chosen to proceed. - If Phase 1F was launched:
phase1f-durability-raw.mdexists or you have logged abandonment / thin output for 1F and chosen to proceed.
While waiting, you can start drafting the structure of the Phase 2 synthesis document. Check on subagent progress periodically using read_transcript. (Per the Global logging rule, scope any tool_error / failure_mode line to the specific track, e.g. 1E or 1F.)
Phase 2: Synthesis — Critical Fixes, Design Issues, Next Steps
Once Phase 1 required tracks (1A–1C) complete and Gate B passes, read the Phase 1 raw outputs and synthesize them into a single actionable document. This is the most judgment-intensive phase — do it yourself, not via subagent. Optional tracks (1D–1F) may be missing or thin-but-valid — proceed with synthesis and note limits; present-invalid optional files must be fixed before Gate B.
Read All Phase 1 Outputs
Read phase1a-hater-raw.md, phase1b-competitive-raw.md, and phase1c-strengths-raw.md.
If phase1d-design-raw.md exists (Phase 1D ran or produced a thin-failure stub), read it. Treat it as the authoritative source for rendered-site visual/UX observations. Deduplicate against Phase 1A where personas commented on “looks” — prefer Phase 1D for layout, typography, template tells, and interaction affordances; keep 1A for reception / credibility narratives that are not purely visual.
If phase1e-security-raw.md exists, read it. Treat it as the authoritative source for structured security findings (risk band, findings table). Deduplicate against Phase 1A: if 1A personas touched trust/security, keep narrative in 1A but do not duplicate 1E’s Critical/High items as separate critical fixes — prefer 1E for security specifics.
If phase1e-malicious-signals.md exists, read it immediately after phase1e-security-raw.md. Every signal in that file is auto-Critical in synthesis — add each as a top-priority Critical Fix entry (before other 1E findings) tagged [1E-MS<n>] where <n> is the signal number. Note in the fix entry that a full remediation checklist is in phase1e-malicious-signals.md.
If phase1f-durability-raw.md exists and the risk band is not N/A, read it. Treat it as the authoritative source for AI/agent durability (model abstraction, prompt architecture, provider concentration, evals). Deduplicate against Phase 1B: general vendor/platform lock-in stays in 1B; 1F is strictly AI/agent durability. If a finding is genuinely cross-cutting, cite both.
Cross-reference tags (compact citations)
Use this format so readers can jump back to raw findings tables:
[1E-S<n>]— Security finding row<n>fromphase1e-security-raw.md(e.g.[1E-S3]).[1F-D<n>]— Durability finding row<n>fromphase1f-durability-raw.md(e.g.[1F-D2]).- Phase 1A may still use persona labels, e.g.
[1A(Skeptical Engineer)].
Example: “Harden OAuth callback handling [1E-S3] before expanding enterprise pilots; 1A’s skepticism on enterprise readiness [1A(Skeptical Engineer)] aligns but defers implementation detail to 1E.”
Produce the Synthesis
Create phase2-synthesis.md with Use Prompt ID phase2.synthesis.v1 from references/subagent-prompts.md for the section skeleton. Apply the read/dedupe/merge rules above (including 1E/1F merge order and [1E-S<n>] / [1F-D<n>] tags). Then run Gate C (validate_run_artifacts.py --gate pre-phase3).
Phase 3: Content Strategy Outline
Spawn a subagent that uses the long-form-outline skill to create a content strategy outline. This helps the user think about how to publicly position and communicate the idea.
Use Prompt ID phase3.content-outline.v1 from references/subagent-prompts.md.
When you spawn the subagent, fill in:
run_idrun_logsubject_nameeval_brieftop_strengthstop_criticismscompetitive_positioninglong_form_outline_skill_path
Non-negotiable output requirements:
- Save the output as
phase3-content-outline-raw.md - Ground the outline in Phase 1 and Phase 2 analysis rather than speculation
- Keep the output in raw markdown;
.docxassembly still happens in Phase 4 - Then run Gate D (
validate_run_artifacts.py --gate pre-phase4) and hard-stop until it exits 0
(Global logging rule applies; also record prompt_selected for phase3.content-outline.v1 when JSONL is on.)
Phase 4: Deliverable Assembly
Perform the pre–Phase 4 review from Run feedback & run log if logging is enabled: reconcile run-log.md with the latest brief/synthesis/raw files.
Now compile all raw outputs into polished .docx files. Use the docx skill (read its SKILL.md for formatting instructions) to produce each deliverable.
(Global logging rule applies; additionally set status: complete — or abandoned if stopped early — in the run log Meta section, and record artifact_written / artifact_validated for the final deliverables when JSONL is on.)
Assembly Order
Process deliverables in this order — the executive summary comes LAST because it draws from everything else:
01-hater-mode-feedback.docx— Clean up phase1a-hater-raw.md into a formatted Word doc02-competitive-landscape.docx— Format phase1b-competitive-raw.md03-strengths-opportunities.docx— Format phase1c-strengths-raw.md04-critical-fixes-and-design.docx— Format phase2-synthesis.md05-content-strategy-outline.docx— Format phase3-content-outline-raw.md00-executive-summary.docx— Write fresh, drawing from all 5 documents above (include Live Site / Product Surface whenphase1d-design-raw.mdinformedphase2-synthesis.md; include Security Posture / AI Durability Posture when Phase 1E / Phase 1F ran with non-stub output — see structure below)
Executive Summary Structure
The executive summary is a standalone document that a decision-maker can read without opening anything else:
# Mega Eval: [Subject Name]
## Executive Summary
### The Idea in One Paragraph
[What it is, who it's for, why it matters]
### Verdict
[Honest 2-3 sentence assessment. Not a score — a judgment.]
### Top 3 Strengths
### Top 3 Critical Issues
### Top 3 Opportunities
### Priority Action Items
[Numbered list, ordered by urgency. Each item references which detailed document has more info.]
### Competitive Position
[One paragraph summary]
### Content Strategy Hook
[The single strongest angle for publicly talking about this]
### Live Site / Product Surface (only if Phase 1D ran)
[2–4 bullets: design risk band, first-impression verdict, top UX credibility issue, top quick win — or state that Phase 1D was skipped/thin]
### Security Posture (only if Phase 1E ran)
**Risk band:** Low | Medium | High | Critical
[One-line headline from `phase1e-security-raw.md` **Headline for synthesis**]
[Top finding, one line with `[1E-S<n>]` citation]
[Top quick-win next step, one line — or omit if none]
### AI Durability Posture (only if Phase 1F ran and risk band is not N/A)
**Risk band:** Low | Medium | High | Critical
[One-line headline from `phase1f-durability-raw.md` **Headline for synthesis**]
[Top finding, one line with `[1F-D<n>]` citation]
[Top quick-win next step, one line — or omit if none]
When Phase 1F exited with **N/A**, **omit** the AI Durability Posture section entirely — do not include a “not applicable” stub in the executive summary.
File Output
All final .docx files go in the same workspace directory as the markdown artifacts (<workspace>/ or <workspace>/sessions/<session>/):
- When the host exposes a session mount (Claude Cowork uses
/sessions/<session>/mnt/.claude/), write the.docxfiles there only if that mount is the workspace the user can open - Present each file with a link the host understands (a
computer://link when the host provides one)
Efficiency Notes
- For the .docx files: if the raw markdown output from a phase is already well-structured, you can produce simpler docs (clean headings, body text, basic tables). Don't over-format — content quality matters more than visual polish.
- If you're running into context limits, produce the executive summary and the critical-fixes doc first (highest value), then the remaining docs.
- If a phase produced thin results (e.g., web search found little competitive data), note that honestly in the doc rather than padding.
Maintainer feedback (optional)
After presenting the final deliverables, you may offer this block so runners can report problems or ideas on the canonical repo. Forks: if you use a different GitHub tracker, edit these URLs in your copy of SKILL.md.
Something wrong or have an idea? Open a new issue (pick the template that matches). Include this run’s run_id in the issue when you have it so maintainers can correlate with run-log.md or session files. Redact secrets, tokens, and sensitive subject matter in the issue body.
| Intent | Link |
|---|---|
| Bug / error | New issue — Bug |
| Improvement | New issue — Improvement |
| Feature request | New issue — Feature |
This run: run_id = <run_id> (paste the same value passed to Phase 1 subagents and used in the run log if logging is on).
Resource Optimization Notes
This pipeline is designed to be efficient with tokens and time:
- Phase 1 parallelism is the main time saver — three analysis tracks always; optional live-site tracks (1D design, 1E security, 1F AI durability) when Phase 0 decisions and env allow
- Phase 2 synthesis is done inline (no subagent) because it requires reading across all three tracks and exercising judgment
- Phase 3 can run as a subagent while you start Phase 4 assembly
- Phase 4 docs can be produced sequentially — no need for parallel doc generation since each is independent and relatively quick
- If the input is simple (just a text block, no URLs to crawl), Phase 0 takes seconds
- If subagents are unavailable, run phases sequentially: 1A → 1B → 1C → (optional 1D, 1E, 1F) → 2 → 3 → 4. Slower but still works.
Error Handling
- URL crawl fails: Note it in the brief, proceed with available inputs
- Web search returns little: Be honest — "Limited competitive data found" is better than fabrication
- Subagent timeout: Read whatever partial output exists, note incompleteness, continue
- Input is extremely vague: Ask the user ONE question, then proceed with assumptions noted
- Too many inputs: Summarize each, then merge. Don't try to hold 10 documents in full context.
- Phase 1D unavailable or thin: Record in
phase1d-design-raw.mdand proceed; synthesis should note design audit limits rather than inventing visual claims. - Phase 1E unavailable or thin: Prefer a schema-valid thin/Tier-C file or omit the file and log; synthesis should note security audit limits rather than inventing findings. Do not block Phase 2 on 1E absence alone — but a present invalid
phase1e-security-raw.mdhard-stops at Gate B. - Phase 1F unavailable, thin, or N/A stub: Prefer a schema-valid N/A stub or omit the file and log; if N/A, omit AI Durability Posture from the executive summary. Do not block Phase 2 on 1F absence alone — but a present invalid
phase1f-durability-raw.mdhard-stops at Gate B.
When logging is enabled, record the corresponding tool_error, retry, or failure_mode lines in run-log.md for each of the above (redact URLs and secrets).
04 同仓库更多 Skills
mega-eval-synthesis
Phase 2 only: synthesize phase1a/1b/1c raw outputs into phase2-synthesis.md (critical fixes, design issues, next steps); merges phase1d-design-raw.md when present. Use when Phase 1 is done and you want 'mega eval synthesis only', 'merge critique competitive strengths', or judgment-heavy synthesis without Phase 3–4.
mega-eval-strengths
Phase 1C only: strengths and opportunities analysis from an Evaluation Brief, output phase1c-strengths-raw.md. Use for 'mega eval strengths only', 'upside analysis', 'growth angles without critique track', or Phase 1C standalone.
mega-eval-security
Phase 1E only: observation-only security posture audit from an Evaluation Brief + primary HTTPS URL, output phase1e-security-raw.md. Use for 'mega eval security audit', 'security posture for eval', or Phase 1E without the full mega-eval pipeline.
mega-eval-prompt-derivation
Decompose any user request into a structured Prompt Derivation Engine spec — a JSON object that captures intent, task type, context, output contract, instructions, eval checks, and execution plan. Use this skill when you need to convert a vague or complex request into a precise, schema-validated prompt blueprint before execution. Trigger on: 'derive a prompt for', 'prompt spec', 'decompose this request', 'prompt derivation', 'structured prompt', 'prompt blueprint', or when an upstream orchestrator needs a machine-readable task breakdown.
mega-eval-hater
Phase 1A only: 12-persona critical feedback (hater mode) from an Evaluation Brief, output phase1a-hater-raw.md. Use for 'mega eval hater only', 'roast this product', '12 lens critique', 'adversarial feedback without full eval', or competitive run of Phase 1A alone.
mega-eval-durability
Phase 1F only: AI/agent durability audit from an Evaluation Brief + primary HTTPS URL, output phase1f-durability-raw.md. Use for 'mega eval durability audit', 'AI resilience for eval', or Phase 1F without the full mega-eval pipeline.