Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

speckit-specify规格套件指定

Agent Skill

speckit-specify 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

367

周安装

15

GitHub Stars

公开资料未说明

下载量

119
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/h3y6e/speckit-skills --skill speckit-specify

简介

speckit-specify 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适用于开发流程中对代码变更和协作事项的明确化处理。
  • 使用 npx skills add 命令从指定仓库安装并使用。
  • 安装前请评估权限范围、项目维护状态及潜在的文件读写风险。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Speckit Specify Skill

Outline

The user's message that triggered this skill is the feature description. Do not ask the user to repeat it unless they provided no description.

Given that feature description, do this:

  1. Generate a concise short name (2-4 words) for the branch:

- Analyze the feature description and extract the most meaningful keywords - Create a 2-4 word short name that captures the essence of the feature - Use action-noun format when possible (e.g., "add-user-auth", "fix-payment-bug") - Preserve technical terms and acronyms (OAuth2, API, JWT, etc.) - Keep it concise but descriptive enough to understand the feature at a glance - Examples: - "I want to add user authentication" → "user-auth" - "Implement OAuth2 integration for the API" → "oauth2-api-integration" - "Create a dashboard for analytics" → "analytics-dashboard" - "Fix payment processing timeout bug" → "fix-payment-timeout"

  1. Create the feature branch by running the script with --short-name (and --json), and do NOT pass --number (the script auto-detects the next globally available number across all branches and spec directories): IMPORTANT:

- Bash example: scripts/create-new-feature.sh "<feature-description>" --json --short-name "user-auth" "Add user authentication" - PowerShell example: scripts/create-new-feature.sh "<feature-description>" -Json -ShortName "user-auth" "Add user authentication" - Do NOT pass --number — the script determines the correct next number automatically - Always include the JSON flag (--json for Bash, -Json for PowerShell) so the output can be parsed reliably - You must only ever run this script once per feature - The JSON is provided in the terminal as output - always refer to it to get the actual content you're looking for - The JSON output will contain BRANCH_NAME and SPEC_FILE paths - For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot")

  1. Load references/spec-template.md to understand required sections.
  2. Follow this execution flow:

1. Parse user description from Input If empty: ERROR "No feature description provided" 2. Extract key concepts from description Identify: actors, actions, data, constraints 3. For unclear aspects: - Make informed guesses based on context and industry standards - Only mark with [NEEDS CLARIFICATION: specific question] if: - The choice significantly impacts feature scope or user experience - Multiple reasonable interpretations exist with different implications - No reasonable default exists - LIMIT: Maximum 3 [NEEDS CLARIFICATION] markers total - Prioritize clarifications by impact: scope > security/privacy > user experience > technical details 4. Fill User Scenarios & Testing section If no clear user flow: ERROR "Cannot determine user scenarios" 5. Generate Functional Requirements Each requirement must be testable Use reasonable defaults for unspecified details (document assumptions in Assumptions section) 6. Define Success Criteria Create measurable, technology-agnostic outcomes Include both quantitative metrics (time, performance, volume) and qualitative measures (user satisfaction, task completion) Each criterion must be verifiable without implementation details 7. Identify Key Entities (if data involved) 8. Return: SUCCESS (spec ready for planning)

  1. Write the specification to SPEC_FILE using the template structure, replacing placeholders with concrete details derived from the feature description (arguments) while preserving section order and headings.
  2. Specification Quality Validation: After writing the initial spec, validate it against quality criteria: a. Create Spec Quality Checklist: Generate a checklist file at FEATURE_DIR/checklists/requirements.md using the checklist template structure with these validation items: ` # Specification Quality Checklist: [FEATURE NAME] **Purpose**: Validate specification completeness and quality before proceeding to planning **Created**: [DATE] **Feature**: [Link to spec.md] ## Content Quality - [] No implementation details (languages, frameworks, APIs) - [] Focused on user value and business needs - [] Written for non-technical stakeholders - [] All mandatory sections completed ## Requirement Completeness - [] No [NEEDS CLARIFICATION] markers remain - [] Requirements are testable and unambiguous - [] Success criteria are measurable - [] Success criteria are technology-agnostic (no implementation details) - [] All acceptance scenarios are defined - [] Edge cases are identified - [] Scope is clearly bounded - [] Dependencies and assumptions identified ## Feature Readiness - [] All functional requirements have clear acceptance criteria - [] User scenarios cover primary flows - [] Feature meets measurable outcomes defined in Success Criteria - [] No implementation details leak into specification ## Notes - Items marked incomplete require spec updates before /speckit.clarify or /speckit.plan ` b. Run Validation Check: Review the spec against each checklist item: c. Handle Validation Results: d. Update Checklist: After each validation iteration, update the checklist file with current pass/fail status

