用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill model-mediated-development命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | model-mediated-development |
| description | This skill runs ALONGSIDE other skills: Use when this capability is needed. |
Model decides. Code provides inputs and executes. This skill is a thinking lens that applies DURING other workflows, not a replacement for them.
Core question throughout: "What decisions exist, and who should make each?"
This skill runs ALONGSIDE other skills:
| Phase | Use With | Model-Mediated Lens |
|---|---|---|
| Design | brainstorming | Identify decisions, propose who makes each |
| Planning | writing-plans | Distinguish pipes from decision layers |
| Implementation | TDD | TDD for pipes, but no decision logic in code |
| Verification | verification | Check for leaked heuristics |
Works with both Claude Code (superpowers) and Codex (bootstrappers).
When designing any system that might involve model calls, explore:
Suggest possibilities:
Ask yourself and the user:
Surface considerations:
Not everything needs model-mediation. A CLI that takes explicit user input and calls an API is a dumb pipe. That's fine. The question is whether there are DECISIONS being made, and if so, by whom.
When writing implementation plans, distinguish:
Dumb pipes (code):
Decision layers (model):
The plan should make clear: "Component X is a pipe - TDD applies. Component Y is a decision layer - model controls via tools."
TDD applies to pipes. Write tests for:
But continuously ask:
When uncertain, surface it:
Before claiming complete:
Surface anything suspicious:
async execute(workItem, context) {
// === CODE: Factual inputs ===
const inputs = {
currentTime: new Date().toISOString(),
lastRunTime: await getLastRunTime(),
};
// === CODE: Available tools ===
const tools = [
{ name: 'get_context', description: '...' },
{ name: 'create_work_item', description: '...' },
];
// === MODEL: Reasons and decides ===
const result = await model.run({
system: buildPrompt(inputs), // Adversarial prompts included
tools,
});
// === CODE: Execute exactly what model decided ===
for (const toolCall of result.tool_calls) {
await executeToolCall(toolCall); // No filtering!
}
}
Don't dump context. Let model request what it needs:
Turn 1: Minimal seed
Model: "What do I need to know?"
→ calls get_context(source: 'conversations')
Turn 2: Has some data, needs more
Model: "Is he busy today?"
→ calls get_context(source: 'calendar')
Turn 3: Enough to decide
Model: "I'll wait until after his meeting"
→ calls schedule_next(when: '11am')
Build into system prompts:
When you see these, ask about them:
| Pattern | Surface As |
|---|---|
| Pre-fetching all context | "Should model request this instead?" |
| IF statements deciding behavior | "This looks like decision logic - model's job?" |
| Thresholds/time windows | "Hardcoded rule - should model judge this?" |
| Filtering model output | "We're overriding model decisions - intentional?" |
| Fallback logic | "Compensating for model - improve prompt instead?" |
| "Safety" checks | "Who defines safe? Maybe model should." |
Not everything needs it:
The question isn't "does this call a model?" but "are there decisions being made, and should a model make them?"
This skill is about ongoing dialogue, not checkpoints:
Don't wait until verification to catch problems. Think about decision ownership continuously.
Every decision needs an owner: user, model, or code.
When in doubt, ask: "Is this a judgment call?" If yes, model decides.
For detailed methodology, see:
docs/design/13-model-mediated-methodology.md (assistant-system)Converted and distributed by TomeVault — claim your Tome and manage your conversions.