to-spec

GitHub

将现有讨论转化为可执行的技术规范,包括问题陈述、解决方案、用户故事及实施细节。支持本地起草或发布至追踪器,无需额外询问,直接基于上下文生成结构化文档。

.agents/skills/to-spec/SKILL.md nodetool-ai/nodetool

Trigger Scenarios

需要将讨论转化为技术规格书 请求生成项目规范文档

Install

npx skills add nodetool-ai/nodetool --skill to-spec -g -y
More Options

Non-standard path

npx skills add https://github.com/nodetool-ai/nodetool/tree/main/.agents/skills/to-spec -g -y

Use without installing

npx skills use nodetool-ai/nodetool@to-spec

指定 Agent (Claude Code)

npx skills add nodetool-ai/nodetool --skill to-spec -a claude-code -g -y

安装 repo 全部 skill

npx skills add nodetool-ai/nodetool --all -g -y

预览 repo 内 skill

npx skills add nodetool-ai/nodetool --list

SKILL.md

Frontmatter
{
    "name": "to-spec",
    "description": "Turn an existing discussion into an actionable spec. Draft locally or publish to the configured tracker as requested.",
    "disable-model-invocation": true
}

This skill takes the current conversation context and codebase understanding and produces a spec. Do NOT interview the user — just synthesize what you already know.

Use the configured tracker and existing labels when publication is requested. If the destination is missing, finish a local draft before asking where to publish. Do not run repository setup as a prerequisite to drafting the spec.

Process

  1. Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the spec, and respect any ADRs in the area you're touching.

  2. Identify test boundaries that detect the acceptance criteria, preferring existing public interfaces. Use the spec and repository conventions to make routine choices. Record unresolved behavior as an open question, without inventing requirements.

  3. Write a concise spec using the relevant sections below. Publish when the user's request or prior context authorizes it. A draft-only request ends with the draft. Use the configured ready-for-agent label only when the spec is ready to implement. Return the file path or published issue link.

Problem Statement

The problem that the user is facing, from the user's perspective.

Solution

The solution to the problem, from the user's perspective.

User Stories

List the distinct actor goals and acceptance criteria needed for the agreed scope. Combine duplicates. Include observable success and failure behavior where relevant. Do not expand the feature to make the list longer.

Implementation Decisions

A list of implementation decisions that were made. This can include:

  • The modules that will be built/modified
  • The interfaces of those modules that will be modified
  • Technical clarifications from the developer
  • Architectural decisions
  • Schema changes
  • API contracts
  • Specific interactions

Include stable module or interface references when they help implementation. Link to the source of a decision instead of copying unrelated code.

Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts — not a working demo, just the important bits.

Testing Decisions

A list of testing decisions that were made. Include:

  • Observable acceptance criteria and the test boundary that detects each
  • Which modules will be tested
  • Prior art for the tests (i.e. similar types of tests in the codebase)

Out of Scope

A description of the things that are out of scope for this spec.

Further Notes

Any further notes about the feature.

Version History

  • 9b979bc Current 2026-09-22 23:26

Same Skill Collection

.agents/skills/ask-matt/SKILL.md
.agents/skills/ast-grep-outline/SKILL.md
.agents/skills/ast-grep/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/codebase-design/SKILL.md
.agents/skills/companion-clis/SKILL.md
.agents/skills/diagnosing-bugs/SKILL.md
.agents/skills/domain-modeling/SKILL.md
.agents/skills/flash/SKILL.md
.agents/skills/grill-with-docs/SKILL.md
.agents/skills/implement/SKILL.md
.agents/skills/improve-codebase-architecture/SKILL.md
.agents/skills/prototype/SKILL.md
.agents/skills/research/SKILL.md
.agents/skills/resolving-merge-conflicts/SKILL.md
.agents/skills/runpodctl/SKILL.md
.agents/skills/setup-matt-pocock-skills/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/to-tickets/SKILL.md
.agents/skills/triage/SKILL.md
.agents/skills/unslop/SKILL.md
.agents/skills/wayfinder/SKILL.md
.agents/skills/wizard/SKILL.md
.agents/skills/yts806379-everything-claude-code-e2e-testing/SKILL.md
.claude/skills/ask-matt/SKILL.md
.claude/skills/ast-grep-outline/SKILL.md
.claude/skills/ast-grep/SKILL.md
.claude/skills/codebase-design/SKILL.md
.claude/skills/companion-clis/SKILL.md
.claude/skills/diagnosing-bugs/SKILL.md
.claude/skills/domain-modeling/SKILL.md
.claude/skills/flash/SKILL.md
.claude/skills/implement/SKILL.md
.claude/skills/improve-codebase-architecture/SKILL.md
.claude/skills/nodetool-api-reference/SKILL.md
.claude/skills/nodetool-browser-agent/SKILL.md
.claude/skills/nodetool-chat-cli/SKILL.md
.claude/skills/nodetool-custom-node-developer/SKILL.md
.claude/skills/nodetool-deployment/SKILL.md
.claude/skills/nodetool-model-provider-config/SKILL.md
.claude/skills/nodetool-rag-indexing/SKILL.md
.claude/skills/nodetool-troubleshooter/SKILL.md
.claude/skills/nodetool-workflow-builder/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/research/SKILL.md
.claude/skills/resolving-merge-conflicts/SKILL.md
.claude/skills/setup-matt-pocock-skills/SKILL.md
.claude/skills/tdd/SKILL.md
.claude/skills/to-spec/SKILL.md

Metadata

Files
0
Version
9b979bc
Hash
c18b6430
Indexed
2026-09-22 23:26

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-23 07:12
浙ICP备14020137号-1