Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add willnie9/agent-skills --skill backend-gap-mock-plangit clone --depth 1 https://github.com/willnie9/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/willnie9/agent-skills/backend-gap-mock-plan)<a href="https://agentmods.dev/skills/willnie9/agent-skills/backend-gap-mock-plan"><img src="https://agentmods.dev/badge/skills/willnie9/agent-skills/backend-gap-mock-plan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/willnie9/agent-skills/backend-gap-mock-plan"><img src="https://agentmods.dev/badge/skills/willnie9/agent-skills/backend-gap-mock-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00090 | $0.01858 |
| Opus 5.5 | $0.00036 | $0.00743 |
| Sonnet 5.5 | $0.00018 | $0.00372 |
| Haiku 4.5 | $0.00009 | $0.00186 |
Grade A, and why
backend-gap-mock-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
后端缺口分析 + Mock-First 交付
独立触发与编排
本 skill 可直接读取需求和项目代码,不必先运行 MasterGo 或 module-flow。用户只要方案时,交付 Markdown 即结束;只有用户要求实现时才继续开发。module-flow 可在“设计出包 → 后端方案”或 Mock 开发前置流程中调用。
Purpose
把"一个新功能/新需求"落成可执行的后端接口方案,并约定前后端协作节奏:
- 第一步(通常已由别的 skill 完成):设计交付包(MasterGo 用
mastergo-subdsl-package),或用户直接给的需求描述。 - 第二步(本 skill):结合项目现有模块代码,逐需求分析后端缺什么,产出一份整合方案 MD,做到"一个需求一个需求地推进"。
- 实现节奏:前期前端自己写 mock 跑通页面;后期真实后端接口进来后批量重构(不是打补丁)——因为自写 mock 的字段名/接口路径/结构都可能和真实后端不一致。
本 skill 不臆造后端事实:分不清的地方标"待确认",不硬编字段。
Required Input
以下任一即可开始:
- 一个设计交付包目录(含
manifest.json/ai-page-context.md/ 交互原文),或 - 一段新需求描述 + 涉及的模块/页面。
Mandatory Workflow
1. 收集改动点,保留原文
从设计包的 ai-page-context.md「交互说明/关联交互说明」区块或 manifest.json 抽取每个改动点的交互原文,逐字保留(不改写、不润色、不猜测)。没有设计包时,把用户需求拆成编号改动点。给每个改动点记下来源图层 ID / 链接(若有)。
2. 定位现有模块代码(避免重复造接口)
用 Explore / Grep / Read 找到相关前端代码,重点看:
- 优先读取项目配置和现有目录,确定接口、类型、页面的位置;配置缺失时从源码定位,不能把下列示例路径当作所有项目的固定结构。
- 接口目录(如
src/cache/**/api.ts):现有接口路径与函数签名(哪些能力已存在,别重复提"新接口")。 - 类型目录(如
src/cache/**/define.ts):现有类型/字段/枚举/常量映射。 - 页面目录(如
src/views/**):改动点落在哪个页面/弹窗组件。
列出"现状"再谈"改动",方案里要能指到具体文件与字段。
3. 判定后端归属(关键,别搞错改谁)
分清改动落在哪个后端:
- 本仓库后端:从实际源码确认框架、分层、时间单位、删除策略和数据库约束。例如某项目可能采用 Fastify +
route → controller → service → repository,但不能默认其他项目也如此。 - 外部服务:依据请求封装、代理配置和后端路由判断归属。本仓库没有对应实现时,"后端改动"= 提给外部服务团队的接口变更需求。
判定方法:查 vite.config.* 的 proxy、.env* 里的 host 变量、以及本仓库 backend 是否有对应路由/表。方案开头必须写明这个前提。
4. 逐需求映射到后端方案
每个改动点归类并给出具体规格:
- 纯前端(无后端/接口/DB/字典改动)——明确写"无后端改动"。
- 改字段(现有接口请求/响应加字段、语义变更)。
- 新接口(给出 method + path + req/res 结构)。
- 新表 / 加列(外部服务或本仓库 DB)。
- 字典(从项目中查明现有查询函数、接口和编码;区分复用已有码 vs 新增码)。
- 上传/配置(从项目中查明上传通道、预签名接口和文件类型限制)。
每条尽量给字段名、类型、单位、必填性、示例 JSON。分不清的进"待确认项",并写清阻塞了哪一步。
5. 产出整合方案 MD
写到设计包目录(如 <package>/backend-interface-plan.md),或项目约定位置。结构见 references/plan-template.md:
- 关键前提(后端归属、字典/上传通道等)。
- 改动点分类速览表(每行:需求 | 前端 | 后端接口 | 新接口 | DB | 字典)。
- 建议实施顺序(先做地基类需求,如字段/字典扩展)。
- 逐需求详情(交互原文要点 → 前端改动 → 后端接口变更 → DB → 字典 → 待确认)。
- 后端改动汇总清单(交给后端的一页纸:改字段/改逻辑、新接口、新表、字典、配置)。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 13d ago First seen · 110 lines · 90 tokens per session scan A c3e2a1eeb4f9
backend-gap-mock-plan is a skill published in the GitHub repository willnie9/agent-skills (2 stars, last pushed 14d ago), licensed MIT. It adds 90 tokens to every session and 1,858 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-21.
backend-gap-mock-plan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-gap-mock-planwillnie9/agent-skills | Skill | 2 | 14d ago | MIT | A | 90 | Claude Code, Codex |
| agent-crdt-synchronizerruvnet/ruflo | Skill | 83k | today | MIT | A | 25 | Claude Code |
| agent-quorum-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 18 | Claude Code |
| agent-raft-managerruvnet/ruflo | Skill | 83k | today | MIT | A | 18 | Claude Code |
| tradecraft-librarysamugit83/redamon | Skill | 3.6k | today | MIT | A | 176 | Claude Code, Codex |
| architecture-patternsforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 25d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| proxy-config-skillzeenie-ai/OpenCompany | Skill | 1.1k | 3d ago | MIT | A | 20 | Claude Code |