用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Arete-Consortium/ai-skills --skill spec命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | spec |
| description | Technical Specification Writer |
| lifecycle | experimental |
Write technical specifications from requirements.
/spec <feature description>
/spec --template api # Use API spec template
/spec --template feature # Use feature spec template
# Technical Specification: [Feature Name]
## Status
- **Author**: [name]
- **Status**: Draft | Review | Approved
- **Last Updated**: [date]
## Summary
One paragraph describing what this feature does and why.
## Goals
- Goal 1
- Goal 2
## Non-Goals
- Explicitly out of scope item
## Background
Context needed to understand this feature.
## Design
### Architecture
How this fits into the existing system.
### Data Model
```python
@dataclass
class NewEntity:
id: str
name: str
created_at: datetime
def new_function(param: str) -> Result:
"""
Args:
param: Description
Returns:
Result object
Raises:
ValueError: When param is invalid
"""
| Error | Cause | Response |
|---|---|---|
| ValidationError | Invalid input | 400 + message |
## Instructions for Claude
When /spec is invoked:
1. **Clarify requirements** - Ask questions before writing
2. **Research existing code** - Understand patterns and conventions
3. **Be specific** - Include actual function signatures, data structures
4. **Consider edge cases** - Error handling, validation, limits
5. **Security first** - Always include security considerations
6. **Keep actionable** - Spec should be directly implementable