بنقرة واحدة
spec-interrogate
Use when a spec or plan needs clean-context Socratic criticism before planning or implementation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Use when a spec or plan needs clean-context Socratic criticism before planning or implementation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Multi-agent quality review (QA + Security + DevOps + SRE + TechLead + Documentation + PromptOps)
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Multi-agent quality review (QA + Security + DevOps + SRE + TechLead + Documentation + PromptOps)
Software architect for system boundaries, design patterns, and integration tradeoffs.
Beads task tracker integration for SDP workflows.
| name | spec-interrogate |
| description | Use when a spec or plan needs clean-context Socratic criticism before planning or implementation. |
| version | 1.1.0 |
| tags | ["discovery","spec","quality-gate","socratic"] |
| compatibility | ["claude-code","opencode","cursor","codex","pi"] |
| changes | ["1.1.0: Add pi-backed Socratic critic/judge protocol, rubrics, provider rotation, and evidence contract","1.0.0: Initial public skill for spec hardening with auditable report and evidence contract"] |
Pressure-test a text artifact before the next delivery step. The interrogator receives only the artifact, selected rubrics, and invocation parameters. No chat history, beads context, author explanation, tools, or repository context.
This is not a gate. It produces evidence for the author and for downstream tooling. Policy decisions about whether work may pass a stage belong to sdp-gate.
sdp-trace, sdp-gate, or another downstream component.Do not use this for code review, implementation, or general research.
@spec-interrogate <artifact-path> \
[--mode socratic|cold-read|adversarial|impl-test] \
[--rubrics RUBRIC_LIST_OR_FILE] \
[--questions N] \
[--rounds M] \
[--feature-id F] \
[--evidence-path PATH] \
[--report-path PATH]
Defaults:
--mode socratic--questions 12--rounds 3--rubrics default--evidence-path .sdp/evidence/spec-interrogate.json--report-path .sdp/reports/spec-interrogate.mdUse the full selected rubric set in one critic pass. Do not split one round into one subagent per rubric unless the artifact is too large for a single model context.
Default rubrics:
Tailor the rubric set only by removing irrelevant categories or adding domain-critical ones. Record the final rubric set in evidence.
Author owns the artifact and edits it.
Critic is a fresh model invocation. It asks Socratic questions grouped by rubric. The critic MUST NOT propose solutions, write patches, choose product behavior, or rewrite the artifact.
Judge is a different fresh model invocation. It compares the original artifact, revised artifact, critic questions, and author resolution notes. The judge does not rewrite the spec and does not suggest new solutions.
Use pi with clean context:
pi --provider <provider> --model <model> --no-tools --no-context-files --no-session -p "<prompt>"
provider rotation is required:
zai/glm-5.1, kimi-coding/k2p6, minimax/MiniMax-M2.7socratic)resolved, rejected, or deferred, with rationale.--rounds is exhausted.The critic output must be a JSON object:
{
"role": "critic",
"critic_provider": "zai/glm-5.1",
"rubrics": ["problem and goal"],
"questions": [
{
"id": "Q1",
"rubric": "problem and goal",
"severity": "blocking",
"artifact_ref": "section heading or line reference",
"question": "What observable CTO question does this spec answer?",
"why_it_matters": "Without this, acceptance cannot distinguish telemetry from governance.",
"cannot_verify_until_answered": "Whether the component answers degradation over time."
}
]
}
Allowed severities: blocking, major, minor.
Reject critic output that contains fixes, patches, rewritten text, implementation plans, policy verdicts, or "you should..." recommendations. Re-run with a stricter prompt if needed.
The judge output must be a JSON object:
{
"role": "judge",
"judge_provider": "kimi-coding/k2p6",
"critic_provider": "zai/glm-5.1",
"items": [
{
"question_id": "Q1",
"status": "resolved",
"evidence_ref": "revised artifact section heading or line reference",
"assessment": "The revised artifact states the CTO-facing degradation question and acceptance evidence."
}
],
"new_contradictions": [],
"scope_creep": [],
"verdict": "PASS"
}
Allowed item statuses: resolved, partially_resolved, unresolved, new_contradiction, scope_creep.
Allowed verdicts:
PASS: no blocking unresolved items and no new contradictionsREWORK: blocking or major unresolved items remainABORT: author stops the process or model coverage is too degraded to trustEvery run writes a report and evidence JSON. Stdout is not the system of record.
{
"interrogate_verdict": "REWORK",
"artifact_path": "specs/001-sdp-trace-time-series-evidence-substrate/spec.md",
"feature_id": "F163",
"mode": "socratic",
"rounds_completed": 1,
"max_rounds": 3,
"rubrics": ["problem and goal", "system boundary and non-goals"],
"critic_provider": "zai/glm-5.1",
"judge_provider": "kimi-coding/k2p6",
"provider_failures": [],
"open_questions_count": 2,
"open_questions": [],
"new_contradictions": [],
"scope_creep": [],
"report_path": ".sdp/reports/spec-interrogate.md",
"report_summary": "Two major questions remain unresolved."
}
The report must include artifact path, rubrics, providers, critic questions, author resolution notes, judge conclusion, explicit verdict, and next action.
Stop with PASS only when:
blocking question is unresolvedmajor question is unresolved unless it is explicitly deferred with owner and rationaleStop with REWORK when the round cap is hit with unresolved blocking or major issues.
cold-read, adversarial, and impl-test are single-pass variants. They still use clean-context pi, rubrics when relevant, evidence JSON, and the same not a gate boundary.
PASS as permission to merge or deploy.This skill works only with text artifacts: specs, plans, design docs, schemas, and SpecKit files. If the target is executable code, use review tooling instead.