- For each item, determine if it passes or fails - Document specific issues found (quote relevant spec sections) - If all items pass: Mark checklist complete and proceed to step 6 - If items fail (excluding [NEEDS CLARIFICATION]): 1. List the failing items and specific issues 2. Update the spec to address each issue 3. Re-run validation until all items pass (max 3 iterations) 4. If still failing after 3 iterations, document remaining issues in checklist notes and warn user - If [NEEDS CLARIFICATION] markers remain: 1. Extract all [NEEDS CLARIFICATION:...] markers from the spec 2. LIMIT CHECK: If more than 3 markers exist, keep only the 3 most critical (by scope/security/UX impact) and make informed guesses for the rest 3. For each clarification needed (max 3), present options to user in this format: ## Question [N]: [Topic] **Context**: [Quote relevant spec section] **What we need to know**: [Specific question from NEEDS CLARIFICATION marker] **Suggested Answers**: | Option | Answer | Implications | |--------|--------|--------------| | A | [First suggested answer] | [What this means for the feature] | | B | [Second suggested answer] | [What this means for the feature] | | C | [Third suggested answer] | [What this means for the feature] | | Custom | Provide your own answer | [Explain how to provide custom input] | **Your choice**: _[Wait for user response]_ 4. CRITICAL - Table Formatting: Ensure markdown tables are properly formatted: - Use consistent spacing with pipes aligned - Each cell should have spaces around content: | Content | not |Content| - Header separator must have at least 3 dashes: |--------| - Test that the table renders correctly in markdown preview 5. Number questions sequentially (Q1, Q2, Q3 - max 3 total) 6. Present all questions together before waiting for responses 7. Wait for user to respond with their choices for all questions (e.g., "Q1: A, Q2: Custom - [details], Q3: B") 8. Update the spec by replacing each [NEEDS CLARIFICATION] marker with the user's selected or provided answer 9. Re-run validation after all clarifications are resolved

  1. Report completion with branch name, spec file path, checklist results, and readiness for the next phase (/speckit.clarify or /speckit.plan).

NOTE: The script creates and checks out the new branch and initializes the spec file before writing.

General Guidelines

Quick Guidelines

  • Focus on WHAT users need and WHY.
  • Avoid HOW to implement (no tech stack, APIs, code structure).
  • Written for business stakeholders, not developers.
  • DO NOT create any checklists that are embedded in the spec. That will be a separate command.

Section Requirements

  • Mandatory sections: Must be completed for every feature
  • Optional sections: Include only when relevant to the feature
  • When a section doesn't apply, remove it entirely (don't leave as "N/A")

For AI Generation

When creating this spec from a user prompt:

  1. Make informed guesses: Use context, industry standards, and common patterns to fill gaps
  2. Document assumptions: Record reasonable defaults in the Assumptions section
  3. Limit clarifications: Maximum 3 [NEEDS CLARIFICATION] markers - use only for critical decisions that:

- Significantly impact feature scope or user experience - Have multiple reasonable interpretations with different implications - Lack any reasonable default

  1. Prioritize clarifications: scope > security/privacy > user experience > technical details
  2. Think like a tester: Every vague requirement should fail the "testable and unambiguous" checklist item
  3. Common areas needing clarification (only if no reasonable default exists):

- Feature scope and boundaries (include/exclude specific use cases) - User types and permissions (if multiple conflicting interpretations possible) - Security/compliance requirements (when legally/financially significant)

Examples of reasonable defaults (don't ask about these):

  • Data retention: Industry-standard practices for the domain
  • Performance targets: Standard web/mobile app expectations unless specified
  • Error handling: User-friendly messages with appropriate fallbacks
  • Authentication method: Standard session-based or OAuth2 for web apps
  • Integration patterns: Use project-appropriate patterns (REST/GraphQL for web services, function calls for libraries, CLI args for tools, etc.)

Success Criteria Guidelines

Success criteria must be:

  1. Measurable: Include specific metrics (time, percentage, count, rate)
  2. Technology-agnostic: No mention of frameworks, languages, databases, or tools
  3. User-focused: Describe outcomes from user/business perspective, not system internals
  4. Verifiable: Can be tested/validated without knowing implementation details

Good examples:

  • "Users can complete checkout in under 3 minutes"
  • "System supports 10,000 concurrent users"
  • "95% of searches return results in under 1 second"
  • "Task completion rate improves by 40%"

Bad examples (implementation-focused):

  • "API response time is under 200ms" (too technical, use "Users see results instantly")
  • "Database can handle 1000 TPS" (implementation detail, use user-facing metric)
  • "React components render efficiently" (framework-specific)
  • "Redis cache hit rate above 80%" (technology-specific)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.17%
按下载量换算42

Claude

31.52%
按下载量换算38

Cursor

16.19%
按下载量换算19

Gemini CLI

8.26%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/h3y6e/speckit-skills --skill speckit-specify 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills