Agent Skills
› open-mercato/open-mercato
› om-prepare-issue
om-prepare-issue
GitHub扩展Issue准备流程,支持企业级规范编写、跨目录重复检查及关联经验记录。明确实施与自动修复的触发路径,确保规范合并后执行后续开发任务。
Trigger Scenarios
需要创建或更新功能规格说明时
用户提及om-implement-spec或om-auto-fix-issue时
Install
npx skills add open-mercato/open-mercato --skill om-prepare-issue -g -y
SKILL.md
Frontmatter
{
"name": "om-prepare-issue",
"description": "Open Mercato repo-local extension of the shared `om-prepare-issue` skill (installed from open-mercato\/skills into .agents\/skills\/). Adds the --enterprise spec scope, duplicate-spec checks across both spec trees, and the om-implement-spec\/om-auto-fix-issue pickup path."
}
Prepare Issue — Open Mercato extension
This file extends the shared om-prepare-issue skill from open-mercato/skills (installed at .agents/skills/om-prepare-issue/SKILL.md). Follow the shared workflow with these repo specifics:
--enterprise(optional argument): write the spec under.ai/specs/enterprise/(commercial scope) instead of the default.ai/specs/; the spec PR then also carries theenterprisecategory label.- Duplicate check: before writing, check both
.ai/specs/and.ai/specs/enterprise/for an existing spec covering the same area — extend or supersede instead of duplicating, confirming direction with the user. Scan.ai/lessons.mdby the task's module/area/topic tags and open only matching lesson records. - Spec methodology: the repo-local
om-spec-writingskill (.ai/skills/om-spec-writing/SKILL.md) applies in full, including the compliance-review gate and OM spec template. - Tracking issue: state the pickup path —
/om-implement-specfor the spec implementation (or/om-auto-fix-issuefor a scoped bug), actionable only after the spec PR is merged intodevelop.
Version History
-
8b49232
Current 2026-08-27 19:05
更新重复性检查逻辑:从扫描已知陷阱改为匹配任务标签并打开对应Lesson记录。
- c915d76 2026-07-24 20:43


