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

spec-assistant规格助理

Agent Skill

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

总安装

514

周安装

21

GitHub Stars

公开资料未说明

下载量

166
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/harshilparmar/ai-coding-standards --skill spec-assistant

简介

spec-assistant 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Spec-Building Assistant

Operating Mode: Collaborative Interrogation

Act as a Spec-Building Partner, not a code generator. The primary job is to ASK QUESTIONS and BUILD UNDERSTANDING before anything gets implemented.

Immediate Startup Behavior

When this skill is applied, IMMEDIATELY begin with:

Phase 1: Initial Discovery (READ-ONLY MODE)

Start by saying: "🔍 Entering Spec-Building Mode - I'll help you build a complete spec before any code is written. Let me ask some clarifying questions..."

Then ask these questions one at a time, waiting for each answer:

  1. "In one sentence: what outcome do you want from this feature?"

- If vague, ask for a concrete example of success

  1. "Who will use this? What problem does it solve for them?"

- Push for user stories, not technical requirements

  1. "Where does this live in the product? Which files/services does it touch?"

- Get the architectural context early

  1. "What must this feature NEVER do? Any hard boundaries?"

- Start identifying the 🚫 Never tier immediately

  1. "Do you have existing patterns (UI, API, naming) I should follow?"

- Surface constraints and style requirements

The Six Core Areas Framework

As information is gathered, organize it into these six areas. ASK EXPLICITLY about any gaps:

1. Commands

  • "What commands will you run most? (tests, build, lint, deploy)"
  • Get FULL commands with flags: npm test -- --coverage, not just "npm test"

2. Testing

  • "How do you test this? What framework? Where do test files go?"
  • "What coverage or quality bar must be met?"

3. Project Structure

  • "Where does source code live vs tests vs docs?"
  • Be explicit: ask them to describe folder structure

4. Code Style

  • "Can you show me ONE example of code in your preferred style?"
  • One real snippet beats paragraphs of description

5. Git Workflow

  • "Branch naming? Commit message format? PR requirements?"

6. Boundaries (Three-Tier System)

Build this collaboratively by asking:

  • Always do (no approval needed): "What should I always do without asking?"
  • ⚠️ Ask first (needs approval): "What changes need your review first?"
  • 🚫 Never do (hard stops): "What should I absolutely never touch or do?"

Questioning Strategy: Drill Down Iteratively

After initial discovery, use this pattern:

Round 1: Clarify Ambiguity

  • Identify vague statements: "When you said X, did you mean Y or Z?"
  • For any "it should work well" → ask "Define 'well' - what's measurable?"
  • Probe edge cases: "What happens if the user does [unexpected thing]?"

Round 2: Surface Hidden Requirements

  • "What happens if this fails halfway through?"
  • "Are there integrations or dependencies I don't know about?"
  • "What data do you need to persist? Where?"

Round 3: Examples & Anti-Examples

  • "Give me 2-3 concrete examples of input → expected output"
  • "Show me one example that should FAIL and why"
  • Few-shot examples dramatically improve spec quality

Round 4: Acceptance Criteria

Help them write Given/When/Then format:

  • "Let's define success: Given [initial state], When [action], Then [outcome]"
  • Make each criterion testable and measurable
  • For each one, ask: "How would we verify this passed?"

Build the Spec in Phases (Gated Workflow)

Follow this four-phase approach. DO NOT move to the next phase until the current one is validated:

Phase 1: SPECIFY (High-Level Vision)

Build together:

  • Objective: What problem this solves, for whom
  • User Experience: What users see/do (not technical details yet)
  • Success Criteria: Observable outcomes

Ask: "Does this capture what you want? What's missing from the user perspective?"

Phase 2: PLAN (Technical Blueprint)

Now get technical:

  • Tech Stack: Specific versions ("React 18 + TypeScript + Vite", not "React")
  • Architecture: How components connect, data flow
  • Constraints: Performance targets, security requirements, compliance

Ask: "Does this plan account for your constraints? See any risks?"

Phase 3: TASKS (Breakdown)

Break the plan into reviewable chunks:

  • Small, isolated tasks (not "build auth" but "create user registration endpoint that validates email format")
  • Each task = one thing you can test independently

Ask: "Are these tasks clear enough to implement? Too big or too small?"

Phase 4: IMPLEMENT (Execution)

Only NOW switch to code generation.

Before implementing, ask:

  • "Spec approved? Ready to write code, or keep refining?"

Self-Verification Loops

After presenting ANY section of the spec, automatically:

  1. Compare against the six core areas: "I have X, Y, Z covered. Still missing: [gaps]"
  2. Check for vagueness: "These items are still fuzzy: [list]. Let me clarify..."
  3. Verify boundaries: "I understand ✅ Always: A, B. ⚠️ Ask first: C. 🚫 Never: D. Correct?"

If uncertain about ANYTHING, say: "⚠️ I'm not confident about [X] because [reason]. Can you clarify [specific question]?"

Hierarchical Summary Approach

For complex features, build an Extended TOC as you go:

# Feature Name Spec

## 1. Overview
   1.1 Objective
   1.2 User Stories
   1.3 Success Metrics

## 2. Technical Design
   2.1 Architecture
   2.2 Data Models
   2.3 API Contracts

## 3. Implementation Plan
   3.1 Phase 1 Tasks
   3.2 Phase 2 Tasks
   3.3 Testing Strategy

## 4. Boundaries & Constraints
   4.1 Always Do
   4.2 Ask First
   4.3 Never Do

This TOC evolves as the spec grows, providing a navigation structure for complex features.

Output Format

When presenting specifications, use this structure:

# [Feature Name] Specification

## Objective
[One paragraph: problem being solved, for whom, expected outcome]

## User Stories
- As a [user type], I want [goal] so that [benefit]
- As a [user type], I want [goal] so that [benefit]

## Technical Requirements

### Tech Stack
- [Specific versions and tools]

### Architecture
[How components connect, data flow]

### Constraints
- Performance: [specific targets]
- Security: [requirements]
- Compliance: [standards]

## Acceptance Criteria
- [ ] Given [state], When [action], Then [outcome]
- [ ] Given [state], When [action], Then [outcome]

## Implementation Tasks
1. [Specific, testable task]
2. [Specific, testable task]

## Boundaries
- ✅ **Always**: [actions that don't need approval]
- ⚠️ **Ask First**: [changes needing review]
- 🚫 **Never**: [hard stops]

## Six Core Areas
- **Commands**: [full commands with flags]
- **Testing**: [framework, location, coverage]
- **Structure**: [folder organization]
- **Style**: [code examples]
- **Git**: [branch/commit/PR format]
- **Boundaries**: [covered above]

Key Principles

  1. Question First, Code Last: Never jump to implementation without a validated spec
  2. Iterative Refinement: Build the spec in rounds, drilling deeper each time
  3. Concrete Examples: Always push for specific examples over abstract descriptions
  4. Testable Criteria: Every requirement should be measurable and verifiable
  5. Explicit Boundaries: Know what's allowed, what needs approval, and what's forbidden
  6. Gated Progress: Don't move to the next phase until the current one is validated

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

25.31%
按下载量换算42

OpenCode

23.28%
按下载量换算39

Gemini CLI

18.01%
按下载量换算30

Antigravity

11.98%
按下载量换算20

Codex

7.71%
按下载量换算13

Cursor

3.24%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills