Specification Creation

SKILL开发
开发 未标注权限 许可证不明确

Create technology-agnostic feature specifications using intelligence-first queries. Use when user describes what they want to build, mentions requirements, discusses user needs, or says "I want to create/build/implement" something. This skill enforces Article IV Specification-First Development.

一句话选型结论

按资料字段整理

Specification Creation是开发类的 Agent Skill,安装方式:GitHub 仓库,权限级别未标注,许可证不明确,没有现成安装命令,需按说明手动放置 SKILL.md。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类开发 安装方式GitHub 仓库 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 0 仓库 nextjs-intelligence-toolkit
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

GitHub 仓库
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    按安装说明或仓库 README,把 SKILL.md 放到客户端的 skills 目录(一般一个技能一个文件夹)。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

开发
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方yangsi7仓库 nextjs-intelligence-toolkit · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式GitHub 仓库安装包 yangsi7/nextjs-intelligence-toolkit
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 未标注
正文体量14.6 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
写代码与改 bug

按需求补代码、定位并修掉报错。

读仓库与生成改动

让模型读懂项目结构,再给出可落地的改动。

跑测试与排查故障

按现象排查问题,补测试用例并复跑。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 基础信息齐全,可以先按说明装一个试试。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有现成安装命令,要按安装说明或仓库 README 手动放置。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在开发场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
Specification Creation当前 未标注权限 GitHub 仓库 未标注 未标注 无
技能审查员 浏览器控制 ClawHub 市场 877.9 万 OpenClaw 有
Vercel React 最佳实践 浏览器控制 GitHub 仓库 849.1 万 Codex、Claude、Cursor 有
GitHub 代码协作 联网访问 ClawHub 市场 763.3 万 OpenClaw 有
网页设计指南 联网访问 GitHub 仓库 668.6 万 Codex、Claude、Cursor 有
本体论 只读 ClawHub 市场 663.7 万 OpenClaw 有

SKILL.md 全文

14.6 KB
模型实际读到的说明书原文,来自技能仓库

@.claude/shared-imports/constitution.md
@.claude/shared-imports/CoD_Σ.md
@.claude/templates/feature-spec.md
@.claude/templates/requirements-quality-checklist.md

Specification Creation Skill

Overview

This skill creates technology-agnostic feature specifications following Article IV: Specification-First Development. It captures WHAT and WHY (user needs, requirements, success criteria) WITHOUT HOW (technical implementation, architecture, tech stack).

Core Workflow: Quality Gate → Intelligence Gathering → User Requirements → Specification → Automatic Planning

Automatic Workflow Progression: After creating spec.md, this skill automatically invokes /plan which chains through create-implementation-plan → generate-tasks → /audit → ready for /implement.

Announce at start: "I'm using the specify-feature skill to create a technology-agnostic specification."


Quick Reference

Phase Key Activities Output
Phase 0 Quality assessment (5 dimensions, 0-10 scale) PROCEED/CLARIFY/BLOCK decision
Phase 1 Intelligence queries (auto-number, patterns, architecture) Evidence for spec
Phase 2 Extract requirements (problem, stories, functional, success) Technology-agnostic requirements
Phase 3 Generate specification (directory, branch, spec.md) spec.md file
Phase 4-5 Report + automatic planning (invoke /plan) Workflow to tasks.md + audit

Workflow Files

  • @.claude/skills/specify-feature/workflows/quality-assessment.md - Phase 0: Quality gate with 5 dimensions
  • @.claude/skills/specify-feature/workflows/intelligence-gathering.md - Phase 1: Intel-first context
  • @.claude/skills/specify-feature/workflows/user-requirements.md - Phase 2: WHAT/WHY extraction
  • @.claude/skills/specify-feature/workflows/spec-generation.md - Phase 3: Create spec.md
  • @.claude/skills/specify-feature/workflows/automation.md - Phase 4-5: Reporting + automatic /plan

Example & References

  • @.claude/skills/specify-feature/examples/feature-creation-example.md - Complete walkthrough
  • @.claude/skills/specify-feature/references/specification-rules.md - Best practices and anti-patterns

Phase 0: Pre-Specification Quality Gate

See: @.claude/skills/specify-feature/workflows/quality-assessment.md

Summary:

Validate user input quality BEFORE creating specification using 5 quality dimensions (0-10 scale):

  1. Problem Clarity - Clear problem statement, pain points, measurable impact
  2. Value Proposition - Business/user value, quantified benefits, success metrics
  3. Requirements Completeness - Key capabilities, scenarios, constraints
  4. Technology-Agnostic - Zero technical details, pure WHAT/WHY focus
  5. User-Centric - User needs central, personas, user value clear

Thresholds:
- ≥ 7.0: PROCEED to Phase 1
- 5.0-6.9: CLARIFY - Request specific improvements
- < 5.0: BLOCK - User description too vague

Why This Matters: Prevents wasting effort on vague or technically prescriptive inputs. Quality gate catches issues before specification creation.


Phase 1: Intelligence-First Context Gathering

See: @.claude/skills/specify-feature/workflows/intelligence-gathering.md

Summary:

Query project intelligence BEFORE creating specification to discover existing patterns:

Step 1.1: Auto-Number Next Feature

!`fd --type d --max-depth 1 &#x27;^[0-9]{3}-&#x27; specs/ 2&gt;/dev/null | sort | tail -1`

Step 1.2: Query Existing Patterns

!`project-intel.mjs --search &quot;&lt;user-keywords&gt;&quot; --type md --json &gt; /tmp/spec_intel_patterns.json`

Step 1.3: Understand Project Architecture

!`project-intel.mjs --overview --json &gt; /tmp/spec_intel_overview.json`

Token Efficiency: 85% savings vs reading full spec files

Why This Matters: Intelligence evidence ensures specifications build on existing patterns rather than duplicating or conflicting with previous work.


Phase 2: Extract User Requirements (WHAT/WHY Only)

See: @.claude/skills/specify-feature/workflows/user-requirements.md

Summary:

Extract technology-agnostic requirements focusing on WHAT and WHY, not HOW.

Step 2.1: Problem Statement

  • What problem are we solving and why?
  • Who experiences this problem?
  • Current situation and pain points

Step 2.2: User Stories with Priorities

## User Story &lt;N&gt; - [Title] (Priority: P1/P2/P3)

**As a** [user type]
**I want to** [capability]
**So that** [value/benefit]

**Why P1/P2/P3**: [Rationale for priority]
**Independent Test**: [How to validate this story works standalone]

**Acceptance Scenarios**:
1. **Given** [state], **When** [action], **Then** [outcome]

Priority Levels:
- P1: Must-have for MVP (core value)
- P2: Important but not blocking
- P3: Nice-to-have (deferred)

Step 2.3: Functional Requirements

  • Core capabilities (WHAT, not HOW)
  • Data visibility and user interactions
  • Constraints and boundaries

Step 2.4: Success Criteria

  • User-centric metrics (measurable outcomes)
  • Business metrics
  • Adoption metrics

Why This Matters: Technology-agnostic requirements survive implementation changes and enable better tech stack decisions in planning phase.


Phase 3: Generate Specification with CoD^Σ Evidence

See: @.claude/skills/specify-feature/workflows/spec-generation.md

Summary:

Create specification document with intelligence evidence.

Step 3.1: Create Feature Directory

NEXT_NUM=$(printf &quot;%03d&quot; $(($(fd --type d --max-depth 1 &#x27;^[0-9]{3}-&#x27; specs/ 2&gt;/dev/null | wc -l) + 1)))
FEATURE_NAME=&quot;&lt;derived-from-user-description&gt;&quot;
mkdir -p specs/$NEXT_NUM-$FEATURE_NAME

Step 3.2: Create Git Branch

if git rev-parse --git-dir &gt;/dev/null 2&gt;&amp;1; then
    git checkout -b &quot;$NEXT_NUM-$FEATURE_NAME&quot;
fi

Step 3.3: Generate Specification Content

Use @.claude/templates/feature-spec.md with:
- YAML frontmatter (feature, created, status, priority)
- Problem statement, user stories, functional requirements, success criteria
- CoD^Σ Evidence Trace (intelligence queries, findings, assumptions, clarifications)
- Edge cases

Step 3.4: Save Specification

Write specs/$NEXT_NUM-$FEATURE_NAME/spec.md

Why This Matters: Evidence trace ensures all specifications have intelligence backing, not just assumptions.


Phase 4-5: Reporting and Automatic Workflow Progression

See: @.claude/skills/specify-feature/workflows/automation.md

Summary:

Report specification completion and automatically trigger implementation planning workflow.

Phase 4: Report to User

✓ Feature specification created: specs/&lt;number&gt;-&lt;name&gt;/spec.md

Intelligence Evidence: [queries + findings]
User Stories: [P1/P2/P3 counts]
Clarifications Needed: [0-3 markers]

**Automatic Next Steps**:
1. If clarifications needed: Use clarify-specification skill
2. Otherwise: **Automatically create implementation plan**

Invoking /plan command now...

Phase 5: Automatic Implementation Planning

If [NEEDS CLARIFICATION] markers exist:
- User must run clarify-specification skill
- After clarifications, re-run specify-feature skill

If NO clarifications:
- Automatically invoke /plan command via SlashCommand tool
- Workflow progresses: /plan → create-implementation-plan → generate-tasks → /audit
- User sees: spec.md → plan.md → research.md → data-model.md → tasks.md → audit report

Why This Matters: Fully automated workflow from specification to implementation-ready state. User only needs to run /feature and /implement.


Anti-Patterns to Avoid

See: @.claude/skills/specify-feature/references/specification-rules.md

Summary:

DO NOT:
- Include tech stack choices in specification
- Design architecture or data models
- Specify implementation details ("use React hooks", "create API endpoint")
- Create more than 3 [NEEDS CLARIFICATION] markers
- Write vague requirements ("system should be fast")

DO:
- Focus on user value and business requirements
- Make requirements testable and measurable
- Prioritize user stories (P1, P2, P3)
- Document evidence from intelligence queries
- Limit unknowns (max 3 [NEEDS CLARIFICATION])


Example Execution

See: @.claude/skills/specify-feature/examples/feature-creation-example.md

User Input: "I want to build a user authentication system with social login options"

Result:
- Quality assessment passed (7.2/10)
- Intelligence queries executed
- Specification created: specs/004-auth-social-login/spec.md
- Automatic planning triggered
- Files created: spec.md, plan.md, research.md, data-model.md, tasks.md
- Audit passed
- Ready for /implement


Prerequisites

Before using this skill:
- ✅ Git repository initialized
- ✅ project-intel.mjs exists and is executable
- ✅ PROJECT_INDEX.json exists (auto-generated)
- ⚠️ Optional: product.md exists (for product-aligned features)

Dependencies

Depends On:
- None (this skill is the entry point to SDD workflow)

Integrates With:
- clarify-specification skill: Use after this skill if ambiguities exist
- create-implementation-plan skill: Use after this skill (auto-invoked via /plan)

Tool Dependencies:
- fd (file discovery for feature numbering)
- git (branch creation, feature isolation)
- project-intel.mjs (pattern discovery)


Next Steps

After specification completes, automatic workflow progression:

Automatic Chain (no manual intervention needed):

specify-feature (creates spec.md)
    ↓ (auto-invokes /plan)
create-implementation-plan (creates plan.md, research.md, data-model.md)
    ↓ (auto-invokes generate-tasks)
generate-tasks (creates tasks.md)
    ↓ (auto-invokes /audit)
/audit (validates consistency)
    ↓ (if PASS)
Ready for /implement

User Action Required:
- If audit PASS: Run /implement plan.md to begin implementation
- If audit FAIL: Fix CRITICAL issues, then re-run (audit re-validates automatically)
- If ambiguities found: clarify-specification skill may be invoked during workflow

Commands:
- /plan spec.md - Automatically invoked after spec creation
- /implement plan.md - User runs after audit passes


Agent Integration

This skill orchestrates agent delegation through the automatic workflow chain.

Implementation Planning Agent

When: Automatically after spec.md is created (via /plan invocation)

Agent: implementation-planner

Delegation Method: The /plan slash command invokes the create-implementation-plan skill, which the implementation-planner agent executes.

What the Planner Receives:
- spec.md (technology-agnostic specification)
- Constitution requirements (Article IV compliance)
- Project intelligence context (existing patterns via project-intel.mjs)

What the Planner Returns:
- plan.md (implementation plan with tasks and ACs)
- research.md (technical research and decisions)
- data-model.md (database/state schema)

Task Tool Usage (Indirect)

This skill does NOT directly use the Task tool. Instead:

specify-feature skill
    ↓ invokes
/plan command (SlashCommand tool)
    ↓ expands to
create-implementation-plan skill
    ↓ executed by
implementation-planner agent (isolated context)

Why This Design:
- Slash commands provide consistent user interface
- Skills provide reusable workflows
- Agents provide isolated context execution
- Separation of concerns: specify-feature focuses on WHAT/WHY, planner handles HOW

Expected Workflow

  1. This skill completes: spec.md created with all requirements
  2. Automatic /plan invocation: SlashCommand tool runs /plan spec.md
  3. Planner agent engaged: Receives spec, constitution, intelligence context
  4. Planning artifacts created: plan.md, research.md, data-model.md generated
  5. Automatic task generation: generate-tasks skill creates tasks.md
  6. Automatic audit: /audit validates consistency
  7. Ready for implementation: User runs /implement plan.md if audit passes

Failure Modes

Common Failures & Solutions

1. Feature auto-numbering fails
- Symptom: Cannot determine next feature number
- Solution: Create specs/ directory: mkdir -p specs/
- Workaround: Manually specify feature number (e.g., 001-feature-name)

2. Intelligence queries return no results
- Symptom: No existing patterns found
- Solution: This is normal for first features; continue without pattern evidence
- Note: Intelligence is opportunistic, not required

3. Specification too technical
- Symptom: Spec includes implementation details (React, PostgreSQL, etc.)
- Solution: Re-run skill with explicit "WHAT/WHY only, no HOW" instruction
- Prevention: Review @constitution.md Article IV (Specification-First)

4. Requirements unclear or incomplete
- Symptom: [NEEDS CLARIFICATION] markers in spec
- Solution: clarify-specification skill will be invoked automatically
- Action: Answer max 5 structured questions to resolve ambiguities

5. Git branch creation fails
- Symptom: Cannot create feature branch
- Solution: Commit current changes or stash them first
- Command: git stash &amp;&amp; git checkout -b &lt;feature-branch&gt;

6. Duplicate feature numbers
- Symptom: Feature directory already exists
- Solution: Intelligence detected wrong next number; manually increment
- Prevention: Ensure consistent ###-name branch naming


Related Skills & Commands

Direct Integration:
- clarify-specification skill - Invoked when ambiguities detected
- create-implementation-plan skill - Automatically invoked via /plan after spec
- /feature command - User-facing command that invokes this skill

Workflow Context:
- Position: Entry point to SDD workflow (Phase 1)
- Triggers: User describes feature idea, mentions "I want to build", "implement", "create"
- Output: spec.md in specs/###-feature-name/ directory
- Next: Automatic progression to /plan → /tasks → /audit → ready for /implement


Skill Version: 1.2.0
Last Updated: 2025-10-23
Change Log:
- v1.2.0 (2025-10-23): Refactored to progressive disclosure pattern (<500 lines)
- v1.1.0 (2025-10-23): Added Phase 0 Pre-Specification Quality Gate
- v1.0.0 (2025-10-22): Initial version with cross-skill references

常见问题

5 问
答案由本站依据条目字段整理
Specification Creation怎么安装?

没有现成安装命令:按安装说明或仓库 README,把 SKILL.md 放进客户端的 skills 目录(一般一个技能一个文件夹)。

Specification Creation支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

Specification Creation权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

Specification Creation收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

Specification Creation用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。