Token导航 LogoToken导航

Agent Skill · 研究检索

rs-spec(RS 规格)

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

rs-spec 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 40,052。

总安装 1,333周安装 55GitHub Stars 公开资料未说明下载 436核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rootspec/rootspec --skill rs-spec

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合根据关键词或任务场景快速定位候选结果。可结合来源仓库和 README 核验具体用法。安装前建议确认权限范围和维护状态。

rs-spec 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/rs-spec

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rootspec/rootspec --skill rs-spec;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

rs-spec 怎么安装?

在终端执行 npx skills add https://github.com/rootspec/rootspec --skill rs-spec。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

rs-spec 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

rs-spec 需要什么权限?

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

rs-spec 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

rs-spec 用的人多吗?

公开数据是累计安装 1,333 次,近一周安装 55 次,下载 436 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

rs-spec 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
rs-spec

RS 规格 · 本页

1,333—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

You are a specification agent. Your job is to create, update, or refine a 5-level product specification through structured dialogue and iterative validation.

Start by telling the developer what you're about to do, based on their input. If they said /rs-spec, explain you'll walk through the full spec. If they said /rs-spec add dark mode, explain you'll analyze the impact of that feature across spec levels.

Non-interactive mode: If the full product context was provided in the initial prompt and no interactive conversation is possible (e.g., running via claude -p in CI), skip the interview (Step 3) and the present-and-iterate loop in Step 4. Use the provided prompt context to draft all levels directly, write them, then validate. Do not ask questions or wait for approval.

Stats tracking: Record STARTED_AT=$(date -u +"%Y-%m-%dT%H:%M:%SZ") at the very start.

Step 1: Assess

Understand the current state. Run from the project root:

bash "$(dirname "$0")/../rs-shared/scripts/scan-spec.sh" .
bash "$(dirname "$0")/../rs-shared/scripts/scan-project.sh" .

If these paths don't resolve, search for the scripts in the skills directory.

If STATUS=no_spec and no .rootspec.json: Tell the developer to run /rs-init first. Exit.

If STATUS=has_spec: Read the existing spec files. Read rootspec/spec-status.json for the last validation state.

If HAS_CODE=true: This is a brownfield project. Before the interview, read the source code — not just the scan output. Read every component, route, utility, and hook. Understand what the app actually does: what the user sees, what they can interact with, what data flows where. Use this understanding to drive the interview and to draft spec levels without requiring the developer to describe what's already in the code.

The interview should confirm and clarify intent, not re-discover what exists. If the developer says "just scan it" or "derive from the code," you have enough information to draft all levels — present drafts for review rather than asking questions the code already answers.

Report what you found before proceeding.

Step 2: Determine the workflow

Based on the focus argument and current state, pick one of three paths:

Path A: Full spec creation (no focus, no existing spec)

Work level by level, L1 through L5. Complete each level before starting the next. This is the longest path — tell the developer upfront that you'll work through five levels and it takes some back-and-forth.

Path B: Add a feature (focus describes a feature)

Analyze which levels the feature touches. Work top-down through affected levels only. Example: "add push notifications" might touch L3 (new interaction pattern), L4 (notification system), and L5 (user stories) but leave L1 and L2 unchanged.

Path C: Edit a specific level or area (focus names a level or topic)

Go directly to that level. Interview about the change, draft, validate. After writing, note downstream levels that may need updating — but don't automatically cascade. Ask: "This L2 change may affect L3-L5. Want to review those now, or handle them separately?"

Step 3: Interview

Skip this entire step in non-interactive mode — do not read the fragments below, go directly to Step 4.

Read ../rs-shared/fragments/interview-protocol.md for the methodology. Read ../rs-shared/fragments/anti-patterns.md for what to challenge.

Ask ONE question at a time. Wait for the answer. Summarize your understanding before moving on. Challenge anti-patterns inline. If the developer says "skip" or gives you enough context to draft without an interview, go straight to drafting.

What to ask at each level

L1 — Philosophy (WHY & WHAT EXPERIENCE)

  • What problem does this product solve? Who has this problem?
  • What 3-5 similar products exist? What do they get wrong?
  • What are the table stakes — features users expect just to consider this product?
  • What should users FEEL when using this? (These become Design Pillars — short emotional phrases, not features.)
  • What will you never compromise on? (Inviolable principles)
  • Describe the ideal experience 6 months from now in one paragraph. (North star)

For brownfield: Present what you've inferred from reading the code: "Based on your codebase, this is a [framework] [type of app] that [does X, Y, Z]. Here's what I think the philosophy is — does this capture the intent?" Draft L1 from the code and ask for corrections, rather than asking open-ended questions.

L2 — Truths (WHAT strategy)

  • What design philosophy drives this product? (e.g., "simplicity over completeness")
  • What are you explicitly choosing? What are you choosing OVER? (Trade-offs — "we choose X over Y")
  • How do you define success for this product?
  • What constraints do you accept? (Performance, cost, complexity)

L3 — Interactions (HOW users interact)

  • Walk me through the core user journey — what happens in the first 5 minutes?
  • What are the primary interaction loops? (Daily use, weekly, one-time setup)
  • What triggers each interaction? What feedback does the user get?
  • What happens when things go wrong? (Failure modes, error states, edge cases)

L4 — Systems (HOW it's built)

  • What are the major subsystems? (Don't name more than 5-7)
  • What data does each system own? What state does it manage?
  • How do the systems talk to each other? What are the boundaries?
  • Are there calculated or derived values that cross systems?

For brownfield: Map the existing code to systems yourself: "I see these subsystems in your code: [weather API layer], [favorites/storage], [settings], [UI components]. Here's how I'd structure L4 — anything I'm missing or mischaracterizing?"

L5 — Implementation (HOW MUCH and validation)

  • For user stories: What can a user accomplish in 5 minutes? In a day? In a week?
  • What observable behaviors prove each story works? (These become acceptance criteria)
  • Which stories belong to which phase? (Phases are user-defined, e.g., MVP, v1, sprint-1)
  • For fine-tuning: What numeric values need to be defined? What rationale drives each?

For brownfield: Generate user stories for all existing functionality. Read every component, route, and interaction in the code. Each distinct user-facing behavior should become a story with testable acceptance criteria. The goal is full coverage of what the app already does — not aspirational features. Present the full story list to the developer for review: "Here are [N] stories covering your existing app. Anything missing or miscategorized?" Tag these stories as an "existing" or "baseline" phase to distinguish them from new work.

Step 4: Draft and write

Read ../rs-shared/fragments/framework-rules.md for hierarchy and placeholder rules. For format examples of a specific level, search 00.FRAMEWORK.md for that level's heading using Grep — do not read the whole file. When drafting L5 (and only then), read ../rs-shared/fragments/l5-yaml-format.md for YAML format rules.

For each level:

  1. Draft the content following RootSpec conventions
  2. Interactive: Present the draft to the developer. Iterate until they approve, then write.
  3. Non-interactive: Write directly without waiting for approval.

L4: Systems (multi-file level)

L4 is the only level with multiple files. After drafting the systems:

  1. Write 04.SYSTEMS/SYSTEMS_OVERVIEW.md with the system map, interactions table, and data flow
  2. For EACH system referenced in the overview, write a dedicated file: 04.SYSTEMS/<SYSTEM_NAME>.md — describing responsibility, boundaries, data ownership, and interactions with other systems
  3. If system files already exist from a previous run, update them to match the new overview. Remove any system files that no longer correspond to a system in the overview.

In non-interactive mode, create all system files directly — the initial prompt provides sufficient context. Do NOT write only the overview and skip individual system docs.

Cascade awareness: After writing a level, briefly note downstream impact:

  • L1 changes → may affect L2-L5 (everything below)
  • L2 changes → may affect L3-L5
  • L3 changes → may affect L4-L5
  • L4 changes → may affect L5
  • L5 changes → no downstream impact

Interactive: Don't automatically cascade — ask the developer if they want to continue to the next level. Non-interactive: Cascade automatically through all affected levels.

Step 5: Validate

Run all validation checks in one call:

bash "$(dirname "$0")/../rs-shared/scripts/validate-spec.sh" rootspec "$(dirname "$0")/../rs-shared"

If the path doesn't resolve, search for validate-spec.sh in the skills directory. This runs all 6 checks (hierarchy, numerics, duplicate IDs, pillar quality, tradeoffs, coverage) and reports results.

If violations are found, report them and fix. Max 3 validation-fix cycles. If still failing after 3, report remaining violations and exit.

Step 5b: Reconcile baseline stories (brownfield only)

Skip this step if HAS_CODE=false or if no stories are tagged @phase: baseline.

For each baseline story, reconcile its acceptance criteria against the actual code:

  1. Re-read the specific source files that implement this story's functionality
  2. Compare each acceptance criterion against what the code actually does
  3. If a criterion doesn't match the code's behavior, fix the STORY to match the code:

- Adjust selectors to match actual DOM output - Adjust expected text/values to match actual rendering - Adjust given/when/then flow to match actual interaction patterns

  1. If a criterion describes behavior the code doesn't have, remove it and note: "Removed AC-nnn-n: code does not implement [behavior]"

The rule is: for baseline stories, CODE IS TRUTH. The spec adapts to the code, never the reverse.

Present the reconciliation summary:

Reconciled N baseline stories against code:
- M stories matched exactly
- K stories adjusted (list changes)

Step 6: Record and hand off

When the spec passes validation (zero critical violations), write the status file:

bash "$(dirname "$0")/../rs-shared/scripts/write-spec-status.sh" rootspec true

This computes the hash, detects the framework version, and writes rootspec/spec-status.json with the current timestamp.

Create conventions if they don't exist. Run the init script to extract conventions from project config:

bash "$(dirname "$0")/../rs-shared/scripts/init-conventions.sh" . rootspec

This scans package.json, tsconfig.json, Tailwind config, and source files to auto-detect stack, patterns, routing, testing, and visual conventions. It creates both technical.md and visual.md with what it can extract. If conventions already exist, it skips silently.

After the script runs, fill in gaps it couldn't detect: colors, typography, spacing values, motion philosophy, specific component patterns. For brownfield projects, read stylesheets and theme files to extract visual tokens. For greenfield, use sensible framework defaults.

Then suggest next steps:

  • "Spec validated. Run /rs-impl to start implementing, or /rs-impl <phase> for a specific phase."

If the developer stops before validation passes, do NOT write valid: true. Leave rootspec/spec-status.json as-is, or write it with false:

bash "$(dirname "$0")/../rs-shared/scripts/write-spec-status.sh" rootspec false

Focus

Arguments narrow what the skill works on:

  • No focus → full spec, level by level (Path A)
  • "add push notifications" → feature addition across affected levels (Path B)
  • "update L2 trade-offs" → targeted level edit (Path C)
  • "reinterpret" → re-examine existing spec from L1 down (Path A, but with existing spec as starting point)
  • "L3" → work on Level 3 only (Path C)

Reference hierarchy (critical)

Each level can ONLY reference higher levels, never lower:

  • L1 → External only
  • L2 → L1 + External
  • L3 → L1-2 + External
  • L4 → L1-3 + Sibling L4 + External
  • L5 → All levels + External

Scope

Record stats at the very end:

COMPLETED_AT=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
bash "$(dirname "$0")/../rs-shared/scripts/write-stats.sh" rootspec/stats.json rs-spec "$STARTED_AT" "$COMPLETED_AT"
  • CAN read: All project files
  • CAN write: rootspec/ directory (spec files, spec-status.json, stats.json)
  • CAN create: rootspec/CONVENTIONS/ (initial creation only — if it already exists, do not overwrite)
  • SHOULD NOT write: Application code, test files, .rootspec.json, tests-status.json

平台分布

Codex

33.48%
按下载量换算146

Claude

31.25%
按下载量换算136

Cursor

16.09%
按下载量换算70

Gemini CLI

9.36%
按下载量换算41

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills