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

cmd-speckit-initcmdspeckit 初始化

Agent Skill

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

总安装

261

周安装

11

GitHub Stars

公开资料未说明

下载量

92
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gsmlg-dev/code-agent --skill cmd-speckit-init

简介

cmd-speckit-init 用于为当前项目搭建 Specification-Driven Development 所需的 .specify/ 目录结构,从上游仓库下载最新模板文件。

  • 适用于需要初始化规范驱动开发流程的场景,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。
  • 通过 /speckit.init 命令触发,自动检测现有配置并避免覆盖已有内容,适合团队协作和标准化开发流程。
  • 安装前需确认权限范围和维护状态,注意可能涉及联网下载和目录创建操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

/speckit.init

Agent skill wrapper for the Claude command /speckit.init.

When the original command text references {{INPUT}}, $1, or named arguments, map them from the user's current request.

Command Instructions

Set up the .specify/ directory structure for Specification-Driven Development in the current project by downloading the latest files from the upstream github/spec-kit repository.

Steps

  1. Check for existing setup: Look for .specify/ in the project root. If it already exists, stop and tell the user to run /speckit.init.update instead.
  2. Clone upstream: UPSTREAM_DIR=$(mktemp -d) git clone --depth 1 https://github.com/github/spec-kit.git "$UPSTREAM_DIR" If the clone fails, report the error and stop.
  3. Copy files from upstream into the project root, preserving the paths exactly: Upstream source Local destination .specify/memory/constitution.md .specify/memory/constitution.md .specify/scripts/bash/common.sh .specify/scripts/bash/common.sh .specify/scripts/bash/setup-plan.sh .specify/scripts/bash/setup-plan.sh .specify/scripts/bash/check-prerequisites.sh .specify/scripts/bash/check-prerequisites.sh .specify/scripts/bash/update-agent-context.sh .specify/scripts/bash/update-agent-context.sh .specify/scripts/bash/create-new-feature.sh .specify/scripts/bash/create-new-feature.sh .specify/templates/agent-file-template.md .specify/templates/agent-file-template.md .specify/templates/checklist-template.md .specify/templates/checklist-template.md .specify/templates/tasks-template.md .specify/templates/tasks-template.md .specify/templates/spec-template.md .specify/templates/spec-template.md .specify/templates/plan-template.md .specify/templates/plan-template.md Create any intermediate directories as needed. Preserve file permissions (especially executable bits on shell scripts).
  4. Clean up: rm -rf "$UPSTREAM_DIR"
  5. Detect project name: Try in order — git remote get-url origin (extract repo name from URL), package.json name field, mix.exs app name, directory basename. Use this as PROJECT_NAME.
  6. Personalize .specify/memory/constitution.md: Replace placeholder tokens in the downloaded file:

- [PROJECT_NAME] → detected project name - [YYYY-MM-DD] → today's date in ISO format

  1. Create .specify/specs/: Make this directory for feature specification artifacts (one subdirectory per feature). This directory is not present in upstream.
  2. Update .gitignore: Only if .gitignore exists and does not already contain .specify/. Append .specify/ as a new line. If no .gitignore exists, skip and note it.
  3. Report all directories and files created with their paths.
  4. Present the SDD workflow overview: Spec-Driven Development workflow: /speckit.constitution → Define governing principles (run once per project) /speckit.specify → Write a feature spec /speckit.clarify → Resolve ambiguities in the spec /speckit.plan → Generate technical plan + data model + contracts /speckit.analyze → Validate consistency across artifacts (read-only) /speckit.tasks → Generate phase-based task breakdown /speckit.checklist → Create quality checklists for the spec /speckit.implement → Execute implementation phase by phase /speckit.taskstoissues → Convert tasks into GitHub issues
  5. Next step: "Run /speckit.constitution to complete your project constitution with project-specific principles, then /speckit.specify to write your first feature spec."

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.9%
按下载量换算34

Claude

28.17%
按下载量换算26

Cursor

17.44%
按下载量换算16

Gemini CLI

8.87%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills