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

spec-critique规范批评

Agent Skill

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

总安装

906

周安装

37

GitHub Stars

25

下载量

293
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill spec-critique

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装 spec-critique 技能。
  • 当前无额外说明,需参考原始 SKILL.md 获取完整功能细节。

SKILL.md

Specification Critique Skill

Overview

Critically review specification documents for accuracy, completeness, and feasibility. Use extended thinking to find issues BEFORE implementation begins.

Core principle: Use extended thinking (deep analysis). Find problems BEFORE implementation.

When to Use

Always:

  • After spec writing is complete
  • Before implementation planning begins
  • When spec involves external integrations
  • For complex features with multiple components

Exceptions:

  • Simple specs for trivial changes
  • Specs already reviewed by another agent

The Iron Law

NO IMPLEMENTATION WITHOUT SPEC CRITIQUE FOR COMPLEX TASKS

Complex tasks (external integrations, multi-service changes) must have spec critique.

Inputs Required

Before critiquing, ensure you have:

  1. spec.md - The specification to critique
  2. Requirements document - Original user requirements
  3. Project context - Tech stack, patterns

Workflow

Phase 1: Load All Context

# Read the spec
cat .claude/context/specs/[task-name]-spec.md

# Read original requirements
cat .claude/context/requirements/[task-name].md

# Read project context
cat .claude/context/tech-stack.md

Understand:

  • What the spec claims
  • What the user originally requested
  • What patterns exist in the codebase

Phase 2: Deep Analysis (USE EXTENDED THINKING)

CRITICAL: Use extended thinking for this phase. Think deeply about:

Technical Accuracy

Compare spec against requirements and codebase:

  • Package names: Does spec use correct package names?
  • Import statements: Do imports match API patterns?
  • API calls: Do function signatures match documentation?
  • Configuration: Are env vars and config options correct?

Check for common spec errors:

  • Wrong package name (e.g., "react-query" vs "@tanstack/react-query")
  • Outdated API patterns (e.g., using deprecated functions)
  • Incorrect function signatures (e.g., wrong parameter order)
  • Missing required configuration (e.g., missing env vars)

Flag any mismatches.

Completeness

Check against requirements:

  • All requirements covered? - Each requirement should have implementation details
  • All acceptance criteria testable? - Each criterion should be verifiable
  • Edge cases handled? - Error conditions, empty states, timeouts
  • Integration points clear? - How components connect

Flag any gaps.

Consistency

Check within spec:

  • Package names consistent - Same name used everywhere
  • File paths consistent - No conflicting paths
  • Patterns consistent - Same style throughout
  • Terminology consistent - Same terms for same concepts

Flag any inconsistencies.

Feasibility

Check practicality:

  • Dependencies available? - All packages exist and are maintained
  • Infrastructure realistic? - Setup will work
  • Implementation order logical? - Dependencies before dependents
  • Scope appropriate? - Not over-engineered, not under-specified

Flag any concerns.

Requirements Alignment

Cross-reference with requirements:

  • Verified information used? - Spec should use researched facts
  • Unverified claims flagged? - Any assumptions marked clearly
  • Gotchas addressed? - Known issues handled
  • Recommendations followed? - Requirements suggestions incorporated

Flag any divergences.

Phase 3: Catalog Issues

Create a list of all issues found:

## Issues Found

### 1. [SEVERITY: HIGH] Package name incorrect

- **Spec says**: "[incorrect]"
- **Should be**: "[correct]"
- **Location**: Line 45, Requirements section

### 2. [SEVERITY: MEDIUM] Missing edge case

- **Requirement**: "Handle connection failures"
- **Spec**: No error handling specified
- **Location**: Implementation Notes section

### 3. [SEVERITY: LOW] Inconsistent terminology

- **Issue**: Uses both "memory" and "episode" for same concept
- **Location**: Throughout document

Phase 4: Fix Issues

For each issue found, fix it directly in the spec:

For each fix:

  1. Make the change in spec
  2. Verify the change was applied
  3. Document what was changed

Phase 5: Create Critique Report

# Spec Critique Report

**Spec**: [spec-name]
**Date**: [timestamp]

## Summary

| Category               | Status    | Issues  |
| ---------------------- | --------- | ------- |
| Technical Accuracy     | PASS/FAIL | [count] |
| Completeness           | PASS/FAIL | [count] |
| Consistency            | PASS/FAIL | [count] |
| Feasibility            | PASS/FAIL | [count] |
| Requirements Alignment | PASS/FAIL | [count] |

## Issues Found and Fixed

### High Severity

1. [Issue] - FIXED: [what was changed]

### Medium Severity

1. [Issue] - FIXED: [what was changed]

### Low Severity

1. [Issue] - FIXED: [what was changed]

## No Issues Found (if applicable)

Spec is well-written with no significant issues found.

## Confidence Level

[HIGH/MEDIUM/LOW]

## Recommendations

- [Any remaining concerns or suggestions]

Phase 6: Verify Fixes

After making changes:

# Verify spec is still valid markdown
head -50 .claude/context/specs/[task-name]-spec.md

# Check key sections exist
grep -E "^##? Overview" spec.md
grep -E "^##? Requirements" spec.md
grep -E "^##? Success Criteria" spec.md

Severity Guidelines

HIGH - Will cause implementation failure:

  • Wrong package names
  • Incorrect API signatures
  • Missing critical requirements
  • Invalid configuration

MEDIUM - May cause issues:

  • Missing edge cases
  • Incomplete error handling
  • Unclear integration points
  • Inconsistent patterns

LOW - Minor improvements:

  • Terminology inconsistencies
  • Documentation gaps
  • Style issues
  • Minor optimizations

Category Definitions

  • Accuracy: Technical correctness (packages, APIs, config)
  • Completeness: Coverage of requirements and edge cases
  • Consistency: Internal coherence of the document
  • Feasibility: Practical implementability
  • Alignment: Match with original requirements

Verification Checklist

Before completing spec critique:

  • All sections analyzed with extended thinking
  • Technical accuracy verified
  • Completeness checked against requirements
  • Consistency verified throughout spec
  • Feasibility assessed
  • All issues cataloged with severity
  • All high/medium issues fixed
  • Critique report created
  • Spec still valid after fixes

Extended Thinking Prompt

When analyzing, think through:

"Looking at this spec, I need to deeply analyze it against the requirements... First, let me check all package names. The requirements mention [X], but the spec says [Y]. This is a mismatch that needs fixing. Next, looking at the API patterns. The requirements show initialization requires [steps], but the spec shows [different steps]. Another issue. For completeness, the requirements mention [X, Y, Z]. The spec covers X and Y but I don't see Z addressed anywhere. This is a gap. Looking at consistency, I notice '[term1]' and '[term2]' used interchangeably. Should standardize on one term. For feasibility, the setup seems correct. The configuration matches. Overall, I found [N] issues that need fixing before this spec is ready for implementation."

Common Mistakes

Surface-Level Review

Why it's wrong: Skimming misses critical issues.

Do this instead: Use extended thinking. Analyze each section deeply.

Reporting Without Fixing

Why it's wrong: Just listing issues doesn't improve the spec.

Do this instead: Fix issues directly. Make the spec better.

Integration with Other Skills

This skill works well with:

  • spec-writing: Provides the spec to critique
  • complexity-assessment: Helps determine if critique is needed
  • debugging: Use if spec critique reveals code issues

Iron Laws

  1. NEVER approve a specification that contains contradictions, even minor ones
  2. ALWAYS surface hidden assumptions explicitly — they are as important as stated requirements
  3. NEVER let scope creep go unquestioned in a spec review
  4. ALWAYS validate edge cases and error scenarios before approving
  5. NEVER critique implementation approach — focus only on specification completeness and consistency

Anti-Patterns

Anti-PatternWhy It FailsCorrect Approach
Approving specs with contradictionsDownstream implementation resolves contradictions incorrectlyFlag all contradictions, even minor ones, before approval
Missing hidden assumptionsAssumptions become mismatched requirements during implementationExplicitly surface every assumption the spec relies on
Skipping edge case reviewError scenarios discovered too late during implementationValidate all boundary conditions and error paths in the spec
Critiquing implementation detailsDistracts from specification quality; spec defines WHAT not HOWFocus critique on completeness, consistency, and testability
Accepting vague success criteriaDelivery cannot be verified as completeRequire measurable, testable acceptance criteria for every requirement

Memory Protocol

Before starting: Read .claude/context/memory/learnings.md

After completing:

  • New pattern -> .claude/context/memory/learnings.md
  • Issue found -> .claude/context/memory/issues.md
  • Decision made -> .claude/context/memory/decisions.md
ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.98%
按下载量换算105

Claude

26.88%
按下载量换算79

Cursor

19.14%
按下载量换算56

Gemini CLI

10.1%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills