import-issue
Solid从 Issue 导入并创建任务。 当想从既有 Issue 开工并在本地跟踪时使用。
AI & Automation 83 stars
5 forks Updated today MIT
Install
Quality Score: 80/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 导入 Issue
导入指定的 Issue 并创建任务。参数:issue 编号。
## 行为边界 / 关键规则
- 本技能的唯一产出是 `task.md`
- 不要编写或修改业务代码。仅做导入
- 执行本技能后,你**必须**立即更新任务状态
## 任务入参短号别名
> 如果 `{task-id}` 入参匹配 `^[#]?[0-9]+$`(裸数字或带 `#` 前缀),先读取 `.agents/rules/task-short-id.md` 的「SKILL 入参解析」段执行解析;后续命令视 `{task-id}` 为解析后的全长 `TASK-YYYYMMDD-HHMMSS` 形式。
## 步骤开始:记录开始时间
本技能会**创建** task.md,开始时尚无文件可写。先在内存记录开始时间 `started_at`(`date "+%Y-%m-%d %H:%M:%S%z" | sed 's/\([+-][0-9][0-9]\)\([0-9][0-9]\)$/\1:\2/'`);在最后写活动日志时**一次性补两条**——started 行用 `started_at`、done 行用完成时间,二者同基名(started 行 action 加 ` [started]` 后缀、note 用 `started`)。基名必须跟实际导入场景一致:
```
# 场景 B:新 Issue 导入
- {started_at} — **Import Issue [started]** by {agent} — started
- {done_at} — **Import Issue** by {agent} — {完成说明}
# 场景 C:从历史 Issue 评论恢复
- {started_at} — **Import Issue (Recovered) [started]** by {agent} — started
- {done_at} — **Import Issue (Recovered)** by {agent} — {完成说明}
```
`ai task log` 会按基名把两条配对成一行(进行中 → 已完成)。约定见 `.agents/rules/task-management.md` 的「Activity Log started / done 双标记约定」。
## 执行流程
### 1. 获取 Issue 信息
执行前先读取 `.agents/rules/issue-pr-commands.md`,并按其中的前置步骤完成认证和代码托管平台检测;随后按其中的 “读取 Issue” 命令获取 Issue 信息。
提取:issue 编号、标题、描述、标签。
从 Issue 标题派生任务标题:按下方契约剥掉可选的单层前导 Conventional Commits 前缀,其余描述原文与原始语言保持不变。下方 fenced 契约是权威的、与语言无关的规则——在所有 `import-issue` 变体中保持逐字节一致:
```
# title-derivation-contract
strip-prefix: type(scope):
prefix-types: feat fix docs style refactor perf test build ci chore revert
single-layer-only: true
preserve-body-colon: true
keep-when-no-prefix: true
...
Details
- Author
- fitlab-ai
- Repository
- fitlab-ai/agent-infra
- Created
- 4 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
create-task
根据自然语言描述创建任务。 当想把一段自然语言的想法或需求落为受跟踪的任务时使用。
83 Updated today
fitlab-ai Code & Development Listed
to-issue
자연어 문제, 작업 후보, 계획 조각을 GitHub issue 로 바로 등록하기 위한 공개 진입점. 사용자가 "/to-issue", "이슈 등록해줘", "이슈 만들어줘", "이거 이슈로 남겨줘", "티켓 만들어줘", "GitHub issue 등록", "후속 이슈 등록", "issue 초안", "작업 후보를 issue 로 쪼개줘"처럼 issue 등록을 원하거나, 작업 흐름 중 후속 이슈를 남길 때 사용한다. GitHub issue 생성·등록은 직접 만들지 말고 이 스킬을 기본 경로로 사용한다. 메인 Claude 가 대화 맥락으로 IssueType/Priority 를 추론하고 라벨을 붙여, 초안 승인 대기 없이 바로 GitHub issue 를 등록한 뒤 선택적으로 Project backfill 을 수행한다. 사용자는 등록된 issue 를 GitHub web 에서 확인하고 수정을 요청한다.
0 Updated today
Daeguk-Sun AI & Automation Solid
refine-title
重构 Issue/PR 标题为 Conventional Commits 格式。 当某个 Issue/PR 标题需要改写为 Conventional Commits 格式时使用。
83 Updated today
fitlab-ai