Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

speckit-baseline特异性基线

Agent Skill

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

总安装

1,576

周安装

67

GitHub Stars

75

下载量

552
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/dceoy/speckit-agent-skills --skill speckit-baseline

简介

speckit-baseline 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它可辅助 Agent 从文档、代码库或知识库中提取匹配内容,并按相关性排序返回。
  • 通过 npx skills add 命令从指定仓库安装,具体用法需结合原始 README 进一步确认。
  • 安装前建议核实权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Spec Kit Baseline Skill

When to Use

  • You need a spec for existing or legacy code.
  • You want to document a feature before refactoring.
  • You inherited a codebase without written requirements.

Inputs

  • A target path, file list, or glob pattern describing the code to analyze.
  • Repo context with .specify/ scripts and templates.

If the target is missing or ambiguous, ask a focused question before continuing.

Goal

Generate a technology-agnostic spec for existing code, then create the feature branch/spec file using the standard Spec Kit templates.

Workflow

  1. Parse target input: Identify files, directories, or patterns to analyze.

- Accept file paths, glob patterns, or directory paths. - If empty: stop and ask for a concrete target.

  1. Discover and read source files:

- Expand globs to a file list. - Read file contents for analysis. - Identify primary language(s) and frameworks. - Map key file relationships and dependencies.

  1. Analyze code structure:

- Identify entry points and public interfaces. - Extract function/method signatures and behaviors. - Find data models and entities. - Detect API endpoints and routes. - Identify user-facing functionality.

  1. Generate a short name (2-4 words) from the analyzed code:

- Use action-noun format (e.g., "user-auth", "payment-processing"). - Base on primary functionality discovered. - Preserve technical terms where meaningful.

  1. Create the feature branch and spec file:

- Find the highest existing feature number for this short name (branches/specs). - Run .specify/scripts/bash/create-new-feature.sh --json with the calculated number and short name. - Read BRANCH_NAME, FEATURE_DIR, and SPEC_FILE paths from the script JSON output. - 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 the spec template from .specify/templates/spec-template.md.
  2. Draft the specification using the template structure:

- User Stories: Infer from user-facing code paths and interactions. - Acceptance Scenarios: Derive from validation logic, error handling, and tests. - Functional Requirements: Extract from business rules and constraints. - Key Entities: Identify from data models and schemas. - Success Criteria: Infer from metrics, logging, or performance-related code. - Assumptions: Document inferences made during analysis.

  1. Abstract implementation details:

- Convert technical patterns to user-focused requirements. - Remove framework-specific terminology. - Focus on WHAT the code does, not HOW it does it.

  1. Create spec quality checklist at FEATURE_DIR/checklists/requirements.md.
  2. Report completion with:

- Branch name and spec file path. - Summary of analyzed files. - Key features discovered. - Areas needing clarification or review.

Outputs

  • specs/<feature>/spec.md
  • specs/<feature>/checklists/requirements.md

Key rules

  • Focus on extracting WHAT and WHY from HOW.
  • Abstract away implementation details in the generated spec.
  • Document assumptions made during code analysis.
  • Flag areas where code behavior is unclear.
  • Preserve discovered business rules and constraints.
  • Use [NEEDS CLARIFICATION] for ambiguous code sections (max 3).
  • Generated specs should be validated by someone who knows the feature.

Examples

Code Pattern → Spec Requirement:

  • if (user.role === 'admin') → "System MUST restrict action to administrator users"
  • password.length >= 8 → "Passwords MUST be at least 8 characters"
  • cache.set(key, value, 3600) → "System MUST cache results for improved performance"
  • try {...} catch (e) {notify(e)} → "System MUST notify users when errors occur"

Code Pattern → User Story:

  • Login endpoint with OAuth → "As a user, I can sign in using my social account"
  • Shopping cart logic → "As a customer, I can add items to my cart for later purchase"
  • Report generation → "As an analyst, I can generate reports on system activity"

Next Steps

After generating spec.md:

  • Clarify with domain experts using speckit-clarify.
  • Plan modernization/refactoring with speckit-plan.
  • Compare the generated spec with actual requirements to identify gaps.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.25%
按下载量换算189

Claude

30.07%
按下载量换算166

Cursor

17.28%
按下载量换算95

Gemini CLI

9.95%
按下载量换算55

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills