mini-design

mini-design is a skill for Claude Code from ZTE-AICloud/Co-OmniSpec. It costs 40 tokens per session (1,065 once invoked), scanned A, original, MIT.

A lightweight software design workflow that turns a feature request and existing code into a structured technical design and development plan.

In plain words
What is it for?
Use it to create feature specifications, organize development tasks, and prepare a codebase-aware plan before implementation.
Why use it?
It gives a vague requirement a clear implementation path, including a named branch and saved design documents.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the omni-dsdd plugin — 40 skills, 16 agents, 1 hook shipped together

Good fit Use it to create feature specifications, organize development tasks, and prepare a codebase-aware plan before implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zte-aicloud/co-omnispec/mini-design
Install

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.

Any agent
npx skills add ZTE-AICloud/Co-OmniSpec --skill mini-design
Clone the repo
git clone --depth 1 https://github.com/ZTE-AICloud/Co-OmniSpec

Made for: Claude Code.

Or install omni-dsdd, the plugin that ships this one along with the rest of its 40 skills, 16 agents, 1 hook.

Wrote 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.

agentmods badge for mini-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/zte-aicloud/co-omnispec/mini-design/github.svg)](https://agentmods.dev/skills/zte-aicloud/co-omnispec/mini-design)
Your own site
<a href="https://agentmods.dev/skills/zte-aicloud/co-omnispec/mini-design"><img src="https://agentmods.dev/badge/skills/zte-aicloud/co-omnispec/mini-design/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.

agentmods 80×15 button for mini-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/zte-aicloud/co-omnispec/mini-design"><img src="https://agentmods.dev/badge/skills/zte-aicloud/co-omnispec/mini-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,065 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01065
Opus 5 $0.00020 $0.00532
Sonnet 5 $0.00008 $0.00213
Haiku 4.5 $0.00004 $0.00106

Measured 10d ago against content hash caf42fea2e58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

mini-design 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 10d 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.

omni-dsdd/skills/mini-design/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mini Design Skill

极简SDD流程,根据输入的方案要求结合代码生成详设文档.

触发条件

当用户需要:

  • 从自然语言描述创建功能详设文档
  • 将需求转化为结构化的设计规范
  • 生成可执行的开发计划文档

执行步骤

0. skill执行开始时间打点记录

开始执行步骤之前,需要进行一些打点记录工作,记录本skill的执行时间到 start_time字段:

  • 判断当前操作系统,windows还是linux系统;
  • 针对不同操作系统运行脚本获取配置 windows: Get-Date -Format "yyyy-MM-dd HH:mm:ss" linux: date +"%Y-%m-%d %H:%M:%S"
  • 将获取的时间记录到 start_time

1. 分支创建

  1. 为分支生成一个简短名称(2-4个词):

    • 分析功能描述并提取最有意义的关键词
    • 创建一个2-4个词的简短名称, 捕捉功能的核心
    • 尽可能使用动-名词格式(例如, "add-user-auth", "fix-payment-bug")
    • 保留技术术语和缩写(OAuth2、API、JWT等)
    • 保持简洁但足够描述性, 便于快速理解功能
    • 示例:
      • "I want to add user authentication" → "user-auth"
      • "Implement OAuth2 integration for the API" → "oauth2-api-integration"
      • "Create a dashboard for analytics" → "analytics-dashboard"
      • "Fix payment processing timeout bug" → "fix-payment-timeout"
  2. 仓库根目录下执行脚本(不要从技能目录下找)

  • 判断当前操作系统,windows还是linux系统;
  • windows: scripts/powershell/mini-create-new-feature.ps1 --json "$ARGUMENTS"
  • linux: scripts/bash/mini-create-new-feature.sh --json "$ARGUMENTS"
    使用简短名称参数并解析其 JSON 输出以获取 BRANCH_NAME 、 SPEC_FILE 、FEATURE_DIR. 所有文件路径必须是绝对路径.
  1. 重要说明:
    • 将第1步创建的2-4词简短名称作为参数附加到 linux: scripts/bash/mini-create-new-feature.sh --json "$ARGUMENTS" windows:scripts/bash/mini-create-new-feature.sh --json "$ARGUMENTS" 命令, 功能描述作为最终参数.
    • Bash 示例: --short-name "your-generated-short-name" "功能描述内容"
    • 对于参数中包含单引号的情况(如 "I'm Groot"), 使用转义语法: 例如 'I'''m Groot'(或优先使用双引号: "I'm Groot")
    • 你必须且只能运行此脚本一次
    • JSON 输出会显示在终端中 - 请始终参考该输出来获取你要查找的实际内容

2. 详设生成

  1. 加载上下文,SPEC_FILE 以了解必需的章节.
  2. 将上述用户输入作为上下文传递给 spec-impact-analyze 技能,并严格遵照技能指引执行。
  3. 读取搜集的与用户需求相关文档 FEATURE_DIR/context.md ,查找与用户需求相关的代码, 完成 SPEC_FILE 详设文档编写, 保持章节顺序和标题.

3. 检查校验

  1. 使用 mini-design-review 子代理评审输出的详设文档。
  2. 子代理运行结束后,读取子代理生成的评审文件 FEATURE_DIR/review-result.md 。
  3. 如果有评审意见,按照评审意见修改 SPEC_FILE,然后再执行步骤1 使用 mini-design-review 子代理评审输出的详设文档
  4. 如果没有评审意见,则执行后续步骤。

4. 记录本skill的运行日志信息

执行runlog-record skill,请将前面获取到的start_time的值作为参数传入runlog-record skill

Read the full file on GitHub · 86 lines

Changes

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.

  1. 10d ago First seen · 86 lines · 40 tokens per session scan A caf42fea2e58

Subscribe to this mod's changes

mini-design is a skill published in the GitHub repository ZTE-AICloud/Co-OmniSpec (54 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 1,065 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens