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

dev-specs开发规格

Agent Skill

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

总安装

210

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/codihaus/claude-skills --skill dev-specs

简介

公制

  • 计数
  • 总用例
  • {n}
  • 新文件
  • {n}
  • 修改文件
  • {n}
  • 测试
  • {n}
  • 注释
  • {任何实施说明、风险、注意事项}
  • ### 第 6 阶段:总结
  • 输出:
  • - 创建规格
  • - 涵盖的用例
  • - 将会改变的文件
  • - 确定依赖关系
  • - 后续步骤
  • ## 使用的工具
  • |工具|目的|
  • |------|---------|
  • | `阅读` | BRD、侦察、输入文件 |
  • | `全球` |查找相关文件 |
  • | `写` |创建规格文件 |
  • | `询问用户问题` |明确范围 |
  • | `WebFetch` |获取外部文档(如果是 URL)|
  • ## 与其他技能的整合
  • |技能|关系 |
  • |--------|--------------|
  • | `/汇报` |提供用例(输入)|
  • | `/dev-scout` |提供代码库上下文(输入)|
  • | `/图` |可以验证美人鱼的规格|
  • ## 提示
  • - 首先运行“/dev-scout {feature}”以获得更好的上下文
  • - 提供 API 规范(如果可用)以实现准确的合同
  • - 保持每个 UC 规范的重点 - 每个 UC 一份工作
  • - 估计值留空供团队填写
  • ## 参考文献
  • - `references/spec-templates.md` - 模板结构
  • - `references/checklist.md` - 规范完整性检查表
  • 每周安装量
  • 9
  • 存储库
  • 科迪豪斯/克劳德-技能
  • 第一次看到
  • 2天前
  • 安全审计
  • Gen Agent Trust Hub 通行证
  • 套接字通行证
  • 斯尼克通行证

SKILL.md

/dev-specs - Implementation Specifications

Skill Awareness: See skills/_registry.md for all available skills. - Before: Ensure /debrief completed (BRD exists) - Auto: Runs /dev-scout if scout.md missing - After: Use /dev-coding for implementation

Generate precise implementation plans from BRD use cases. Creates per-UC specs with shared components.

When to Use

  • After /debrief created BRD use cases
  • After /dev-scout {feature} analyzed codebase
  • Before starting implementation
  • When onboarding engineers to a feature

Usage

/dev-specs auth                              # Generate specs for auth feature
/dev-specs auth UC-AUTH-001                  # Single use case only
/dev-specs billing --api=swagger.json        # With API spec file
/dev-specs payments --schema=schema.prisma   # With DB schema

Prerequisites

Before running, ensure:

  1. plans/brd/ exists with use cases
  2. plans/features/{feature}/ exists

Note: Scout is auto-triggered if missing (see Phase 0).

Input Files

The skill can accept additional context files:

InputFlagPurpose
API Spec--api=OpenAPI, Swagger, GraphQL schema
DB Schema--schema=Prisma, SQL, TypeORM entities
Design--design=Figma link, screenshots path
Docs--docs=External docs, wikis, READMEs
Env--env=Credentials for live API testing

Output Structure

plans/features/{feature}/
├── README.md              # Feature overview
├── scout.md               # From /dev-scout
│
└── specs/
    ├── README.md          # Index, implementation order, dependencies
    │
    ├── shared/            # Shared across all UCs
    │   ├── data-model.md  # Schema changes, entities
    │   ├── patterns.md    # Code patterns, conventions
    │   └── security.md    # Auth, validation, permissions
    │
    ├── UC-XXX-001-{slug}/ # Per use case
    │   ├── README.md      # Implementation plan
    │   ├── changes.md     # Files to create/modify
    │   └── tests.md       # Test cases
    │
    └── UC-XXX-002-{slug}/
        └── ...

Workflow

Phase 0: Check Dependencies & Graph Context

Before generating specs, verify prerequisites and gather context:

1. Check: plans/brd/ exists?
   → No: Error "Run /debrief first"

2. Check: plans/features/{feature}/ exists?
   → No: Error "Feature not found in BRD"

3. Check: plans/features/{feature}/scout.md exists?
   → No: Auto-run scout (see below)

4. Read: plans/docs-graph.json
   → Get related nodes and dependencies

Auto-Scout Logic:

If scout.md doesn't exist:

  1. Notify user: "No scout found for {feature}, running analysis..."
  2. Execute scout workflow (medium mode) for the feature
  3. Save to plans/features/{feature}/scout.md
  4. Continue to Phase 1

Docs-Graph Integration:

Read plans/docs-graph.json to understand:

What to FindHow It Helps
Use cases for featureKnow exactly which UCs to spec ([[uc-auth-001]])
Existing specsAvoid duplicates, find patterns
DependenciesUCs that link to each other need coordinated specs
Related featuresCross-feature impacts ([[feature-billing]] links)

Example graph query for /dev-specs auth:

{
  "feature": "auth",
  "use_cases": ["uc-auth-001", "uc-auth-002", "uc-auth-003"],
  "existing_specs": [],
  "dependencies": {
    "uc-auth-002": ["uc-auth-001"],  // Signup depends on Login
    "uc-auth-003": ["uc-auth-001"]   // Forgot depends on Login
  },
  "cross_feature": ["feature-billing"]  // Auth linked from billing
}

This informs:

  • Implementation order (Login first, then Signup/Forgot)
  • Shared components (auth patterns used by billing)
  • What specs are already done vs. needed

Phase 1: Gather Context

  1. Read BRD use cases for the feature

- plans/brd/use-cases/UC-{GROUP}-*.md - Extract acceptance criteria, business rules

  1. Read feature scout (if exists)

- plans/features/{feature}/scout.md - Understand existing implementation

  1. Read additional inputs (if provided)

- API specs → Extract endpoints, contracts - DB schema → Understand data model - Design docs → UI requirements

  1. Ask clarifying questions using AskUserQuestion:

Q1: Implementation Scope

  • Backend only
  • Frontend only
  • Full-stack
  • API/Service only
  • Mobile app

Q2: Additional Context (multi-select)

  • Have API specs (Swagger/OpenAPI/GraphQL)
  • Have DB schema file
  • Have design files/links
  • Have existing documentation
  • None

Q3: Testing Approach

  • Unit tests only
  • Unit + Integration
  • Unit + Integration + E2E
  • No tests (docs only)

Phase 2: Analyze Impact

For each use case:

  1. What's new? - Files/components to create
  2. What changes? - Existing files to modify
  3. What's shared? - Reusable across UCs
  4. Dependencies? - What must exist first

Create impact summary:

## Impact Analysis

| UC | New Files | Modified | Dependencies |
|----|-----------|----------|--------------|
| UC-AUTH-001 | 5 | 2 | shared/data-model |
| UC-AUTH-002 | 3 | 1 | UC-AUTH-001 |

Phase 3: Generate Shared Specs

Create specs/shared/ files:

data-model.md:

# Data Model

## New Entities

### User
| Field | Type | Notes |
|-------|------|-------|
| id | uuid | PK |
| email | string | Unique |
| passwordHash | string | bcrypt |

## Schema Changes

-- Migration: add_users_table CREATE TABLE users ( id UUID PRIMARY KEY, email VARCHAR(255) UNIQUE NOT NULL, ... );


## Relationships

{Describe entity relationships}

patterns.md:

# Implementation Patterns

## Code Style
- Follow existing patterns from scout
- {Specific conventions}

## Error Handling
- {How to handle errors}
- {User feedback patterns}

## API Patterns (if applicable)
- {Request/response format}
- {Authentication headers}

## State Management (if applicable)
- {State patterns}
- {Data fetching}

security.md:

# Security Considerations

## Authentication
- {How auth works}

## Authorization
- {Permission model}

## Data Validation
- {Input validation rules}

## Sensitive Data
- {What to protect, how}

Phase 4: Generate UC Specs

For each use case, create folder with:

README.md (Implementation Plan):

# UC-{GROUP}-{NNN}: {Title}

> **Feature**: [[feature-{feature}]]
> **BRD**: [[uc-{group}-{nnn}]]
> **Status**: Draft

## Overview
{What this UC implements}

## Business Requirements
{From BRD - acceptance criteria}

## Current State
{From scout - what exists}

## Implementation Plan

### 1. {Step 1}
- {Detail}
- {Detail}

### 2. {Step 2}
- {Detail}

## API Contract (if applicable)

### {Method} {Endpoint}

**Request:**

{ "field": "type" }


**Response:**

{ "field": "type" }


**Errors:**

| Code | Reason |
| --- | --- |
| 400 | Invalid input |
| 401 | Unauthorized |

## UI Components (if applicable)

| Component | Purpose | Props |
| --- | --- | --- |
| {Name} | {Purpose} | {Key props} |

## Edge Cases

- {Edge case 1}
- {Edge case 2}

## Dependencies

- {What must exist first}

## Acceptance Mapping

| BRD Criteria | Implementation |
| --- | --- |
| Given X, When Y, Then Z | {How implemented} |

changes.md:

# File Changes

## New Files

| File | Purpose |
|------|---------|
| `src/api/auth/login.ts` | Login endpoint |
| `src/components/LoginForm.tsx` | Login form UI |

## Modified Files

| File | Change |
|------|--------|
| `src/lib/auth.ts` | Add login function |
| `prisma/schema.prisma` | Add User model |

## File Tree Preview

src/ ├── api/ │ └── auth/ │ └── login.ts # NEW ├── components/ │ └── auth/ │ └── LoginForm.tsx # NEW └── lib/ └── auth.ts # MODIFIED

tests.md:

# Test Plan

## Unit Tests

| Test | File | Description |
|------|------|-------------|
| Login validation | `login.test.ts` | Validate email/password |
| Token generation | `auth.test.ts` | JWT token creation |

## Integration Tests

| Test | Description |
|------|-------------|
| Login flow | POST /api/auth/login with valid creds |
| Invalid login | POST /api/auth/login with wrong password |

## E2E Tests (if applicable)

| Scenario | Steps |
|----------|-------|
| User login | Navigate to /login, enter creds, verify redirect |

## Test Data

{ "validUser": { "email": "test@example.com", "password": "TestPass123!" } }


## Coverage Target

- Unit: 80%+
- Integration: Key paths
- E2E: Happy path + critical errors

Phase 5: Generate Specs Index

Create specs/README.md:

# {Feature} - Implementation Specs

> **Feature**: [[feature-{feature}]]
> **Generated**: {date}
> **Use Cases**: {count}

## Overview
{Brief description of the feature implementation}

## Implementation Order

| Order | UC | Title | Depends On | Estimate |
|-------|-----|-------|------------|----------|
| 1 | [[uc-auth-001]] | Login | shared/* | - |
| 2 | [[uc-auth-002]] | Signup | [[uc-auth-001]] | - |
| 3 | [[uc-auth-003]] | Forgot Password | [[uc-auth-001]] | - |

## Shared Specs
- [Data Model](./shared/data-model.md)
- [Patterns](./shared/patterns.md)
- [Security](./shared/security.md)

## Dependencies Graph

flowchart TD shared[shared/*] --> UC001[UC-AUTH-001] UC001 --> UC002[UC-AUTH-002] UC001 --> UC003[UC-AUTH-003]


## Summary

| Metric | Count |
| --- | --- |
| Total Use Cases | {n} |
| New Files | {n} |
| Modified Files | {n} |
| Tests | {n} |

## Notes

{Any implementation notes, risks, considerations}

Phase 6: Summary

Output:

  • Specs created
  • Use cases covered
  • Files that will change
  • Dependencies identified
  • Next steps

Tools Used

ToolPurpose
ReadBRD, scout, input files
GlobFind related files
WriteCreate spec files
AskUserQuestionClarify scope
WebFetchFetch external docs (if URL)

Integration with Other Skills

SkillRelationship
/debriefProvides use cases (input)
/dev-scoutProvides codebase context (input)
/diagramCan validate mermaid in specs

Tips

  • Run /dev-scout {feature} first for better context
  • Provide API specs when available for accurate contracts
  • Keep each UC spec focused - one job per UC
  • Estimates are left blank for team to fill

References

  • references/spec-templates.md - Template structures
  • references/checklist.md - Spec completeness checklist

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.71%
按下载量换算25

Claude

33.49%
按下载量换算24

Cursor

17.16%
按下载量换算13

Gemini CLI

9.15%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills