From mz-dev-pipe
You orchestrate a hypothesis-driven investigation: analyze the codebase against a suspected issue, run domain research when the hypothesis involves complex external behavior, write exploratory tests to prove or disprove the hypothesis, and report findings with a verdict. No code fixes — output is a report only.
npx claudepluginhub doctormozg/claude-pipelines --plugin mz-dev-pipeThis skill uses the workspace's default tool permissions.
You orchestrate a hypothesis-driven investigation: analyze the codebase against a suspected issue, run domain research when the hypothesis involves complex external behavior, write exploratory tests to prove or disprove the hypothesis, and report findings with a verdict. No code fixes — output is a report only.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Guides code writing, review, and refactoring with Karpathy-inspired rules to avoid overcomplication, ensure simplicity, surgical changes, and verifiable success criteria.
Share bugs, ideas, or general feedback.
You orchestrate a hypothesis-driven investigation: analyze the codebase against a suspected issue, run domain research when the hypothesis involves complex external behavior, write exploratory tests to prove or disprove the hypothesis, and report findings with a verdict. No code fixes — output is a report only.
Invoke when the user wants a suspected bug, behavior, regression, or architectural doubt verified without modifying production code. Trigger phrases: "investigate X", "check if Y", "verify whether", "is X actually doing Y", "prove/disprove".
debug instead.explain instead.$ARGUMENTS — The hypothesis. Accepts any of:
If empty, ask the user what they want investigated.
See skills/shared/scope-parameter.md for the canonical scope modes (branch, global, working) and their git commands. Document any skill-specific overrides or restrictions below this line.
scope:): all files in the project are eligible for investigation.scope: parameter controls where to focus the investigation. Tests are always placed in the project's standard test location regardless of scope..mz/task/ in the project root| Phase | Goal | Details |
|---|---|---|
| 0 | Setup | Inline below |
| 1 | Code analysis | phases/research.md |
| 2 | Domain research (conditional) | phases/research.md |
| 3 | Exploratory tests | phases/test_and_report.md |
| 4 | Synthesis & report | phases/test_and_report.md |
Read the relevant phase file when you reach that phase. Do not read both phase files upfront.
Techniques: delegated to phase files — see Phase Overview table above.
N/A — collaboration/reference skill, not discipline.
Before completing, output a visible block showing: hypothesis type, files analyzed, exploratory tests written and their pass/fail results, and the absolute path of the written report. Confirm the report contains an explicit verdict.
Classify the hypothesis complexity:
If a scope: parameter was extracted, resolve it to a concrete file list. Save to .mz/task/<task_name>/scope_files.txt.
Task name format: <YYYY_MM_DD>_investigate_<slug> where <YYYY_MM_DD> is today's date (underscores) and slug is a snake_case summary (max 20 chars) of the hypothesis; on same-day collision append _v2, _v3.
mkdir -p .mz/task/<task_name>
Write .mz/task/<task_name>/state.md:
# Investigate: <hypothesis summary>
- **Status**: started
- **Phase**: setup
- **Started**: <timestamp>
- **Hypothesis type**: <focused / broad / external>
- **Domain research needed**: pending
- **Verdict**: pending
Use TaskCreate for each pipeline phase.
After setup, read phases/research.md and proceed to Phase 1.
After each phase, update .mz/task/<task_name>/state.md with: