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

spec-writing规范编写

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

558

周安装

23

GitHub Stars

2,127

下载量

182
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill spec-writing

简介

spec-writing 辅助文档与规范编写,提升技术说明的结构清晰度。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中整理需求或接口定义。
  • 通过 GitHub 安装,使用时需保留原有事实与路径信息。
  • 涉及对外发布内容时应避免夸大表述,保持客观准确。
  • 建议结合项目现有文档风格进行适配,防止格式冲突。

SKILL.md

Spec Writing

Overview

Spec Writing provides guidance on authoring effective specs.md files that drive the Sprint plugin's autonomous development workflow. A well-written specification determines the quality of agent output by clearly defining goals, scope boundaries, and testing requirements.

Prerequisites

  • Sprint plugin installed (/plugin install sprint)
  • Project onboarding completed via /sprint:setup (creates project-goals.md and project-map.md)
  • Sprint directory created via /sprint:new (generates .claude/sprint/[N]/specs.md)
  • Understanding of the sprint phase lifecycle (see the sprint-workflow skill)

Instructions

  1. Open the generated specs.md file at .claude/sprint/[N]/specs.md and define a concise goal statement at the top. State what the sprint delivers in one sentence (e.g., "Add user authentication with email/password login").
  2. Define explicit scope boundaries using In Scope and Out of Scope sections. List specific features, endpoints, or components in each. Agents only implement what appears in scope; ambiguity leads to drift.
  3. Add the Testing section to control which testing agents run and how. Configure three settings as documented in ${CLAUDE_SKILL_DIR}/references/testing-configuration.md:

- QA: required | optional | skip -- Controls API and unit test execution - UI Testing: required | optional | skip -- Controls browser-based E2E tests - UI Testing Mode: automated | manual -- Auto-run or user-driven testing

  1. Set QA to required for new API endpoints, business logic changes, and data validation rules. Set QA to skip for frontend-only changes, documentation updates, or configuration changes.
  2. Set UI Testing to required for user-facing features, form submissions, and navigation flows. Choose automated mode for regression testing and standard CRUD flows; choose manual mode for complex interactions, visual verification, or exploratory testing.
  3. Keep specifications minimal but precise. The architect expands high-level specs into detailed implementation files (backend-specs.md, frontend-specs.md, api-contract.md). Over-specifying implementation details in specs.md constrains the architect unnecessarily.
  4. For iterative sprints, review status.md from the previous iteration. Remove completed items from specs and add any new requirements or bug fixes discovered during testing.

Output

  • A complete specs.md file with goal, scope (in/out), and testing configuration
  • Clear scope boundaries that prevent agent drift during implementation
  • Testing configuration that selects appropriate QA and UI testing agents
  • Iteratively refined specs where completed work is removed and remaining work is focused

Error Handling

ErrorCauseSolution
Agents implement unintended featuresMissing "Out of Scope" sectionExplicitly list features excluded from this sprint
Tests not running during sprintTesting section omitted or set to skipAdd QA: required and UI Testing: required to the Testing section
Sprint iterates without convergingSpecs too broad for a single sprintBreak into smaller sprints targeting one domain boundary each
Architect produces conflicting spec filesAmbiguous or contradictory requirements in specs.mdReview for conflicting statements; each requirement should have a single interpretation
Manual tests not triggeredUI Testing Mode set to automatedChange to manual for scenarios requiring visual verification or exploratory testing

Examples

Minimal but effective spec:

# Sprint 1: User Authentication

## Goal
Add user authentication with email/password login

## Scope
### In Scope
- Registration endpoint (POST /auth/register)
- Login endpoint (POST /auth/login)
- JWT token generation and validation
- Password hashing with bcrypt

### Out of Scope
- OAuth providers (Google, GitHub)
- Password reset flow
- Email verification

## Testing
- QA: required
- UI Testing: required
- UI Testing Mode: automated

Frontend-only sprint (no QA needed):

# Sprint 3: Dashboard Redesign

## Goal
Redesign the admin dashboard with responsive layout

## Scope
### In Scope
- Responsive grid layout for dashboard widgets
- Dark mode toggle
- Mobile navigation drawer

### Out of Scope
- New API endpoints
- Database changes
- Authentication changes

## Testing
- QA: skip
- UI Testing: required
- UI Testing Mode: manual

Resources

  • ${CLAUDE_SKILL_DIR}/references/testing-configuration.md -- Testing section options with guidance on when to use each setting
  • Sprint workflow skill for understanding how specs feed into the phase lifecycle
  • API contract skill for designing endpoint contracts referenced by specs

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.15%
按下载量换算69

Claude

30.21%
按下载量换算55

Cursor

19.97%
按下载量换算36

Gemini CLI

8.73%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills