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

turn2specturn2spec 命令行

Agent Skill

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

总安装

297

周安装

12

GitHub Stars

公开资料未说明

下载量

93
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/vitadynamics/vita-cc-market --skill turn2spec

简介

turn2spec 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 它能自动提取 GitHub 仓库的 Issue、PR 及协作动态,辅助代码审查与项目进度跟踪。
  • 安装命令:npx skills add https://github.com/vitadynamics/vita-cc-market --skill turn2spec。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • turn2spec 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Turn-Into-Spec Skill

Purpose: Transform existing design documents, Architecture Decision Records (ADRs), or rough plans into well-structured feature specifications following the project's spec template.

User Input

$ARGUMENTS

If the input above is empty, use AskUserQuestion to ask: "Please provide a file path to your design doc/ADR/rough plan, or paste the content directly."

Do not proceed until you have material to transform.

Stage 1: Load Source Material

Determine input type and load accordingly:

  • File path (e.g., docs/sketches/2026-01-15-auth.md, docs/plans/rough-plan.md): Read the file using the Read tool.
  • Inline text: Use the pasted content directly.
  • Multiple files: Read each file and merge context.

Also load the spec template for reference:

plugins/Vengineer/skills/reference/spec_template.md

Stage 2: Analyze & Extract

Parse the source material and extract:

ElementWhat to Look For
Feature NameTitle, heading, or dominant topic
ActorsWho uses this — users, admins, systems, services
Core ActionsWhat users/systems do — verbs and flows described
ConstraintsLimitations, scope boundaries
Non-GoalsExplicit exclusions: "out of scope", "not included", "future work", "does not cover", deferred items
Success SignalsGoals, KPIs, "done when" statements
Decisions MadeADR rationale, chosen approaches, rejected alternatives
Open QuestionsUnresolved items, TBDs, items marked for future
Data EntitiesModels, schemas, key objects mentioned
Note: Design docs and ADRs often contain implementation details (tech stack, APIs, framework choices). Strip these during extraction — the spec must remain implementation-agnostic.

Stage 3: Map to Spec Structure

Using the loaded spec template, map extracted content to spec sections:

Feature Name & Branch

  • Derive a 2-5 word feature name from the document title or dominant theme
  • Format branch name as ###-feature-name (use 000 if no issue number is known)

User Scenarios & Testing

For each distinct user flow found in the source:

  • Write it as a plain-language user story
  • Assign priority (P1 = core flow, P2 = important variant, P3 = edge/advanced)
  • Define acceptance scenarios as Given/When/Then

Requirements

  • Convert design decisions into FR-XXX: System MUST [capability] statements
  • Each requirement must be testable and implementation-agnostic
  • Mark anything unclear: [NEEDS CLARIFICATION: specific question]
  • Hard limit: Maximum 3 [NEEDS CLARIFICATION] markers total

Key Entities

  • List entities from the source, stripped of implementation details (no table schemas, ORM fields, or type annotations — just what the entity represents and its relationships)

Non-Goals

  • Extract all explicit exclusions, scope limits, and deferred items from the source
  • Format: NG-XXX: [What this feature will NOT do or support]
  • If the source has no explicit non-goals, derive 1-2 from the scope of the feature (e.g., what adjacent capabilities are clearly out of scope)
  • Minimum one NG item required

Success Criteria

  • Transform goals/KPIs from the source into measurable, technology-agnostic outcomes
  • Format: SC-XXX: [Measurable metric from user/business perspective]

Edge Cases

  • Surface any unresolved scenarios, failure modes, or boundary conditions mentioned in the source

Stage 4: Write the Spec

Write the completed spec to docs/specs/<feature-name>.md using the template structure.

Add YAML frontmatter at the top of the spec file:

---
stage: spec
created: YYYY-MM-DD
feature: <feature-name>
source-sketch: <path to input sketch file if input was from docs/sketches/, else omit>
status: draft
---

If the input was from docs/sketches/, also update the sketch file's frontmatter to add:

next-spec: docs/specs/<feature-name>.md

Use the Edit tool to append this field inside the existing --- block without corrupting other fields.

Quality rules (apply before writing):

  • No implementation details: no framework names, language choices, database types, API paths, or infrastructure specifics
  • Written for non-technical stakeholders — business language, not engineering jargon
  • Every requirement is testable and unambiguous
  • Success criteria are measurable and technology-agnostic
  • Non-Goals section present with at least one NG item
  • All mandatory sections from the template are present

Stage 5: Handle Gaps & Clarifications

If [NEEDS CLARIFICATION] markers remain after writing:

  1. Limit check: Keep only the 3 most critical (by scope/security/UX impact). Make informed guesses for the rest.
  2. Present each clarification using AskUserQuestion with suggested options:
Question: [Topic from NEEDS CLARIFICATION marker]

Context: [Relevant quote from source material]

Options:
- Option A: [Description + implications]
- Option B: [Description + implications]
- Custom: provide your own answer
  1. Ask one question at a time.
  2. After all answers collected, update the spec and remove the markers.

Stage 6: Validate & Finalize

After all clarifications are resolved, do a final pass:

  • Confirm all [NEEDS CLARIFICATION] markers are resolved or removed
  • Confirm no implementation details leaked into the spec
  • Confirm every acceptance scenario follows Given/When/Then format
  • Confirm success criteria are measurable

Report the result: spec path, number of user stories, number of requirements, any remaining notes.

Stage 7: Next Steps

Use AskUserQuestion to present options:

Question: "Spec ready at docs/specs/<feature-name>.md. What would you like to do next?"

Options:

  1. Run medium-plan docs/specs/<feature-name>.md — Generate implementation plan from this spec (Recommended)
  2. Run /core:clarify — Ask targeted questions to deepen the spec further
  3. Run /core:plan_review — Get feedback from specialized reviewers
  4. Edit spec — Open the spec file for manual review
  5. Done — No further action needed

Behavior Rules

  • Never invent requirements not grounded in the source material — flag gaps instead
  • Strip implementation details aggressively: the spec is about *what* and *why*, not *how*
  • Preserve intent: when source material contains rationale (especially ADR context), surface it in user stories or edge cases rather than discarding it
  • One question at a time when clarifying
  • Respect existing decisions: if the source explicitly chose an approach, note it in context but do not encode the choice as a requirement

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.07%
按下载量换算34

Claude

31.42%
按下载量换算29

Cursor

17.73%
按下载量换算16

Gemini CLI

9.82%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills