Agent Skills › rsmdt/the-startup › specify-meta

specify-meta

GitHub

管理规范目录的工作流编排技能,支持新建、状态读取及阶段转换。通过调用spec.py脚本自动化处理规范创建、README生成、决策日志记录及阶段流转,确保需求到分解流程的规范化执行。

plugins/start/skills/specify-meta/SKILL.md rsmdt/the-startup

触发场景

需要创建新的规范文档或目录 查询现有规范的当前状态和进度 在规范工作流的各个阶段(如需求、解决方案、分解)之间进行切换

安装

npx skills add rsmdt/the-startup --skill specify-meta -g -y
更多选项

非标准路径

npx skills add https://github.com/rsmdt/the-startup/tree/main/plugins/start/skills/specify-meta -g -y

不安装直接使用

npx skills use rsmdt/the-startup@specify-meta

指定 Agent (Claude Code)

npx skills add rsmdt/the-startup --skill specify-meta -a claude-code -g -y

安装 repo 全部 skill

npx skills add rsmdt/the-startup --all -g -y

预览 repo 内 skill

npx skills add rsmdt/the-startup --list

SKILL.md

Frontmatter
{
    "name": "specify-meta",
    "description": "Scaffold, status-check, and manage specification directories. Use when creating a new spec, reading spec status, transitioning between phases, or logging decisions on a spec in .start\/specs\/.",
    "user-invocable": false
}

Persona

Act as a specification workflow orchestrator that manages specification directories and tracks user decisions throughout the Requirements (WHY) → Solution (WHAT — design) → Plan (slice and scenario tasks) workflow. Every phase writes its own part of one document, spec.md, closed by its own approval gate; the Plan phase also creates the phase, slice, and scenario tasks in the spec's tracker. The specification describes the target state; /implement builds it by running those slice tasks.

Interface

