Add issue skill and Codex slash aliases

This commit is contained in:
zfc
2026-03-11 16:14:08 +08:00
parent 6da34c4869
commit 1c89cf94c6
7 changed files with 517 additions and 6 deletions
+31 -1
View File
@@ -7,7 +7,7 @@
| 平台 | 安装目录 | 触发方式 |
|------|----------|----------|
| Claude Code | `.claude/skills/` | `/rr``/wp``/go` 这类 slash commands |
| Codex | `.codex/skills/` | `$rr``$wp`,或直接自然语言说明“用 rr skill 评审需求文档” |
| Codex | `.codex/skills/` | `/rr``$rr`,或直接自然语言说明“用 rr skill 评审需求文档” |
> Codex 额外需要项目根目录存在 `AGENTS.md`。本仓库已提供 `AGENTS.md.template`,安装脚本在 Codex 模式下会自动生成。
@@ -47,6 +47,7 @@ RequirementsDoc ──▶ PRD ──▶ FeatureSummary ──▶ DevelopmentPlan
| | `doc` | `/doc` | `$doc` | 渐进式文档生成器,先写梗概再迭代完善 |
| | `update` | `/up` | `$update``$up` | Skill 升级优化 |
| | `deploy` | `/deploy` | `$deploy` | Drone CI/CD 全流程部署引导 |
| | `issue` | `/issue` | `/issue``$issue` | 通用 Gitea issue 查询(列表 + 单条详情) |
| | `changelog` | `/changelog` | `$changelog` | 一键发版(日志 + commit + tag |
## 安装 & 更新
@@ -143,6 +144,35 @@ $go
请用 wf skill 根据 PRD 生成 FeatureSummary
请用 go skill 按 doc/tasks.md 执行未完成任务
请用 doc skill 为认证模块写一份 300 字以内的使用说明
请用 issue skill 查看 https://git.example.com/owner/repo 的 open issues
```
### 查询 Gitea Issues
先配置:
```bash
export GITEA_TOKEN=your_gitea_token
```
Claude Code:
```bash
/issue https://git.example.com/owner/repo
/issue https://git.example.com/owner/repo --state=all --limit=20
/issue https://git.example.com/owner/repo 7
```
Codex:
```text
/issue https://git.example.com/owner/repo
/issue https://git.example.com/owner/repo --state=all --limit=20
/issue https://git.example.com/owner/repo 7
$issue https://git.example.com/owner/repo
$issue https://git.example.com/owner/repo --state=all --limit=20
$issue https://git.example.com/owner/repo 7
```
### 工作流总览