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

spec-kit-tasks规格套件任务

Agent Skill

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

总安装

220

周安装

9

GitHub Stars

2

下载量

71
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ahgraber/skills --skill spec-kit-tasks

简介

spec-kit-tasks 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 当前归类为研究检索类技能,适用于信息探索与筛选场景。

SKILL.md

Spec Kit Tasks

Generate an implementation-ready tasks.md from Spec Kit design artifacts.

Invocation Notice

  • Inform the user when this skill is being invoked by name: spec-kit-tasks.

When to Use

  • plan.md and spec.md exist and you need executable tasks for implementation.
  • tasks.md is missing, stale, or not aligned with current plan/spec artifacts (including post-spec-kit-reconcile updates).
  • You need user-story-scoped task phases with clear dependency and parallelization signals.

When Not to Use

  • The feature spec is missing (spec-kit-specify first).
  • High-impact ambiguity still blocks design decisions (spec-kit-clarify first).
  • Technical design artifacts are not finalized (spec-kit-plan first).
  • You are executing tasks rather than generating them (spec-kit-implement).

Router Fit

  • Primary route from spec-kit after spec-kit-plan.
  • Must complete before spec-kit-implement.
  • Supports spec-kit-analyze and spec-kit-reconcile by producing structured implementation intent.

Preconditions

  • Run from repository root (or a subdirectory inside it).
  • Active feature context resolves to one specs/<feature>/ directory.
  • plan.md exists and reflects the latest approved design.

Workflow

  1. Resolve feature paths and prerequisite gate:

- Run scripts/check-prerequisites.sh --json exactly once. - Parse FEATURE_DIR and AVAILABLE_DOCS. - Derive: - FEATURE_SPEC = FEATURE_DIR/spec.md - IMPL_PLAN = FEATURE_DIR/plan.md - TASKS = FEATURE_DIR/tasks.md - If spec.md is missing, stop and route to spec-kit-specify then spec-kit-plan.

  1. Load generation inputs:

- Required: plan.md, spec.md. - Optional (when present): research.md, data-model.md, contracts/, quickstart.md. - Template preference: - {REPO_ROOT}/templates/tasks-template.md - {REPO_ROOT}/.specify/templates/tasks-template.md - fallback: assets/tasks-template.md

  1. Extract planning context:

- From plan.md: stack, architecture, constraints, project structure. - From spec.md: prioritized user stories, acceptance criteria, independent test intent. - From optional docs: shared entities, external interfaces, and setup decisions.

  1. Build task phases:

- Phase 1: Setup. - Phase 2: Foundational prerequisites blocking all stories. - Phase 3+: one phase per user story in priority order. - Final phase: Polish/cross-cutting concerns.

  1. Generate tasks in strict checklist format:

- Required pattern: - [] T### [P?] [US#?] Action with file path. - Include [US#] only for user-story phases. - Include [P] only when tasks can run safely in parallel. - Include exact file paths in every implementation/test task description. - Add test tasks only when explicitly requested by spec/user.

  1. Validate coverage and ordering before writing:

- Every user story has independently testable tasks. - Dependencies are explicit and respect phase order. - Every task matches format requirements (checkbox, ID, labels, file path). - No orphaned entities/contracts without mapped tasks.

  1. Write tasks.md:

- Preserve heading order from the selected template. - Replace template placeholders and sample content with concrete feature tasks.

  1. Report completion:

- Absolute tasks.md path. - Total task count and per-story counts. - Parallel opportunities. - Suggested MVP slice (typically first priority story). - Readiness handoff for spec-kit-implement.

Task Format Guidance

Format Components

  1. Checkbox: ALWAYS start with - [] (markdown checkbox).
  2. Task ID: Sequential number (T001, T002, T003,...) in execution order.
  3. [P] marker: Include ONLY if the task is parallelizable (different files, no dependencies on incomplete tasks).
  4. [Story] label: REQUIRED for user story phase tasks only.

- Format: [US1], [US2], [US3], etc. (maps to user stories from spec.md) - Setup phase: no story label - Foundational phase: no story label - User story phases: MUST have story label - Polish phase: no story label

  1. Description: Clear action with exact file path.

Examples

  • CORRECT: - [] T001 Create project structure per implementation plan
  • CORRECT: - [] T005 [P] Implement authentication middleware in src/middleware/auth.py
  • CORRECT: - [] T012 [P] [US1] Create User model in src/models/user.py
  • CORRECT: - [] T014 [US1] Implement UserService in src/services/user_service.py
  • WRONG: - [] Create User model (missing Task ID and Story label)
  • WRONG: T001 [US1] Create model (missing checkbox)
  • WRONG: - [] [US1] Create User model (missing Task ID)
  • WRONG: - [] T001 [US1] Create model (missing file path)

Output

  • tasks.md under the active feature directory with dependency-ordered, story-scoped tasks.
  • Completion summary with task counts, dependency highlights, and MVP recommendation.

Key Rules

  • Organize tasks by user story so each story can be implemented and validated independently.
  • Keep task granularity implementation-ready: no vague one-liners and no giant umbrella tasks.
  • Preserve execution truth in IDs and dependency order (T001, T002,...).
  • Treat foundational work as blocking unless it is explicitly independent and parallel-safe.
  • Never invent tests by default; include test work only when requested.

Common Mistakes

  • Generating tasks from spec.md alone without using plan.md constraints.
  • Copying sample tasks from the template instead of replacing them.
  • Missing file paths or story labels in user-story phases.
  • Marking conflicting tasks as [P] even though they touch the same files/dependencies.
  • Producing tasks that cannot satisfy each story's independent test criteria.

References

  • references/spec-kit-workflow.dot for where task generation fits in the full Spec Kit sequence.
  • scripts/check-prerequisites.sh
  • assets/tasks-template.md
  • https://github.com/github/spec-kit/blob/9111699cd27879e3e6301651a03e502ecb6dd65d/templates/commands/tasks.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.96%
按下载量换算27

Claude

30.38%
按下载量换算22

Cursor

17.88%
按下载量换算13

Gemini CLI

9.58%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills