Token导航 LogoToken导航

Agent Skill · 研究检索

spec-writer(规范编写者)

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

spec-writer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 61,604。

总安装 349周安装 14GitHub Stars 公开资料未说明下载 113核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add zpankz/mcp-skillset --skill "spec-writer"

这个 Skill 是做什么的

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

用于查找、检索和筛选相关信息。spec-writer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合在关键词搜索或任务场景中快速定位候选结果。可结合来源仓库和原始 README 核验具体用法。安装前建议确认权限范围和维护状态。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。注意是否会触发联网、命令执行或文件读写操作。

来源仓库内路径:skills/spec-writer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add zpankz/mcp-skillset --skill "spec-writer";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

spec-writer 怎么安装?

在终端执行 npx skills add zpankz/mcp-skillset --skill "spec-writer"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

spec-writer 支持哪些 AI 工具?

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

spec-writer 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

spec-writer 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

spec-writer 用的人多吗?

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

spec-writer 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
spec-writer

规范编写者 · 本页

349—调用外部服务MIT未收录

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

SKILL.md 原文

name
spec-writer
description
This skill should be used when writing technical specifications, architecture documents, or design proposals that require structured analysis, clear documentation, and actionable implementation plans.
license
Complete terms in LICENSE.txt

Specification Writer

This skill provides guidance for writing high-quality technical specifications that communicate complex systems, design decisions, and implementation strategies effectively.

Core Capabilities

This skill supports:

  1. System Architecture Specs - Document system design, component interactions, data flow
  2. Feature Specifications - Define requirements, user stories, acceptance criteria
  3. Technical Proposals - Present solutions, trade-offs, implementation strategies
  4. Design Documents - Capture design decisions, rationale, alternatives considered
  5. Process Documentation - Describe workflows, procedures, automation pipelines
  6. Mapping Specifications - Document conversion strategies between systems

When to Use This Skill

Use this skill when:

  • Writing architectural decision records (ADRs)
  • Creating system design documents
  • Proposing new features or enhancements
  • Documenting complex integrations or migrations
  • Explaining technical trade-offs to stakeholders
  • Creating implementation roadmaps
  • Mapping between different systems or frameworks

Specification Structure Template

Frontmatter (YAML/Metadata)

Every specification should begin with structured metadata:

---
title: Descriptive Title
version: 1.0.0
date: YYYY-MM-DD
status: draft | review | approved | deprecated
authors:
  - Name/Entity
categories:
  - category1
  - category2
related:
  - path/to/related/doc1
  - path/to/related/doc2
---

Purpose: Makes specs discoverable, trackable, and navigable.

Document Sections

1. Executive Summary

Length: 2-4 paragraphs Purpose: High-level overview for decision-makers

Include:

  • What is being proposed/documented
  • Why it matters (business/technical value)
  • Key outcomes or decisions
  • Critical success factors
2. Problem Statement / Context

Length: 1-3 sections Purpose: Establish shared understanding of the problem

Include:

  • Current state analysis
  • Pain points or limitations
  • User impact or business drivers
  • Constraints or requirements
3. Proposed Solution / Design

Length: Variable (main body of spec) Purpose: Detailed technical approach

Include:

  • High-level architecture diagram (mermaid/ASCII)
  • Component breakdown with responsibilities
  • Data flow and interactions
  • Key design decisions with rationale
  • Technology choices (with alternatives considered)
4. Implementation Plan

Length: 1-2 sections Purpose: Actionable roadmap

Include:

  • Phased approach (Phase 1, 2, 3...)
  • Dependencies and prerequisites
  • Timeline estimates
  • Risk mitigation strategies
  • Success metrics
5. Trade-offs and Limitations

Length: 1 section Purpose: Honest assessment of constraints

Include:

  • What this solution doesn't address
  • Known limitations or caveats
  • Performance/scalability considerations
  • Security implications
  • Cost analysis (time, resources, complexity)
6. Alternatives Considered

Length: 1 section Purpose: Show due diligence

Include:

  • Alternative approaches (2-3)
  • Why each was rejected
  • Comparative analysis when relevant
7. Open Questions / Future Work

Length: Short list Purpose: Surface unknowns and next steps

Include:

  • Unresolved technical questions
  • Areas requiring more research
  • Future enhancements out of scope
  • Follow-up specifications needed
8. References

Length: List Purpose: Citations and further reading

Include:

  • Related documentation
  • External resources
  • API documentation
  • Research papers or blog posts

Writing Style Guidelines

Use Imperative/Infinitive Form

Good: "To accomplish X, configure Y" Bad: "You should configure Y to accomplish X"

Good: "Process files in batches" Bad: "The system will process files in batches"

Rationale: Direct, action-oriented language is clearer for both humans and AI agents.

Be Specific and Concrete

Vague: "The system should be fast" Specific: "Process 1000 requests/sec with <100ms p99 latency"

Vague: "Use appropriate error handling" Specific: "Retry with exponential backoff (3 attempts, 2x multiplier)"

Show, Don't Just Tell

Include:

  • Code examples for key interfaces
  • Diagram for complex flows
  • Sample input/output for transformations
  • Before/after comparisons for changes

Layer Information Progressively

Structure from high-level to low-level:

  1. Abstract overview
  2. Component-level design
  3. Implementation details
  4. Edge cases and optimizations

Readers can stop at appropriate depth for their needs.

Diagrams and Visualizations

Mermaid Diagrams

Use mermaid for:

  • Flowcharts (graph TB)
  • Sequence diagrams (sequenceDiagram)
  • State machines (stateDiagram-v2)
  • Entity relationships (erDiagram)

Example:

graph TB
    A[Input] --> B{Validate?}
    B -->|Valid| C[Process]
    B -->|Invalid| D[Error]
    C --> E[Output]

ASCII Diagrams

Use for simple structures:

Input → [Validator] → [Processor] → [Storage]
            ↓              ↓
        [Logger]      [Metrics]

Architecture Patterns

Use standard patterns when applicable:

  • Pipes and Filters (Unix philosophy)
  • Event-Driven Architecture
  • Layered Architecture
  • Microservices
  • MVC/MVP/MVVM

Specification Types and Templates

1. System Architecture Spec

Focus on:

  • Component boundaries
  • Data flow and state management
  • API contracts
  • Scalability and performance
  • Failure modes and recovery

2. Feature Specification

Focus on:

  • User stories and use cases
  • Acceptance criteria
  • UI/UX considerations
  • API changes
  • Testing strategy

3. Migration/Mapping Spec

Focus on:

  • Current state → Target state
  • Conversion strategy (1:1, hybrid, workaround)
  • Fidelity assessment (what's preserved, what's lost)
  • Validation and testing
  • Rollback plan

4. Integration Spec

Focus on:

  • External systems and protocols
  • Authentication and authorization
  • Rate limiting and quotas
  • Error handling and retries
  • Monitoring and alerting

5. Process/Workflow Spec

Focus on:

  • Step-by-step procedures
  • Input/output for each step
  • Automation opportunities
  • Error recovery
  • Metrics and success criteria

Best Practices

1. Start with "Why"

Always explain the motivation before diving into "how". Readers need context to evaluate solutions.

2. Use Consistent Terminology

Define terms once, use consistently throughout. Create a glossary for complex domains.

3. Be Honest About Trade-offs

Every design has limitations. Acknowledging them builds credibility and helps stakeholders make informed decisions.

4. Include Success Metrics

Define measurable criteria for success:

  • Performance targets
  • Quality metrics
  • User satisfaction indicators
  • Business outcomes

5. Version and Date Specs

Technical decisions evolve. Timestamps and versions help readers understand when decisions were made and which is canonical.

6. Make Specs Searchable

Use:

  • Clear headings (H1, H2, H3)
  • Keywords in frontmatter
  • Descriptive filenames
  • Internal links for cross-references

7. Keep Specs Living Documents

Update specs when:

  • Implementation reveals new insights
  • Requirements change
  • Alternatives are discovered
  • Lessons are learned post-launch

Mark deprecated sections clearly.

Anti-Patterns to Avoid

❌ Vague Requirements

Bad: "The system should be secure and fast" Good: "Encrypt data at rest (AES-256) and in transit (TLS 1.3). Support 10k req/s with <200ms p95 latency."

❌ Implementation Without Rationale

Bad: "Use Redis for caching" Good: "Use Redis for caching because it provides atomic operations, pub/sub, and persistence options. Considered Memcached (faster but lacks persistence) and Hazelcast (better for distributed scenarios but adds complexity)."

❌ Assuming Knowledge

Bad: "Configure the usual K8s setup" Good: "Deploy as StatefulSet with 3 replicas, PersistentVolumeClaim per pod, headless service for DNS-based discovery."

❌ No Examples

Provide concrete examples for:

  • API requests/responses
  • Configuration files
  • Command-line usage
  • File formats

❌ Ignoring the Reader

Consider your audience:

  • Engineers: Need implementation details
  • Architects: Need system-level view
  • Product: Need feature/benefit explanation
  • Executives: Need ROI and timeline

Write sections for each or use progressive disclosure.

Templates

Quick Spec Template

---
title: [Feature/System Name]
version: 1.0.0
date: YYYY-MM-DD
status: draft
---

# [Title]

## Summary
[2-3 sentences: what, why, impact]

## Problem
[Current pain point or opportunity]

## Solution
[High-level approach]

## Implementation
1. Phase 1: [description]
2. Phase 2: [description]
3. Phase 3: [description]

## Trade-offs
- Pro: [benefit]
- Con: [limitation]

## Success Metrics
- Metric 1: [target]
- Metric 2: [target]

Architecture Spec Template

---
title: [System Name] Architecture
version: 1.0.0
date: YYYY-MM-DD
---

# [System Name] Architecture

## Overview
[2-3 paragraphs: purpose, scope, key components]

## Architecture Diagram
[mermaid or ASCII diagram]

## Components

### Component A
- **Responsibility**: [what it does]
- **Interface**: [API/contracts]
- **Dependencies**: [what it needs]

### Component B
[repeat structure]

## Data Flow
[Describe end-to-end flow]

## Key Design Decisions

### Decision 1: [title]
- **Context**: [why this decision needed]
- **Chosen**: [selected approach]
- **Alternatives**: [what was considered]
- **Rationale**: [why chosen over alternatives]

## Non-Functional Requirements
- **Performance**: [targets]
- **Scalability**: [growth plan]
- **Reliability**: [uptime, recovery]
- **Security**: [auth, encryption, compliance]

## Implementation Roadmap
[Phased plan with timeline]

## Risks and Mitigations
[Known risks with mitigation strategies]

Mapping Spec Template

---
title: [Source] → [Target] Mapping
version: 1.0.0
date: YYYY-MM-DD
---

# [Source] to [Target] Mapping Specification

## Executive Summary
[Viability, strategy, fidelity]

## Current State (Source)
[Structure, features, examples]

## Target State
[Target structure, constraints, capabilities]

## Mapping Strategy
[Direct, hybrid, workaround]

## Conversion Process

### Phase 1: [name]
[Steps, tools, validation]

### Phase 2: [name]
[Steps, tools, validation]

## Fidelity Analysis

### High Fidelity (>90%)
- Feature X maps directly
- Feature Y has equivalent

### Medium Fidelity (70-90%)
- Feature Z requires adaptation

### Low Fidelity (<70%)
- Feature W not supported

## Limitations
[What can't be mapped and why]

## Validation
[How to verify successful mapping]

## Automation
[Scripts, tools, continuous sync]

Examples

Example 1: Architecture Spec

See: specs/cursor-skills-mapping.md

  • Clear viability assessment
  • Detailed component mapping
  • Trade-offs documented
  • Implementation phases defined
  • Success metrics included

Example 2: Process Spec

See: specs/enhanced-skill-generator-pipeline.md

  • Unix philosophy applied
  • Atomic composability explained
  • Pipeline visualized with mermaid
  • Multiple usage examples provided
  • Success criteria enumerated

Example 3: Feature Spec

When documenting a new feature:

  1. User stories (what users want to do)
  2. Acceptance criteria (how to verify)
  3. API/interface changes
  4. Migration path for existing users
  5. Testing strategy

Integration with Skills

This skill complements:

  • architecture - For system design analysis
  • skill-creator - For skill specification documents
  • document-skills - For formatting and templates
  • mcp-builder - For MCP server specs

Validation Checklist

Before finalizing a spec, verify:

  • [ ] Frontmatter complete with title, version, date, status
  • [ ] Executive summary present (2-4 paragraphs)
  • [ ] Problem/context clearly stated
  • [ ] Solution explained with diagrams
  • [ ] Implementation plan with phases
  • [ ] Trade-offs and limitations documented
  • [ ] Alternatives considered section included
  • [ ] Success metrics defined
  • [ ] References provided
  • [ ] Consistent terminology throughout
  • [ ] Code examples for key interfaces
  • [ ] Diagrams for complex flows
  • [ ] Actionable for intended audience

References

Quick Reference

Command: Write clear, structured specifications Output: Actionable technical documentation Audience: Engineers, architects, stakeholders Format: Markdown with YAML frontmatter Tools: Diagrams (mermaid), examples, templates

平台分布

OpenCode

28.35%
按下载量换算32

Claude Code

22.19%
按下载量换算25

windsurf

15.48%
按下载量换算17

Codex

12.22%
按下载量换算14

kiro-cli

7.06%
按下载量换算8

mcpjam

3%
按下载量换算3

安全审计

暂无安全审计结果可展示。

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills