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

recursive-spec递归规范

Agent Skill

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

总安装

499

周安装

20

GitHub Stars

60

下载量

162
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/try-works/recursive-mode --skill recursive-spec

简介

recursive-spec 用于查找、检索和筛选相关信息,支持基于关键词或场景定位内容。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要快速获取候选结果时使用。
  • 通过 GitHub 安装,结合来源仓库和 README 可进一步核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

recursive-spec

Use this skill to co-author a repo-aware 00-requirements.md for a new recursive-mode run.

This skill is for requirements/spec authoring before implementation starts. It does not replace /.recursive/RECURSIVE.md, and it should not skip ahead to Phase 2 planning or Phase 3 implementation.

Primary Use Case

Use recursive-spec when the user wants help shaping work before a run exists, especially with prompts like:

  • create a plan
  • help me plan
  • create a spec
  • write requirements
  • spec this out
  • scope this

The important signal is plan/spec language for a new run, not implementation of an existing run.

Conversation Contract

When the trigger is detected:

  1. First ask whether the user wants help creating a spec for a recursive run.
  2. If the user replies positively, ask: What do you want to do?
  3. Then gather context, read the repo, and co-author the requirements.

Do not jump straight into writing 00-requirements.md before the user confirms they want spec help.

Draft Handling Before Approval

Until the user explicitly approves the spec:

  • keep the draft outside the repository worktree
  • prefer a temporary session artifact or scratch file
  • do not create /.recursive/run/<run-id>/
  • do not write 00-requirements.md

If the user rejects the draft, revise it or discard the temporary draft artifact. Do not leave behind a half-approved run folder.

Required Read Behavior

Before drafting requirements, read:

  1. /.recursive/STATE.md
  2. /.recursive/DECISIONS.md
  3. /.recursive/memory/MEMORY.md
  4. relevant memory shards only when they actually matter
  5. the most relevant code and tests for the requested area

The skill should be repo-aware, not a blind questionnaire. Use the control-plane docs to understand current truth and the codebase to understand actual surfaces, coupled modules, existing tests, and likely boundaries.

Authoring Flow

Use a guided interview. Ask one focused question at a time when the answer is not already grounded by repo docs or code.

Recommended sequence:

  1. Goal and user outcome
  2. Task type: feature, bugfix, refactor, migration, investigation
  3. Affected subsystem or files
  4. In-scope requirements (R#)
  5. Observable acceptance criteria for each requirement
  6. Edge cases, failure paths, and exclusions
  7. Constraints, fixed decisions, and boundaries
  8. Open unknowns that must be resolved before Phase 0 is locked

Prefer proposing draft wording and asking the user to confirm or correct it rather than asking the user to author the whole document from scratch.

Quality Rules

Borrow the strongest authoring ideas from contract-first workflows, but keep the output native to recursive-mode:

  • start with user intent and desired outcome
  • separate fixed decisions from open questions
  • define deterministic, observable acceptance criteria
  • include exception and failure-path thinking instead of only the happy path
  • make boundaries concrete enough to guide later AS-IS analysis and planning
  • keep out-of-scope items explicit

Do not introduce a separate .spec DSL or a second workflow format.

Output Contract

The finished output should become:

  • /.recursive/run/<run-id>/00-requirements.md

Use the repository's native Phase 0 requirements structure:

  • keep the scaffolded header from recursive-init, including Workflow version: recursive-mode-audit-v2
  • keep the required ## TODO section and replace placeholder checklist items rather than deleting the heading
  • ## Requirements
  • ## Out of Scope
  • ## Constraints

Within ## Requirements, each R# should include:

  • a short title
  • a clear description
  • observable acceptance criteria bullets

Run Creation Rule

Do not create the run folder immediately.

  1. Draft and refine the requirements with the user first.
  2. Keep the draft in a temporary non-repo artifact until approval.
  3. Confirm the user approves the spec and that it is complete enough to proceed.
  4. Create the run with scripts/recursive-init.py or scripts/recursive-init.ps1.
  5. Replace the scaffolded 00-requirements.md with the approved requirements content.

This keeps the run artifact grounded in user-approved requirements instead of half-formed notes.

Routing Awareness

If spec authoring uses delegated critique, delegated review, or any other external model help to shape the draft, re-read:

  • /.recursive/config/recursive-router.json
  • /.recursive/config/recursive-router-discovered.json

immediately before choosing that CLI/model, and route through recursive-router instead of inventing an ad hoc model choice.

Boundaries

  • Stay focused on 00-requirements.md authoring for a new run.
  • Do not silently convert this into Phase 2 planning.
  • Do not start implementation just because the requirements became clear.
  • Do not skip code reading when repository structure matters to scope or constraints.
  • Do not create a run until the user-approved spec is ready to write.
  • Do not write repository requirements artifacts from an unapproved draft.

References

  • /.recursive/RECURSIVE.md
  • /.recursive/STATE.md
  • /.recursive/DECISIONS.md
  • /.recursive/memory/MEMORY.md
  • ../../references/artifact-template.md
  • ./references/patterns.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.24%
按下载量换算52

Claude

30.63%
按下载量换算50

Cursor

20.43%
按下载量换算33

Gemini CLI

9.84%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills