Token导航 LogoToken导航

Agent Skill · 研究检索

spec-knowledge(规格知识)

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

spec-knowledge 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 53,604。

总安装 528周安装 22GitHub Stars 公开资料未说明下载 176核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add elct9620/claude-spec-plugin --skill "spec-knowledge"

这个 Skill 是做什么的

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

spec-knowledge 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。适用于研究检索类任务,可结合来源仓库、安装命令和原始 README 继续核验具体用法。

通过 npx skills add elct9620/claude-spec-plugin --skill "spec-knowledge" 命令安装。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add elct9620/claude-spec-plugin --skill "spec-knowledge";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

spec-knowledge 怎么安装?

在终端执行 npx skills add elct9620/claude-spec-plugin --skill "spec-knowledge"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

spec-knowledge 支持哪些 AI 工具?

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

spec-knowledge 需要什么权限?

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

spec-knowledge 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

spec-knowledge 用的人多吗?

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

spec-knowledge 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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调用外部服务未明确有提醒
spec-knowledge

规格知识 · 本页

528—需要联网MIT未收录

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

SKILL.md 原文

name
spec-knowledge
description
Maintains consistency when creating, modifying, reading, reviewing, or working with specifications. Use when user mentions SPEC.md, requirements, or any specification documents to ensure consistent handling. Provides specification knowledge—quality criteria, editing methods, and three-layer framework (Intent/Design/Consistency).
license
Apache-2.0
metadata
author
Aotokitsuruya

Specification

Expertise for working with software specifications.

What Makes a Good Specification

A specification describes the target state—what the system looks like when complete.

Specification ISSpecification is NOT
Target state descriptionImplementation plan
Design decisions (what)Decision rationale (why)
Declarative statementsNarrative explanations

Core principle: Constrain design, open implementation.

  • Specify all user-visible decisions
  • Leave internal implementation choices to implementers
  • If an implementer must guess a design decision, the specification is incomplete

Anti-patterns:

  • Note: — If clarification needed, specification is unclear. Rewrite directly.
  • (Future), (v2) — Describes target state, not phases. Remove or split into separate spec.
  • (Optional) — Either required for target state or belongs in Non-goals.

Three Layers

Complete specifications address three layers:

LayerPurposeKey Question
IntentWhy this existsWhat problem for whom?
DesignWhat to buildWhat boundaries, interfaces, behaviors?
ConsistencyHow to stay unifiedWhat patterns for similar problems?

Intent Layer

Provides context for judgment calls:

ElementRoleCore
PurposeWhat problem the system solves✓
UsersWho uses it, what they accomplish✓
ImpactsWhat behavior changes indicate success (drives priority)
Success criteriaWhat defines "done" and "working"
Non-goalsWhat is explicitly out of scope

Without intent, implementers make technically correct but misaligned decisions.

Design Layer

Defines observable behaviors and boundaries:

ElementRoleFormatCore
System boundaryWhat's inside vs outsideSee Boundary types
User journeysTask flows achieving impactsContext → Action → Outcome
InterfacesContracts between internal modules-
PresenterHow system presents to usersUI: colors, layout / CLI: output format / API: response structure
BehaviorsOutcomes for each state × operationState + Operation → Result✓
Error scenariosHow failures are handled-✓

Boundary types:

TypeDefinesExample
ResponsibilityWhat system does / does not do"Validates input; does not store history"
InteractionInput assumptions / Output guarantees"Assumes authenticated user; Returns JSON only"
ControlWhat system controls / depends on"Controls order state; Depends on payment service"

Consistency Layer

Establishes patterns for uniform implementation (all items enhance quality, none required for minimal spec):

ConceptRoleExample
ContextShared understanding"This is event-driven"
TerminologySame concept uses same name throughout"Order" not "Purchase/Transaction/Request"
PatternRecurring situation → approach"State changes via events"
FormExpected structure"Events have type, payload", "Primary: #FF0000", "Errors to stderr"
ContractInteraction agreement"Handlers must be idempotent"

Weave these into relevant sections rather than listing separately.

Implementation Standards (Optional)

For projects requiring code-level consistency across multiple contributors or extended development periods.

CategoryPurposeExamples
ArchitectureModule boundaries and dependenciesClean Architecture, Hexagonal, Layered
Design PatternsReusable solutionsRepository, Factory, Strategy
Testing StyleTest structure and conventionsGiven-When-Then, Arrange-Act-Assert
Code OrganizationDirectory structure and namingFeature-based, layer-based, naming conventions

When to include:

  • Multiple contributors work on the codebase
  • Development spans extended periods
  • Codebase requires shared conventions

When to skip:

  • Simple scripts or single-file utilities
  • Prototypes or proof-of-concept
  • Short-lived projects

Quality Criteria

Specification Rubric

Rate each item Y (yes) or N (no).

Intent Layer

#CriterionRequiredY/N
1Purpose stated in one sentence?✓
2Target users identified?✓
3Impacts (behavior changes) identified?
4Success criteria measurable or verifiable?

Design Layer

#CriterionRequiredY/N
5Each documented feature has defined behavior?✓
6Error scenarios cover all documented features?✓
7Interaction points (internal and external) have explicit contracts?
8Implementer can build without clarifying questions?✓

Consistency Layer

#CriterionRequiredY/N
9Key terms defined and used consistently throughout?
10Recurring situations have named patterns?
11Two implementers would produce compatible results?

Passing Criteria:

  • All Required Y → Specification is usable. Stop unless improving quality.
  • All items Y → Specification is complete. Stop.
  • Any Required N → Must address before implementation.
  • Non-required N → Address only if relevant to project scope.

Balance Check

QuestionDesign Decision (specify)Implementation Detail (open)
User-visible?Error messages, CLI outputLog format, variable names
Affects modules?Interface signaturesInternal functions
Needs consistency?Error handling patternAlgorithm choice
Could misalign?Business rulesPerformance optimization

Test: "If implemented differently, would users notice or would modules conflict?"

Warning signs of over-specification: internal implementation details, algorithm choices (unless user-visible)

Warning signs of under-specification: vague terms ("appropriate", "reasonable"), undefined behavior for reachable states

Common Problems

ProblemSymptomCauseFix
Missing intentTechnical tasks instead of user valueNo purpose/users definedAdd intent layer
Undefined scenariosInconsistent edge case behaviorIncomplete state coverageEnumerate all combinations
Over-specificationImplementer constrained unnecessarilyImplementation details includedKeep only observable behaviors
Inconsistent patternsSimilar problems solved differentlyNo shared conventionsExtract and reference patterns
Inconsistent terminologySame concept has multiple namesNo shared vocabularyDefine key terms, use consistently
Vague languageAmbiguous interpretation"Handle appropriately"Use specific values or criteria
Hidden assumptionsWorks only in specific contextUnstated prerequisitesMake all assumptions explicit
Explanatory notes"Note: because..." appearsMixing rationale with specRewrite as direct statement
Phase markers"(Future)", "(v2)" in specMixing planning with specRemove; spec describes target state

Applying This Knowledge

Progressive Approach

Apply to both writing new specifications and improving existing ones. When improving, identify current phase and proceed from there.

PhaseFocusOutputConfirm
1. IntentWhy and for whomPurpose, Users, ImpactsRubric #1-2 Y
2. ScopeWhat's includedFeature list, User journeys (Context → Action → Outcome)List complete
3. BehaviorHow it worksFeature behaviors, Error scenariosRubric #5-6, #8 Y
4. RefinementQualityPatterns, Contracts, TerminologyRubric #7, #9-11 as needed

Rules:

  • Do not write Phase 3 details until Phase 2 is confirmed
  • Phase 2 defines user-facing flows; Phase 3 defines internal behaviors
  • Return to earlier phases when new understanding emerges
  • Specification is usable after Phase 3 (all Required Y)

When Reviewing

Assess against three layers:

  1. Intent: Can I explain why this system exists and for whom?
  2. Design: Can I predict behavior for any user action?
  3. Consistency: Will similar situations be handled similarly?

Key questions:

  • Is this complete enough to implement without guessing?
  • Are all design decisions explicit?
  • Will two implementers produce compatible results?

Flag: missing layers, vague language, implementation details that should be open, design decisions that should be specified.

Splitting Content

Default: Keep everything in SPEC.md.

Use this decision table to determine when to extract content:

DecidesExpandsExternal→ Action
Y--Keep in SPEC.md
NN-Keep in SPEC.md
NYNMay extract (summary + link)
NYYExtract (link only)

Conditions:

  • Decides: Cannot understand what to build without reading this
  • Expands: Complete definition of a decision (all fields, all cases)
  • External: Maintained by different role/tool

Examples:

ContentDecidesExpandsExternal→ Action
Feature behaviorY--Keep
Decision tableY--Keep
Error handling rulesY--Keep
API endpoints (3-5)NN-Keep
Full DB schema (50+ fields)NYNMay extract
Complete test casesNYNMay extract
Figma designNYYExtract

When extracting:

  • SPEC.md keeps the decision/summary
  • Link: See [Schema](docs/schema.md) for field definitions
  • Detail documents follow same principles
TypeLocation
Data structuresdocs/schema.md
Visual designdocs/design.md or external
Test casesdocs/tests.md

When updating specifications:

  • First determine: decision or detail?
  • Decisions go in SPEC.md, details may go in referenced documents
  • If adding to external document, verify SPEC.md has the governing decision

Writing tip: Use tables (like this decision table) to define boundaries and rules. Tables make conditions explicit and reduce ambiguity.

Handling Uncertainty

Undecided design choices

Do not leave gaps. Instead:

  1. Present options with tradeoffs
  2. Request a decision
  3. Document the choice

Incomplete information

Mark explicitly what is decided vs pending:

## Technical Stack

Decided:
- Runtime: Node.js >= 20

To be decided:
- Database: PostgreSQL or SQLite
  (depends on deployment target)

Conflicting requirements

Surface the conflict explicitly and request resolution rather than making assumptions.

平台分布

Claude Code

29.84%
按下载量换算53

OpenCode

23.51%
按下载量换算41

Codex

16.82%
按下载量换算30

Gemini CLI

12.2%
按下载量换算21

windsurf

8.3%
按下载量换算15

trae

3.84%
按下载量换算7

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills