Token导航 LogoToken导航

Agent Skill · 研究检索

specification-techniques(规范技术)

specification-techniques 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

specification-techniques 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 72,083。

总安装 190周安装 8GitHub Stars 80下载 67核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:specification-techniques(规范技术)
来源仓库:https://github.com/slgoodrich/agents
仓库路径:skills/specification-techniques
安装命令:
npx skills add https://github.com/slgoodrich/agents --skill specification-techniques
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/slgoodrich/agents --skill specification-techniques

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

specification-techniques 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。它可辅助 Agent 从文档、代码库或知识库中提取匹配内容,并按相关性排序返回。

通过 npx skills add 命令从指定仓库安装,具体用法需结合原始 README 进一步确认。安装前建议核实权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/specification-techniques

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/slgoodrich/agents --skill specification-techni…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

specification-techniques 怎么安装?

在终端执行 npx skills add https://github.com/slgoodrich/agents --skill specification-techniques。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

specification-techniques 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

specification-techniques 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

specification-techniques 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

specification-techniques 用的人多吗?

公开数据是累计安装 190 次,近一周安装 8 次,下载 67 次,GitHub 80 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

specification-techniques 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
specification-techniques

规范技术 · 本页

19080需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Specification Techniques

Structured methods for translating product vision into clear, actionable requirements that align teams, reduce ambiguity, and enable successful execution.

Overview

Specification techniques help you answer "what" and "why" clearly while leaving "how" flexible for the team to determine. They create shared understanding without being prescriptive about implementation.

Core Principle: The value of specifications isn't in comprehensive documentation—it's in the conversations and shared understanding they create. A 3-sentence user story that everyone understands is better than a 30-page spec no one reads.

Origin: Modern specification techniques evolved from software engineering (Karl Wiegers), agile methodologies (Mike Cohn), and design thinking (Alan Cooper).

Key Insight: Good specifications enable teams to build the right thing, while bad specifications constrain teams and lead to rework.


When to Use This Skill

Auto-loaded by agents:

  • requirements-engineer - For PRDs, user stories, acceptance criteria, and NFRs

Use when you need to:

  • Write product requirements documents (PRDs)
  • Create user stories with acceptance criteria
  • Define feature requirements clearly
  • Document edge cases and error handling
  • Specify non-functional requirements (performance, security)
  • Align cross-functional teams on scope
  • Translate product vision into development tasks

Product Requirements Documents (PRDs)

Core Structure

A well-structured PRD contains:

  1. Overview - Problem, goals, non-goals, success metrics
  2. Background - Context, user research, competitive analysis
  3. User Personas - Primary/secondary users, use cases
  4. Requirements - Functional and non-functional requirements
  5. User Experience - Flows, wireframes, interaction details
  6. Technical Considerations - Architecture, APIs, performance
  7. Success Criteria - Launch criteria, key metrics
  8. Timeline & Resources - Milestones, team, risks

Complete Template: See assets/prd-structure-template.md for full PRD structure with examples and best practices.


Essential PRD Components

Problem Statement:

What: Clear description of the problem
Who: Who experiences this problem
Impact: Business/user impact with data
Current: What users do today

Goals and Non-Goals:

  • Goals: What you want to achieve (measurable)
  • Non-Goals: What you're explicitly not doing (sets boundaries)

Success Metrics:

  • Specific, measurable outcomes
  • Baseline → Target values
  • Timeline for achievement

Example:

Problem: Users miss critical alerts when not in app, leading to 40% missed events.

Goal: Reduce missed alerts from 40% to <15% via email notifications.

Non-Goals:
- SMS notifications (future scope)
- Customizable notification frequency (v1: fixed)

Success Metrics:
- 60% opt-in to email notifications
- 25% reduction in missed alerts
- <2% unsubscribe rate

User Stories

The Standard Format

As a [user type]
I want [capability]
So that [benefit]

Purpose: Placeholder for conversation, not complete specification.

Example:

As a project manager
I want to assign tasks to team members
So that everyone knows their responsibilities

INVEST Criteria

Framework for evaluating user story quality (Mike Cohn):

  • I - Independent: Can be developed in any order
  • N - Negotiable: Details flexible, not a contract
  • V - Valuable: Delivers user or business value
  • E - Estimable: Team can estimate effort
  • S - Small: Fits within one sprint (1-5 days)
  • T - Testable: Clear acceptance criteria

Complete Guide: See references/user-story-writing-guide.md for detailed explanations, examples, and story splitting patterns.

Template: See assets/user-story-template.md for comprehensive user story template with INVEST checklist.


The 3 Cs Framework (Ron Jeffries)

Card: Brief story description (placeholder) Conversation: Discuss details during planning/refinement (most important) Confirmation: Acceptance criteria (how to verify done)

Key Insight: The conversation is more valuable than the written artifact.


Acceptance Criteria

Three Formats

Format 1: Given-When-Then (Gherkin/BDD)

Given [precondition/context]
When [action/event]
Then [expected outcome]
And [additional outcome]

Best for: Behavior-driven development, sequential workflows, automated testing

Example:

Given I am on the login page
When I enter valid credentials and click "Login"
Then I am redirected to my dashboard
And I see a welcome message with my name

Format 2: Checklist Style

Acceptance Criteria:
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3

Best for: Simple features, independent criteria, non-sequential requirements

Example:

- [ ] User can upload JPG, PNG, GIF files
- [ ] Maximum file size is 10MB
- [ ] Upload progress bar shows percentage
- [ ] Error shown if file too large

Format 3: Example-Based

Scenario: [Description]
Input: [What user provides]
Output: [What system produces]

Best for: Complex calculations, validation rules, data transformations

Example:

Scenario 1: Valid email
Input: user@example.com
Output: Email accepted

Scenario 2: Missing @ symbol
Input: userexample.com
Output: Error "Email must include @ symbol"

Complete Guide: See references/acceptance-criteria-guide.md for comprehensive guide to writing testable acceptance criteria with all three formats, examples, and best practices.


Job Stories (Jobs-to-be-Done)

Format

When [situation/context]
I want to [motivation]
So I can [expected outcome]

Difference from User Stories:

  • Focuses on context/situation (not persona)
  • Emphasizes motivation (not implementation)
  • Better for discovering underlying needs

Example:

When I'm in a meeting and need to reference previous discussions
I want to quickly search message history by keyword
So I can find relevant context without disrupting the meeting flow

Complete Template: See assets/job-story-template.md for detailed job story structure, examples, and when to use vs. user stories.


Use Cases

Structure

Detailed interaction scenarios documenting step-by-step system behavior.

Components:

  • Primary actor and goal
  • Preconditions and postconditions
  • Main success scenario (happy path)
  • Alternative flows (variations)
  • Exception flows (error handling)

Example Structure:

Use Case: User Registers for Account

Primary Actor: New user
Goal: Create account to access platform

Main Success Scenario:
1. User enters email, password, name
2. System validates inputs
3. System creates account
4. System sends verification email
5. User clicks verification link
6. System activates account

Complete Template: See assets/use-case-template.md for comprehensive use case template with examples of alternative flows, exception handling, and special requirements.


Edge Cases and Error Handling

Systematic Coverage

Document behavior for:

1. Input Validation - Empty inputs, special characters, invalid formats 2. Permissions - Unauthenticated, insufficient privileges, expired sessions 3. State Handling - Empty state, loading state, error state, full state 4. Boundary Conditions - Zero, one, maximum, just over maximum 5. Time-Based - Expired tokens, time zones, scheduling 6. Network Issues - Timeouts, server errors, rate limiting

Example:

Error Scenario: Payment fails due to insufficient funds

User Experience:
- Error message: "Payment declined - insufficient funds. Please use a different payment method."

System Behavior:
- Transaction rolled back
- User not charged
- Order not created
- Error logged

Recovery Action:
- User can update payment method and retry

Complete Checklist: See assets/edge-case-checklist.md for systematic 100+ point checklist covering all edge case categories with examples and error handling templates.


Non-Functional Requirements

Key Categories

Performance Requirements:

  • Response time (page loads, API calls)
  • Throughput (requests per second)
  • Scalability (concurrent users, data volume)

Security Requirements:

  • Authentication (MFA, password policies)
  • Authorization (RBAC, least privilege)
  • Data protection (encryption, GDPR compliance)

Reliability Requirements:

  • Availability (uptime %)
  • Data integrity (backups, recovery)
  • Fault tolerance (failover, retries)

Accessibility Requirements:

  • WCAG 2.1 compliance
  • Keyboard navigation
  • Screen reader compatibility

Example:

Performance: Page loads in <2 seconds (p95)
Security: All PII encrypted at rest (AES-256)
Reliability: 99.9% uptime (max 8.7 hours downtime/year)
Accessibility: WCAG 2.1 Level AA compliant

Complete Template: See assets/non-functional-requirements-template.md for comprehensive NFR documentation covering all categories with specific metrics and verification methods.


Specification Best Practices

Start with Why

Always begin with problem statement before jumping to solutions:

Problem Statement Template:

Problem: [What problem exists?]
Impact: [Who is affected and how?]
Evidence: [Data, research, user quotes]
Goal: [What would success look like?]

Be Specific and Measurable

Vague (Bad): "System should be fast"

Specific (Good): "Page loads in <2 seconds (p95), measured via Lighthouse"

Avoid Ambiguous Terms:

  • "Fast" → Specific time (< 2 seconds)
  • "Good" → Specific criteria
  • "User-friendly" → Task completion metrics
  • "Secure" → OWASP Top 10 compliant

Cover Happy and Unhappy Paths

Happy Path: Successful scenario

Unhappy Paths:

  • Error cases (invalid input, permission denied)
  • Edge cases (boundary conditions, rare scenarios)
  • Network failures (timeouts, service down)

Example:

Happy: User logs in with valid credentials → Dashboard
Error: User enters wrong password → Error message, stay on login
Edge: Session expires during form entry → Preserve data, re-authenticate

Specify Behavior, Not Implementation

Too Prescriptive (Bad):

"Use Material-UI Autocomplete component with Redux state management"

Behavioral (Good):

"User can search for other users by name, see suggestions as they type, select one or multiple users. Selection persists across page refreshes."

Let engineering decide: component library, state management

Include Visual Aids

Use diagrams for:

  • User flows
  • State machines
  • Data flows
  • Wireframes/mockups

Use examples for:

  • Input validation rules
  • Calculations
  • Data transformations

Anti-Patterns to Avoid

1. Solution Masquerading as Problem

Bad: "We need a chatbot on the homepage"

Good:

Problem: 60% of support tickets are basic questions. Users can't find answers quickly.
Explored solutions: Chatbot, improved search, interactive FAQ

2. Missing Acceptance Criteria

Bad:

As a user, I want notifications

Good:

As a user, I want email notifications
So that I'm aware of critical events

Acceptance Criteria:
- Given payment fails, when processor returns error, then email sent within 5 minutes
- Given I'm in settings, when I toggle notifications, then preference saves immediately

Complete Guide: See references/specification-anti-patterns.md for detailed anti-patterns with examples and fixes.


Troubleshooting

"Developers say my specs are ambiguous": You're likely writing what the feature does but not the edge cases. For every requirement, ask: "What happens when the input is empty? Invalid? Extremely large?" Add Given-When-Then acceptance criteria for each case.

"My user stories are too big to estimate": Apply the INVEST criteria -- specifically the S (Small). If a story can't be completed in one sprint, split it. Split by workflow step, data variation, or happy path vs. error handling.

"Stakeholders and engineers interpret the spec differently": Add concrete examples. Abstract specs create ambiguity. For every requirement, include at least one specific input/output example showing exactly what happens.


Related Skills

  • prd-templates - PRD templates and examples
  • user-story-templates - User story templates and patterns
  • user-research-techniques - Understanding user needs and requirements

平台分布

Codex

33.86%
按下载量换算23

Claude

31.96%
按下载量换算21

Cursor

16.93%
按下载量换算11

Gemini CLI

8.64%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills