Create Spec logo

Create Spec

Community
ShenQingchuan
create-spec

将讨论好的业务需求、产品方案或系统稳定规约落盘为 Spec 目录。整理需求、编写 PRD、记录长期架构契约时使用;工程实施过程使用 manage-engineering。

Overview

PublisherShenQingchuan
Repositoryskills
Skill namecreate-spec
Stars
28
Forks
3
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by ShenQingchuan on GitHub. Read the source before you install it.

Installation

Install the Create Spec AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ShenQingchuan/skills/tree/main/registry/dev/agent-friendly-context/create-spec
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ShenQingchuan/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/registry/dev/agent-friendly-context/create-spec .claude/skills/create-spec
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Create Spec in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Create Spec on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Create Spec is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Create Spec

本技能用于将当前会话中已经与用户探讨成熟的业务需求、产品方案或技术设计,直接结构化落盘为项目规范的 Spec 目录。


不要重新采访用户

用户使用本技能时,往往已经在先前的对话中与你做了大量的讨论。

  • 默认行为:直接从当前会话的上下文、讨论记录和代码现状中提取关键信息,组织成文并直接落盘。
  • 严禁反向提问:绝不要像面试官一样重新向用户掏出一大堆“请问你的背景是什么、目标是什么”等基础问题。
  • 缺失信息处理:如果确实发现某个致命细节未曾讨论,先根据最佳实践给出合理默认推导,在文末做简明标注,或做极简确认。

物理存储规范:一个 Spec 必须是一个独立目录

所有需求与方案必须以独立目录的形式存放在项目的 .agents/specs/ 下:

目录命名:简明清晰,使用小写字母加连字符(如 user-auth、refund-flow、01-core-pipeline)。

text
.agents/specs/<spec-name>/
├── README.md (或 spec.md) # 【必须】该需求的主方案说明
├── assets/                # 【可选】相关的原型截图、交互图或草图
└── examples/              # 【可选】接口样例数据、第三方响应示例等

内容结构规范:回答好两个灵魂问题

无论需求大小,生成的主方案文档(README.md)必须回答清楚两件事:

1. 事从何来?(背景与目标)

  • 背景与痛点:为什么要做这个?解决谁的什么问题?
  • 核心目标与北极星:做完这个需求,最关键的验收或衡量指标是什么?让后续干活的人和 AI 有明确的权衡锚点。

2. 如何做事?(流程、落地与验收)

  • 用户的 Happy Path(黄金主路径):从头到尾讲透最理想、最常用的完整链路(用户从哪来、怎么操作、系统怎么响应、最终产出什么)。
  • 关键边界与分支:异常情况、空数据、网络失败、重复操作等常见边界的处理策略。
  • 技术落地要点:
    • 长期有效的核心模块边界与职责;
    • 关键数据结构、表字段或接口契约;
    • 架构决策记录(若有多种实现方式,明确写下“选了什么、放弃了什么、为什么这么选”)。
  • 自测与验收路径:如何验证这个需求已经保质保量做成了。

Spec 记录稳定事实和验收依据,不写临时任务清单、实施进度或迁移过程。需要记录这些工程实施内容时,调用 /manage-engineering 写入 .agents/engineering/,并在两者之间建立链接。


标准执行流程

  1. 提取上下文:梳理会话历史,提取出业务背景、达成的共识、流程细节与技术决策。
  2. 确定目录名:提炼一个语义清晰的英文小写目录名(如 .agents/specs/<spec-name>/)。
  3. 组织与写入:将主干内容写入 .agents/specs/<spec-name>/README.md。若讨论中附带了图片、JSON 数据等素材,同步归置到同级的 assets/ 或 examples/ 目录下。
  4. 交付成果:文件落盘后,告知用户落盘路径与核心概要,请用户审阅。

Frequently asked questions

What does the Create Spec AI skill do?

将讨论好的业务需求、产品方案或系统稳定规约落盘为 Spec 目录。整理需求、编写 PRD、记录长期架构契约时使用;工程实施过程使用 manage-engineering。

Why use Create Spec on TypingMind?

Because you install it once and use it with any model. Create Spec is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Create Spec in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ShenQingchuan/skills/tree/main/registry/dev/agent-friendly-context/create-spec. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Create Spec?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Create Spec?

As many as you like. As long as a model supports skills, you can use Create Spec with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Create Spec AI skill free?

Yes. It is published on GitHub by ShenQingchuan under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