with one click
skill-authoring
Skill 编写规范与最佳实践。触发词:/skill-authoring、编写 skill、创建技能
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Skill 编写规范与最佳实践。触发词:/skill-authoring、编写 skill、创建技能
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Technology scouting and evaluation for tools, frameworks, libraries, and technical approaches. Use when users need to evaluate technology options, compare frameworks, assess technical feasibility, scout emerging technologies, or make build-vs-buy decisions. Produces structured comparison matrices with objective criteria scoring.
使用 Semantic Scholar API 检索和验证学术论文。支持并发多关键词搜索、批量 ID/DOI 查询、引用分析、批量补全摘要、统一 Markdown 导出。覆盖 2.14 亿+ 学术论文,无需 API Key 即可使用。触发词:论文检索、论文验证、Semantic Scholar、S2 搜索、查论文、补全摘要、导出MD
中文/英文写作风格迁移与错误记忆工作流。适用于论文、学位论文、报告等场景,提供 style profile、error log、长期记忆与多智能体写作闭环。
Use when user sends /skill复盘 or /迭代清单, or asks to review skill usage and iteration suggestions from the current conversation.
汇总所有 Claude Code Skills 的目录与使用指南,支持检查 GitHub 更新。触发词:/skills、技能目录、skill列表、有哪些技能、检查更新
[由 collaborating-hub 路由] Codex CLI 后端实现。直接使用请通过 /collab 或 /codex 触发 collaborating-hub。
| name | skill-authoring |
| description | Skill 编写规范与最佳实践。触发词:/skill-authoring、编写 skill、创建技能 |
| 原则 | 说明 |
|---|---|
| 脚本优先 | 功能实现用脚本(sh/python),非内联代码 |
| 可执行性 | Skill 必须可直接执行 |
| 可测试性 | 每个脚本可独立运行验证 |
| 可维护性 | 脚本与文档分离 |
| 优先级 | 方式 | 场景 |
|---|---|---|
| 1 | Bash (.sh) | 系统操作、API 调用、流程自动化 |
| 2 | Python (.py) | 复杂逻辑、数据处理、第三方库 |
| 3 | 内联代码 | 仅当逻辑极简且不可复用 |
skill-name/
├── skill.md # 触发词、工作流程、使用说明
├── scripts/ # 脚本目录
│ ├── main.sh # 主脚本
│ └── helper.py # 辅助脚本
└── templates/ # 模板文件(可选)
#!/bin/bash
# ============================================================
# skill-name: 功能描述
# ============================================================
set -e # 遇错即停
# ==================== 配置 ====================
CONFIG_VAR="value"
# ==================== 工具函数 ====================
check_dependencies() {
command -v jq >/dev/null || { echo "需要 jq"; exit 1; }
}
# ==================== 主逻辑 ====================
main() {
check_dependencies
# 业务逻辑
}
main "$@"
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""skill-name: 功能描述"""
import sys
from pathlib import Path
def main():
pass
if __name__ == "__main__":
main()
---
name: skill-name
description: "触发条件。触发词:/xxx、关键词"
---
# Skill 名称
简要说明。
## 触发方式
- `/command`
- 「自然语言触发词」
## 执行
\`\`\`bash
bash ~/.claude/skills/skill-name/scripts/main.sh [args]
\`\`\`
## 功能
| 功能 | 说明 |
|------|------|
## 输出示例
\`\`\`
示例输出
\`\`\`
需要实现功能?
│
▼
可用 shell 命令组合? ─是→ Bash 脚本
│
否
▼
需要复杂数据处理? ─是→ Python 脚本
│
否
▼
内联代码
chmod +x script.sh#!/bin/bash 或 #!/usr/bin/env python3https_proxy 环境变量set -e 或 try-except