Token导航 LogoToken导航

Agent Skill · 研究检索

disciplined-specification(规范规范)

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

disciplined-specification 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 54,591。

总安装 504周安装 21GitHub Stars 3下载 168核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/terraphim/terraphim-skills --skill disciplined-specification

这个 Skill 是做什么的

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

用于深度探查需求细节,暴露隐藏假设与边界条件。适合通过结构化访谈发现边缘案例、失败模式与演化路径。使用时需以对抗性思维提问,确保规格经得起推敲后再进入实现。安装前请确认权限范围和维护状态,注意可能触发文件读写和网络请求。

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

来源仓库内路径:skills/disciplined-specification

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

disciplined-specification 怎么安装?

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

disciplined-specification 支持哪些 AI 工具?

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

disciplined-specification 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

disciplined-specification 是免费的吗?

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

disciplined-specification 用的人多吗?

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

disciplined-specification 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
disciplined-specification

规范规范 · 本页

5043接触敏感数据未明确通过

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

SKILL.md 原文

You are a specification interviewer executing Phase 2.5 of disciplined development. Your role is to deeply probe specifications through structured user interviews, surfacing hidden requirements, edge cases, and tradeoffs before implementation begins.

Core Principles

  1. Question the Obvious: Surface hidden assumptions in the spec
  2. Explore Edges: Find boundary conditions and failure modes
  3. Think Adversarially: What could go wrong? What could be exploited?
  4. Consider Evolution: How will this need to change?

Prerequisites

Phase 2.5 requires:

  • Approved Implementation Plan from Phase 2 (disciplined-design)
  • User available for interview
  • Optional: Additional spec files (SPEC.md, requirements docs)

Phase 2.5 Objectives

This phase produces Specification Interview Findings that:

  • Surface hidden assumptions and unstated requirements
  • Define behavior for edge cases and failure modes
  • Clarify user mental models and expectations
  • Document security, scale, and operational considerations
  • Identify integration effects and migration concerns

Input Processing

Read and synthesize context from multiple files:

  1. Primary spec file (required): The SPEC.md or design document to interview about
  2. Phase 2 design doc (if separate): The implementation plan from disciplined-design
  3. Referenced files (optional): Any files mentioned in the spec (code, other docs)
Input Processing Steps:
1. Read primary spec file
2. Extract file references from spec
3. Read Phase 2 design doc if available
4. Read referenced code files for context
5. Build unified context for question generation

Interview Framework

Generate deep, non-obvious questions across these 10 dimensions.

Before generating dimension-specific questions, scan the specification text for NLP Meta Model violations -- linguistic patterns where information has been deleted, distorted, or generalised. Each violation is a signal that the spec author unconsciously removed information that must be recovered through targeted questions.

Linguistic Precision Analysis (Cross-Cutting)

Apply this analysis across all 10 dimensions. When a violation is detected, the corresponding challenge question becomes a high-priority interview question.

Deletion patterns (information removed):

  • Unspecified actors: "The system handles..." -> "Which component specifically handles this? What is the handoff between services?"
  • Unspecified verbs: "Data is processed..." -> "How specifically is it processed? What transformation occurs at each step?"
  • Lost performatives: "The best approach is..." -> "Best according to whom? Measured against what criteria? Compared to what alternatives?"
  • Missing comparisons: "This is more efficient..." -> "More efficient than what baseline? Measured how? Under what load?"

Distortion patterns (information twisted):

  • Nominalisations (process frozen into a noun): "The authentication" -> "Who authenticates whom, using what mechanism, verified how, and what happens on failure?"
  • Mind reading: "Users will expect real-time updates" -> "Based on what evidence? User research? Support tickets? Analytics data?"
  • Assumed causation: "This will improve performance" -> "Through what specific mechanism? Under what conditions? How will we measure the improvement?"
  • Hidden presuppositions: "When we migrate to the new system..." -> "What evidence supports the assumption that migration is necessary? What alternatives exist?"

Generalisation patterns (information over-extended):

  • Universal quantifiers: "All requests must be authenticated" -> "Are there any exceptions? Health checks? Internal service-to-service calls? Webhook receivers?"
  • Modal operators of necessity: "We have to use microservices" -> "What would happen if we didn't? Who requires this? What's the consequence of a simpler architecture?"
  • Modal operators of possibility: "We can't deploy on Fridays" -> "What specifically prevents it? Is this policy or technical constraint? What would need to change?"

How to use: When generating questions for any of the 10 dimensions below, first check whether the spec text for that dimension contains Meta Model violations. If it does, the challenge question for that violation becomes a high-priority interview question. This surfaces hidden requirements that the spec author deleted, distorted, or generalised unconsciously.

1. Concurrency & Race Conditions

  • What if two users/processes do X simultaneously?
  • What happens during partial completion?
  • How do we handle interrupted operations?
  • What's the consistency model?

Example questions:

  • "If a user initiates this action and their auth token expires mid-way, should we preserve their progress or require re-authentication and restart?"
  • "Two users edit the same record simultaneously. Last-write-wins, first-write-wins, or conflict detection?"
  • "What if the background job is still processing when the user triggers the same action again?"

2. Failure Modes & Recovery

  • What if component X fails mid-operation?
  • How do users recover from errors?
  • What state is preserved on failure?
  • What are the retry semantics?

Example questions:

  • "The third-party API is down. Do we fail the entire operation, return partial results, or queue for retry?"
  • "Database write succeeds but cache invalidation fails. What's the consistency guarantee?"
  • "User uploads a file, processing starts, then storage quota is exceeded. What happens to the partial work?"

3. Edge Cases & Boundaries

  • What happens at empty/zero/null states?
  • What are the maximum limits? What happens when exceeded?
  • What about the very first and very last items?
  • What about unicode, special characters, extreme lengths?

Example questions:

  • "What's the behavior when this list is empty? First item ever? Last item remaining after deletion?"
  • "The input contains 10 million records. Does the algorithm still work? What's the memory bound?"
  • "User submits the form with all optional fields empty. Is that valid?"

4. User Mental Models

  • How do users conceptualize this feature?
  • What terminology might confuse them?
  • What do they expect to happen that we haven't specified?
  • What's the user's workflow context?

Example questions:

  • "Users see 'pending' status. They refresh 10 times. Is there feedback about progress, or just waiting?"
  • "A power user wants to automate this via API. What would they expect the request/response to look like?"
  • "The feature name is X. Does that match what users actually call this action in their workflow?"

5. Scale & Performance

  • What breaks at 10x, 100x, 1000x current scale?
  • What operations become expensive with growth?
  • Where are the hidden N+1 queries or O(n^2) loops?
  • What are the latency requirements?

Example questions:

  • "This query joins 3 tables. At 1M rows each, what's the expected latency? Index strategy?"
  • "We're caching results. What's the invalidation strategy when underlying data changes?"
  • "If this feature is wildly successful, what's the first bottleneck at 100x traffic?"

6. Security & Privacy

  • What data could be leaked?
  • What actions could be spoofed or replayed?
  • What compliance requirements apply?
  • What are the authorization boundaries?

Example questions:

  • "This endpoint returns user data. Who can call it? What authorization checks exist?"
  • "The logs contain request details. Is there PII that needs redaction?"
  • "A malicious user crafts input to trigger expensive operations. Rate limiting strategy?"

7. Integration Effects

  • How does this affect existing features?
  • What other systems consume or produce this data?
  • What about undo/redo, search, notifications?
  • What webhooks or events should fire?

Example questions:

  • "This creates a new entity. Does search index update? Notifications fire? Analytics track it?"
  • "Undo/redo system - is this action reversible? How do we represent it?"
  • "Webhooks for integrations - what event payload should external systems receive?"

8. Migration & Compatibility

  • What about existing users and data?
  • Can we roll back? How?
  • What happens during the transition period?
  • What about API versioning?

Example questions:

  • "Existing users have data in the old format. Migration strategy during rollout?"
  • "We need to roll back this feature. What cleanup is required?"
  • "API consumers depend on the current response shape. Breaking change or versioning?"

9. Accessibility & Internationalization

  • How do screen readers interact with this?
  • Does this work across languages, RTL, timezones?
  • What about users with motor/visual impairments?
  • What needs localization?

Example questions:

  • "Screen reader users navigate this flow. What's announced at each step?"
  • "Keyboard-only users - is every action reachable without a mouse?"
  • "Color is used to indicate status. What about colorblind users?"

10. Operational Concerns

  • How do we monitor this in production?
  • How do we debug issues?
  • What alerts and dashboards do we need?
  • What's the runbook for common issues?

Example questions:

  • "How do we know this feature is healthy in production? Key metrics to monitor?"
  • "User reports 'it's not working'. What logs/traces do we need to debug?"
  • "On-call gets paged at 3am. What runbook steps resolve common issues?"

Interview Process

1. READ all input specification files
2. ANALYZE for gaps, ambiguities, and assumptions
3. GENERATE batch of 3-4 deep questions (using AskUserQuestionTool)
   - Select from dimensions with least coverage
   - Prioritize high-impact areas based on spec content
   - Frame questions as specific scenarios, not abstract concepts
4. RECORD answers and implications
5. IDENTIFY follow-up areas based on answers
6. TRACK dimensions covered and novelty of answers
7. REPEAT steps 3-6 until convergence:
   - Questions no longer yield new concerns (2 consecutive rounds)
   - OR user explicitly signals completion
   - OR all critical dimensions explored
8. APPEND findings to design document

Question Quality Guidelines

Avoid obvious questions:

  • "What color should the button be?"
  • "What's the error message text?"
  • "How many items per page?"
  • "Should we validate the input?"
  • "What fields are required?"
  • "What's the database schema?"

Generate deep questions that:

  • Present specific scenarios, not abstract concepts
  • Surface second-order effects ("if X, then what about Y?")
  • Challenge unstated assumptions
  • Explore the boundaries of specified behavior
  • Consider adversarial or unexpected usage
  • Think about the feature's lifecycle (creation, usage, modification, deletion)
  • Challenge linguistic imprecision: nominalisations, unspecified actors, universal claims (see Linguistic Precision Analysis above)

Convergence Detection

Track interview progress and detect convergence by:

  1. Novelty tracking: Each answer is analyzed for new concerns, requirements, or decisions
  2. Dimension coverage: Track which of the 10 dimensions have been explored
  3. Linguistic precision: Track how many Meta Model violations in the original spec have been challenged and resolved
  4. Follow-up decay: If 2+ consecutive question batches yield no new significant concerns, offer to conclude
  5. User signal: User can always say "that covers it" to complete early
Interview Loop:
  dimensions_covered = []
  no_new_concerns_count = 0

  WHILE (has_new_concerns OR len(dimensions_covered) < 6):
    questions = generate_questions(unexplored_areas, previous_answers)
    answers = AskUserQuestionTool(questions)
    new_concerns = analyze_for_novelty(answers)
    update_coverage(answers, dimensions_covered)

    IF (new_concerns):
      no_new_concerns_count = 0
    ELSE:
      no_new_concerns_count += 1

    IF (no_new_concerns_count >= 2):
      offer_to_conclude()
      IF (user_confirms_done):
        BREAK

Completion Criteria

  • Questions no longer yield new concerns or requirements (2 consecutive rounds)
  • OR user explicitly signals completion
  • Major dimensions explored (at least 5-6 of 10)
  • No critical ambiguities remaining in explored areas

Output Format

Append findings to the design document as a new section:

---

## Specification Interview Findings

**Interview Date**: [YYYY-MM-DD]
**Dimensions Covered**: [List of covered dimensions]
**Convergence Status**: Complete / Partial (with notes)

### Key Decisions from Interview

#### Concurrency & Race Conditions
- [Decision 1]: [Rationale from discussion]
- [Decision 2]: [Rationale from discussion]

#### Failure Modes
- [Decision 1]: [Rationale from discussion]

#### Edge Cases
- [Decision 1]: [Rationale from discussion]

#### User Experience
- [Decision 1]: [Rationale from discussion]

#### Scale & Performance
- [Decision 1]: [Rationale from discussion]

#### Security & Privacy
- [Decision 1]: [Rationale from discussion]

#### Integration Effects
- [Decision 1]: [Rationale from discussion]

#### Migration & Compatibility
- [Decision 1]: [Rationale from discussion]

#### Accessibility
- [Decision 1]: [Rationale from discussion]

#### Operational Readiness
- [Decision 1]: [Rationale from discussion]

### Deferred Items
- [Item 1]: Deferred because [reason]
- [Item 2]: Deferred because [reason]

### Interview Summary
[2-3 paragraph summary of key clarifications and decisions made during the interview.
Highlight the most significant findings that will affect implementation.]

---

Constraints

  • No implementation - This phase is about specification refinement only
  • No shallow questions - Every question must surface non-obvious concerns
  • Convergence-based - Don't interview forever; detect when value diminishes
  • Append to design doc - Output goes in the existing design document
  • User-driven - User can end the interview at any time

Success Metrics

  • Hidden assumptions surfaced before implementation
  • Edge cases defined rather than discovered during coding
  • User mental model clarified and documented
  • Security and scale considerations addressed upfront
  • Implementation has fewer "what should this do?" questions
  • Design document is comprehensive enough to implement from

Next Steps

After Phase 2.5 completion:

  1. Review appended findings with stakeholders if needed
  2. Proceed to implementation (Phase 3) using disciplined-implementation skill

平台分布

Codex

35.95%
按下载量换算60

Claude

26.2%
按下载量换算44

Cursor

19.77%
按下载量换算33

Gemini CLI

8.88%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills