Hatch3r Issue Workflow 标志

Hatch3r Issue Workflow

组织
hatch3r
hatch3r-issue-workflow

Guides the 8-step agentic development workflow for issues/work items. Covers parsing issues, loading skills, reading specs, planning, implementing, testing, opening PRs/MRs, and addressing review. Use when working on any issue/work item or when the user mentions an issue number.

概览

发布者hatch3r
代码仓库hatch3r
技能名称hatch3r-issue-workflow
星标数
26
复刻数
7
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 hatch3r 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Hatch3r Issue Workflow AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-issue-workflow
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/skills/hatch3r-issue-workflow .claude/skills/hatch3r-issue-workflow
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Hatch3r Issue Workflow,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Hatch3r Issue Workflow。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Hatch3r Issue Workflow 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Issue Workflow

Quick Start

When assigned an issue or work item (GitHub Issue, Azure DevOps Work Item, or GitLab Issue — check platform in .hatch3r/hatch.json), follow these 8 steps in order:

Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Parse the issue
- [ ] Step 2: Load the issue-type skill
- [ ] Step 3: Read relevant specs
- [ ] Step 4: Produce a plan
- [ ] Step 5: Implement
- [ ] Step 6: Test
- [ ] Step 6b: Browser verification (if UI)
- [ ] Step 7: Open PR
- [ ] Step 8: Address review

Step 0 — Detect Ambiguity (P8 B1)

Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. This upgrades the existing Escalation block from exception to default. Triggers for THIS skill: issue type unclear (bug vs feature vs refactor), acceptance criteria missing or contradictory, scope boundary undefined, irreversible operation in path (schema change, public API rename), and target branch / merge policy ambiguous.

Step 1: Parse the Issue

  • Read all fields from the issue template.
  • Identify: type (bug/feature/refactor/qa), affected area, priority, acceptance criteria.
  • Note linked issues and spec references.

Step 2: Load the Issue-Type Skill

Navigate to the matching skill based on issue type:

Issue TypeSkill
Bug reporthatch3r-bug-fix
Feature requesthatch3r-feature
Code refactorhatch3r-refactor
Logical refactorhatch3r-logical-refactor
Visual refactorhatch3r-visual-refactor
QA E2E validationhatch3r-qa-validation

Step 3: Read Relevant Specs

Load only the specs relevant to the issue area. See the spec mapping table in the project context rule.

Also check project ADRs for architectural constraints.

  • For external library docs and current best practices, follow the project's tooling hierarchy.

Step 4: Produce a Plan

Output a structured plan before writing code:

  • Approach: strategy
  • Files to touch: list with brief description per file
  • Tests to write: list
  • Risks: what could go wrong
  • Open questions: if any, propose answers

Step 4b: Sub-Agent Delegation

Every issue MUST be delegated to a dedicated hatch3r-implementer sub-agent — never implement inline. The board-pickup command orchestrates this automatically; if running issue-workflow standalone, apply the pattern that matches your scenario:

ScenarioPattern
Single issueSpawn one hatch3r-implementer sub-agent via the Task tool with issue number, body, acceptance criteria, issue type, researcher output, and spec references. Await result.
Epic with sub-issuesLoad references/delegation-patterns.md — Pattern 2
Batch of standalone issuesLoad references/delegation-patterns.md — Pattern 3
Plain chat with multiple tasksLoad references/delegation-patterns.md — Pattern 4

The implementer sub-agent protocol is defined in the hatch3r-implementer agent. Each sub-agent handles its own implementation and testing but does NOT create branches, commits, or PRs.

Step 5: Implement

  • Follow the plan. Use stable IDs from the project glossary.
  • Do not expand scope beyond acceptance criteria.
  • Remove dead code. Keep changes minimal and focused.

Step 6: Test

  • Unit tests for new logic. Integration tests for cross-module interactions.
  • Database/security rules tests if rules changed.
  • Regression tests for preserved behavior.
  • All tests must be deterministic, isolated, and fast.

Step 6b: Browser Verification (if UI)

Skip this step if the issue has no user-facing UI changes.

  • Confirm the dev server is running by checking the expected port. If not running, start it in the background.
  • Navigate to the page or surface affected by the change.
  • Visually confirm the implementation matches acceptance criteria from the issue.
  • Interact with changed elements to verify functional correctness.
  • Check the browser console for errors or warnings.
  • Capture screenshots as evidence for the PR.

Step 7: Open PR / MR

  • Use the project's PR/MR template. Fill every section.
  • Link to the issue/work item. Include plan, implementation summary, test evidence.
  • Base branch: Use board.defaultBranch from .hatch3r/hatch.json (fallback: "main").
  • Open a code review using the platform CLI (check platform in .hatch3r/hatch.json):
    • GitHub: gh pr create --base {defaultBranch} --head {branch} --title "..." --body "..."
    • Azure DevOps: az repos pr create --source-branch {branch} --target-branch {defaultBranch} --title "..." --description "..."
    • GitLab: glab mr create --source-branch {branch} --target-branch {defaultBranch} --title "..." --description "..."
  • Self-review against the Definition of Done from the loaded skill.

Step 8: Address Review

  • Respond to every review comment.
  • Push fixes as new commits (don't force-push during review).
  • Re-request review after addressing all comments.

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Tier boundaries for THIS skill:

  • Tier 1 (trivial single-file issue): inline.
  • Tier 2 (multi-file or multi-concern issue): spawn parallel sub-agents per concern (researcher, implementer, reviewer) via the Task tool.
  • Tier 3 (multi-module / high-risk issue): one fresh sub-agent per independent module or gate; orchestrator integrates only.

Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Related

  • Command: hatch3r-workflow — the orchestrated counterpart. This skill is the issue-number-driven 8-step guide that dispatches to the type-matched skill (bug-fix / feature / refactor / qa); /hatch3r-workflow runs the fully orchestrated 4-phase delivery pipeline (researcher → implementer → reviewer/fixer loop → CQ specialists) with sub-agent fan-out. Use this skill to work a single issue by its steps; use /hatch3r-workflow for the multi-agent guided lifecycle.

Error Handling

  • Issue description is too vague to implement: Do not guess. Ask the user for clarification on acceptance criteria, scope boundaries, and expected behavior before starting Step 3 (planning).
  • Tests fail after implementation and the cause is unclear: Run tests in isolation to identify whether the failure is in new code or existing code. If existing tests broke, check whether they relied on behavior that was intentionally changed.
  • PR/MR creation fails due to branch conflicts: Rebase onto the target branch, resolve conflicts, re-run all tests, and verify the merge result before re-creating the PR/MR.

Escalation

Stop and ask when:

  1. Acceptance criteria are contradictory.
  2. Security concern discovered.
  3. Architectural decision needed (new ADR required).
  4. Spec conflict found.
  5. Scope creep detected.
  6. Test infrastructure missing.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Hatch3r Issue Workflow AI 技能有什么作用?

Guides the 8-step agentic development workflow for issues/work items. Covers parsing issues, loading skills, reading specs, planning, implementing, testing, opening PRs/MRs, and addressing review. Use when working on any issue/work item or when the user mentions an issue number.

为什么在 TypingMind 中使用 Hatch3r Issue Workflow?

因为您只需安装一次,就能搭配任何模型使用。Hatch3r Issue Workflow 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Hatch3r Issue Workflow?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-issue-workflow。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Hatch3r Issue Workflow?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Hatch3r Issue Workflow 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Hatch3r Issue Workflow 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Hatch3r Issue Workflow AI 技能免费吗?

是的。hatch3r 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