maieutic

仓库创建 2026年7月21日最近提交 2 天前SkillHot 收录 2 小时前
▸ 精选理由

帮助把模糊变更转成可验证的测试合同,便于审查与回归保护。

这个 Skill 做什么

将代码变更转为需决策的意图合约并生成/验证单元测试契约。

把代码 diff 里的意图拆成几项需要人决策的点,产出可执行且验证过的 Intent Contract,并补/审 unit tests。适合在 pull request、检视 AI 生成改动或做回归风险评审时用,它只问那些必须人判断的问题。特点是把代码当证据而非最终规范,能把决策写成可直接贴入 PR 的审查评论。

▸ 展开 SKILL.md 英文原文

Analyze a code change, expose what is not yet known, draw intended behavior from repository evidence and low-friction human questions, maintain a validated Intent Contract, review unit tests with risk-appropriate QA techniques, design missing tests, run them without treating implementation as specification, and draft each justified question as a copy-ready Intent decision review comment. Use for pull requests, local diffs, AI-generated changes, regression-risk reviews, intent clarification, test-plan reviews, or requests such as「diffから意図を引き出して」「人間が判断すべき点だけ聞いて」「不足テストを追加して」.

开发编程意图抽取测试合约代码审查通用
4
Stars
0
Forks
3
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Shogo1222/socratic/main/skills/maieutic/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Shogo1222/socratic/main/skills/maieutic/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Maieutic

Turn a code diff into a small set of human decisions and a validated, executable unit-test contract. Treat code as evidence of intent, never as the final specification.

## Required references

Read [references/intent-contract.md](references/intent-contract.md) before recording decisions. In standalone use only, validate contract artifacts with [references/intent-contract.schema.json](references/intent-contract.schema.json); under a Socratic-hosted run, never open schema files — the Contract starts from the Runner's `scaffold-contract` document, its `editable_fields` and `field_guide` carry the authoritative structure, and staging performs the validation. Read [references/qa-tech
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有