·spec-init
</>

spec-init

Use when 需要在本仓库的 AI SDLC 流程中初始化新的 Spec Pack(创建三位编号分支与 `.aisdlc/specs/{num}-{short-name}` 目录),或在执行 `spec-init` 时不确定输入解析、短名称规则、UTF-8 BOM 文件路径传参、脚本调用方式与输出物。

66Installs·7Trend·@zixun-github

Installation

$npx skills add https://github.com/zixun-github/aisdlc --skill spec-init

How to Install spec-init

Quickly install spec-init AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/zixun-github/aisdlc --skill spec-init
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: zixun-github/aisdlc.

SKILL.md

View raw

spec-init 用于在本仓库里创建一个新的需求级 Spec Pack:自动递增三位编号、创建并切换到 {num}-{short-name} 分支、生成 .aisdlc/specs/{num}-{short-name}/ 目录结构,并把原始需求写入 requirements/raw.md(UTF-8 with BOM)。

强制衔接规则:spec-init 的 DoD 通过后,不要停在“提示下一步”,而是立刻进入 R1(澄清 + 方案对比 + 推荐决策),直到产出 requirements/solution.md 或用户明确停止。

门禁(必须):先得到并回显 FEATUREDIR=...(来自 spec-context / Get-SpecContext)。拿不到就立刻停止;任何情况下禁止猜路径(包括“从分支名推导”或手写 .aisdlc/specs/...)。

Use when 需要在本仓库的 AI SDLC 流程中初始化新的 Spec Pack(创建三位编号分支与 `.aisdlc/specs/{num}-{short-name}` 目录),或在执行 `spec-init` 时不确定输入解析、短名称规则、UTF-8 BOM 文件路径传参、脚本调用方式与输出物。 Source: zixun-github/aisdlc.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/zixun-github/aisdlc --skill spec-init
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from zixun-github/aisdlc

Quick answers

What is spec-init?

Use when 需要在本仓库的 AI SDLC 流程中初始化新的 Spec Pack(创建三位编号分支与 `.aisdlc/specs/{num}-{short-name}` 目录),或在执行 `spec-init` 时不确定输入解析、短名称规则、UTF-8 BOM 文件路径传参、脚本调用方式与输出物。 Source: zixun-github/aisdlc.

How do I install spec-init?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/zixun-github/aisdlc --skill spec-init Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/zixun-github/aisdlc