SpecStatus { id: string // 3-digit zero-padded (001, 002, ...) name: string directory: string // .start/specs/[NNN]-[name]/ phase: Initialization | Requirements | Solution | Plan | Ready gates: { requirements: pending | draft | approved | skipped solution: pending | draft | approved | skipped plan: pending | draft | approved | skipped } }

State { specId = "" currentPhase: Initialization | Requirements | Solution | Plan | Ready gates: {} }

Constraints

Always:

  • Use node ${CLAUDE_PLUGIN_ROOT}/scripts/spec.js for all directory operations.
  • Keep phase state in the gates frontmatter of spec.md and the decisions and assumptions in its ## Ledger part — spec.md has no README beside it.
  • Log all significant decisions with date, decision, and rationale.
  • Keep the Assumptions table current — status changes (Proposed → Confirmed/Corrected/Standing) are updates to it, made when the specify skill reports them.
  • Record every gate change, decision, open question, and assumption status change in the spec's event log as you make it: node ${CLAUDE_PLUGIN_ROOT}/scripts/spec.js {specId} --event '<json>' (event kinds in reference/spec-management.md). The progress dashboard reads only this log.
  • A spec with no spec.md uses the legacy layout (README.md, requirements.md, solution.md, plan.md): read and continue it in those files.
  • Confirm next steps with user before phase transitions.

Never:

  • Transition phases without updating the gates frontmatter.
  • Skip decision logging when user makes workflow choices.

Reference Materials

  • Spec Management — Spec ID format, directory structure, script commands, phase workflow, decision logging
  • Spec Template — spec.md: the Requirements, Solution, and Plan parts plus the Ledger

Workflow

1. Scaffold

Create a new spec with an auto-incrementing ID.

  1. Run node ${CLAUDE_PLUGIN_ROOT}/scripts/spec.js "$featureName" in the terminal. It creates the spec directory, spec.md from template.md, and .tracker/.
  2. Report the created spec status.

2. Read Status

Read existing spec metadata.

  1. Run node ${CLAUDE_PLUGIN_ROOT}/scripts/spec.js "$specId" --read in the terminal.
  2. Parse TOML output into SpecStatus.
  3. Read the gates frontmatter of spec.md and suggest the next continuation point:

match (gates) { plan approved => "Plan approved. Proceed to implementation with /implement?" solution approved, plan not => "Solution approved. Continue to Plan (phases, slice and scenario tasks)?" requirements approved, solution not => "Requirements approved. Continue to Solution?" nothing approved => "Start from Requirements?" }

  1. If the spec directory has no events.jsonl, run node ${CLAUDE_PLUGIN_ROOT}/scripts/spec.js "$specId" --snapshot once to start its event log from the current state.

3. Transition Phase

Update the spec directory to reflect the new phase.

  1. Set the finished part's gate to approved (or skipped) and the next part's gate to draft, and record both as gate events.
  2. Log the phase transition in the Decision log.
  3. Hand off to the document-specific skill:

match (phase) { Requirements => specify-requirements skill Solution => specify-solution skill Plan => specify-plan skill (writes the Plan part + tracker tasks) }

  1. On completion, return here for the next phase transition.

4. Log Decision

Append a row to the Decision log table in the Ledger part of spec.md.

Entry Point

match ($ARGUMENTS) { featureName (new) => execute step 1 (Scaffold) specId (existing) => execute steps 2, 3, and 4 in order }

版本历史

  • e803d51 当前 2026-11-02 10:45
  • 88d447c 2026-08-08 07:57

同 Skill 集合

plugins/start/skills/analyze/SKILL.md
plugins/start/skills/archive/SKILL.md
plugins/start/skills/brainstorm/SKILL.md
plugins/start/skills/constitution/SKILL.md
plugins/start/skills/debug/SKILL.md
plugins/start/skills/document/SKILL.md
plugins/start/skills/implement-direct/SKILL.md
plugins/start/skills/implement-factory/SKILL.md
plugins/start/skills/implement-incremental/SKILL.md
plugins/start/skills/implement/SKILL.md
plugins/start/skills/refactor/SKILL.md
plugins/start/skills/review/SKILL.md
plugins/start/skills/specify-factory/SKILL.md
plugins/start/skills/specify-incremental/SKILL.md
plugins/start/skills/specify-plan/SKILL.md
plugins/start/skills/specify-requirements/SKILL.md
plugins/start/skills/specify-solution/SKILL.md
plugins/start/skills/specify/SKILL.md
plugins/start/skills/test/SKILL.md
plugins/start/skills/validate/SKILL.md
plugins/start/skills/writing-skills/SKILL.md
plugins/team/skills/cross-cutting/feature-prioritization/SKILL.md
plugins/team/skills/cross-cutting/pattern-detection/SKILL.md
plugins/team/skills/cross-cutting/project-discovery/SKILL.md
plugins/team/skills/cross-cutting/requirements-elicitation/SKILL.md
plugins/team/skills/design/user-research/SKILL.md
plugins/team/skills/development/agentic-patterns/SKILL.md
plugins/team/skills/development/api-contract-design/SKILL.md
plugins/team/skills/development/architecture-selection/SKILL.md
plugins/team/skills/development/domain-modeling/SKILL.md
plugins/team/skills/development/frontend-patterns/SKILL.md
plugins/team/skills/development/technical-writing/SKILL.md
plugins/team/skills/development/testing/SKILL.md
plugins/team/skills/infrastructure/platform-operations/SKILL.md
plugins/team/skills/quality/code-quality-review/SKILL.md
plugins/team/skills/quality/performance-analysis/SKILL.md
plugins/team/skills/quality/security-assessment/SKILL.md
plugins/start/skills/improve/SKILL.md
plugins/start/skills/reflect/SKILL.md

元信息

文件数
0
版本
e803d51
Hash
14cdcd36
收录时间
2026-08-08 07:57

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 05:24
浙ICP备14020137号-1