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 星标 1 仓库 fine-tuning-exercise-generation
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

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

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

  2. 2
    拿到技能文件

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

  3. 3
    刷新技能列表

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

  4. 4
    验证是否生效

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

技能档案

开发
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方yangsi7仓库 fine-tuning-exercise-generation · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式GitHub 仓库安装包 yangsi7/fine-tuning-exercise-generation
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 未标注
正文体量9.8 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 全文

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

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

Specification Creation

Purpose: Generate technology-agnostic feature specifications (WHAT/WHY only, no HOW) with intelligence-backed evidence and structured user stories.

Constitutional Authority: Article IV (Specification-First Development), Article I (Intelligence-First Principle), Article II (Evidence-Based Reasoning)


Phase 1: Intelligence-First Context Gathering

MANDATORY: Execute intelligence queries BEFORE any file operations.

Step 1.1: Auto-Number Next Feature

!`fd --type d --max-depth 1 '^[0-9]{3}-' specs/ 2>/dev/null | sort | tail -1`

Extract highest existing feature number, increment by 1 for next feature.

Example:
- Last feature: specs/003-auth-system
- Next number: 004

Step 1.2: Query Existing Patterns

!`project-intel.mjs --search "<user-keywords>" --type md --json > /tmp/spec_intel_patterns.json`

Search for related features, similar requirements, existing patterns.

Save evidence to /tmp/spec_intel_patterns.json for CoD^Σ tracing.

Step 1.3: Understand Project Architecture

!`project-intel.mjs --overview --json > /tmp/spec_intel_overview.json`

Get project structure, tech stack, existing components to inform requirements.


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

Article IV Mandate: Specifications MUST be technology-agnostic.

Step 2.1: Problem Statement

Extract from user description:
- What problem are they trying to solve?
- Why is this needed?
- Who will use this?
- What value does it provide?

NO IMPLEMENTATION DETAILS: No tech stack, no architecture, no "how to build it".

Step 2.2: User Stories with Priorities

Organize requirements as user stories:

Format:

## User Story 1 - [Title] (Priority: P1)

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

**Why P1**: [Rationale for priority]

**Independent Test**: [How to validate this story works standalone]

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

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

Requirement: Each story MUST be independently testable (Article VII).

Step 2.3: Functional Requirements (Technology-Agnostic)

Document as testable requirements:

- **FR-001**: System MUST [specific capability]
- **FR-002**: Users MUST be able to [interaction]
- **FR-003**: System MUST [behavior]

Mark Unknowns:

- **FR-004**: System MUST authenticate users via [NEEDS CLARIFICATION: auth method not specified]

Maximum 3 [NEEDS CLARIFICATION] markers - use sparingly, clarify rest through user dialogue.


Phase 3: Generate Specification with CoD^Σ Evidence

Step 3.1: Create Feature Directory Structure

NEXT_NUM=$(printf "%03d" $(($(fd --type d --max-depth 1 '^[0-9]{3}-' specs/ 2>/dev/null | wc -l) + 1)))
FEATURE_NAME="<derived-from-user-description>"  # Lowercase, hyphenated, 2-4 words
mkdir -p specs/$NEXT_NUM-$FEATURE_NAME

Step 3.2: Create Git Branch (if git repo)

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

Step 3.3: Write Specification

Use @.claude/templates/feature-spec.md structure with:

  1. YAML Frontmatter:
    ```yaml

feature: <number>-<name>
created: <YYYY-MM-DD>
status: Draft
priority: P1


```

  1. Problem Statement: What problem are we solving and why?

  2. User Stories: From Step 2.2 (prioritized, independently testable)

  3. Functional Requirements: From Step 2.3 (technology-agnostic)

  4. Success Criteria: Measurable outcomes (not technical metrics)

  5. CoD^Σ Evidence Trace:
    ```
    Intelligence Queries:
    - project-intel.mjs --search "<keywords>" → /tmp/spec_intel_patterns.json
    Findings: [file:line references to similar features]
    - project-intel.mjs --overview → /tmp/spec_intel_overview.json
    Context: [existing architecture patterns]

Assumptions:
- [ASSUMPTION: rationale based on intelligence findings]

Clarifications Needed:
- [NEEDS CLARIFICATION: specific question]
```

  1. Edge Cases: Boundary conditions, error scenarios

Step 3.4: Save Specification

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

Phase 4: Report to User

Output Format:

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

Intelligence Evidence:
- Queries executed: project-intel.mjs --search, --overview
- Patterns found: &lt;file:line references&gt;
- Related features: &lt;existing feature numbers&gt;

User Stories:
- P1 stories: &lt;count&gt; (MVP scope)
- P2 stories: &lt;count&gt; (enhancements)
- P3 stories: &lt;count&gt; (future)

Clarifications Needed:
- [NEEDS CLARIFICATION markers if any, max 3]

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

Invoking /plan command now...

[Plan creation, task generation, and audit will proceed automatically]

Phase 5: Automatic Implementation Planning

DO NOT ask user to trigger planning - this is automatic workflow progression (unless clarifications needed).

Step 5.1: Check for Clarifications

If [NEEDS CLARIFICATION] markers exist:
- Do NOT proceed to planning
- Report clarifications needed to user
- User must run clarify-specification skill or provide answers
- After clarifications, re-run specify-feature skill

If NO clarifications (or max 0-1 minor ones):
- Proceed automatically to implementation planning

Step 5.2: Invoke /plan Command

Instruct Claude:

"Specification is complete. Automatically create the implementation plan:

Run: /plan specs/$FEATURE/spec.md

This will:
1. Create implementation plan with tech stack selection
2. Generate research.md, data-model.md, contracts/, quickstart.md
3. Define ≥2 acceptance criteria per user story
4. Automatically invoke generate-tasks skill
5. Automatically invoke /audit quality gate

The entire workflow from planning → tasks → audit happens automatically. No manual intervention needed."

Step 5.3: Workflow Automation

After /plan is invoked, the automated workflow proceeds:

/plan specs/$FEATURE/spec.md
  ↓ (automatic)
create-implementation-plan skill
  ↓ (automatic)
generate-tasks skill
  ↓ (automatic)
/audit $FEATURE
  ↓
Quality Gate Result: PASS/FAIL

User sees:
- spec.md created ✓
- plan.md created ✓
- tasks.md created ✓
- audit report generated ✓
- Implementation readiness status

User only needs to:
- Review audit results
- Fix any CRITICAL issues (if audit fails)
- Or proceed with /implement plan.md (if audit passes)


Note: This completes specification creation. Next steps happen automatically unless clarifications are needed.


**Constitutional Compliance**:
- ✓ Article I: Intelligence queries executed before file operations
- ✓ Article II: CoD^Σ trace with evidence saved to /tmp/*.json
- ✓ Article IV: Specification is technology-agnostic (WHAT/WHY only)
- ✓ Article VII: User stories are independently testable

---

## Anti-Patterns to Avoid

**DO NOT**:
- Include tech stack choices in specification
- Design architecture or data models
- Specify implementation details (&quot;use React hooks&quot;, &quot;create API endpoint&quot;)
- Create more than 3 [NEEDS CLARIFICATION] markers (clarify through dialogue first)
- Write vague requirements (&quot;system should be fast&quot; → specify &quot;p95 latency &lt; 200ms&quot;)

**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

**User Input**: &quot;I want to build a user authentication system with social login options&quot;

**Execution**:

1. **Intelligence Queries**:
   ```bash
   fd --type d --max-depth 1 &#x27;^[0-9]{3}-&#x27; specs/
   # Output: specs/001-dashboard, specs/002-api, specs/003-reporting
   # Next: 004

   project-intel.mjs --search &quot;auth login&quot; --type tsx --json
   # Findings: src/components/Login.tsx:12-45 (existing login form)
   #           src/utils/auth.ts:23 (auth helper functions)
   ```

2. **Extract Requirements**:
   ```
   Problem: Users need to securely access their accounts
   Why: Enable personalized experiences and data security
   Who: End users, administrators
   Value: Secure access, convenience

   User Stories:
   - P1: Basic email/password authentication
   - P2: Social login (Google, GitHub)
   - P3: Two-factor authentication
   ```

3. **Create Feature**:
   ```bash
   mkdir -p specs/004-user-authentication
   git checkout -b 004-user-authentication
   ```

4. **Write Spec** with CoD^Σ evidence, user stories, requirements

5. **Report**:
   ```
   ✓ Feature specification created: specs/004-user-authentication/spec.md

   Intelligence Evidence:
   - Found existing: src/components/Login.tsx:12-45, src/utils/auth.ts:23
   - Pattern: Email/password already partially implemented

   User Stories: 3 total (1 P1, 1 P2, 1 P3)

   Next: Run clarify-specification skill or create-implementation-plan skill
   ```

---

**Skill Version**: 1.0.0
**Last Updated**: 2025-10-19

常见问题

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

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

Specification Creation支持哪些客户端?

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

Specification Creation权限高吗,安全吗?

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

Specification Creation收费吗?

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

Specification Creation用什么许可证?

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

热门专题

按场景挑技能
全部专题 →

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