Logo Hatch3r Team Convention Author

Hatch3r Team Convention Author

Tổ chức
hatch3r
hatch3r-team-convention-author

Interactive workflow to elicit, draft, align, and persist a team's coding conventions and working agreements as a versioned project rule or convention doc. Use when a team is setting up shared norms, codifying tacit practices, or reconciling conflicting style decisions.

Tổng quan

Nhà phát hànhhatch3r
Kho mãhatch3r
Tên kỹ nănghatch3r-team-convention-author
Sao
26
Bản fork
7
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được hatch3r công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hatch3r Team Convention Author trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-team-convention-author
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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-team-convention-author .claude/skills/hatch3r-team-convention-author
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hatch3r Team Convention Author trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Hatch3r Team Convention Author ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Hatch3r Team Convention Author với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Team Convention Author — Elicit, Draft, Align, Persist

Captures a team's tacit coding conventions and working agreements into a single versioned artifact the whole team can read and an agent can enforce. Two output shapes: a convention doc (docs/process/ markdown — for human-facing working agreements: ownership, review norms, communication) and a project rule (.hatch3r/overrides/rules/ — for machine-enforceable code conventions: naming, structure, lint deltas — so the rule is tracked by hatch3r status/verify and regenerated into the adapter surfaces on sync, not written drift-invisibly into a generated file). The load-bearing step is Step 1: a convention written FOR a team by one person decays; a convention written BY the team through elicitation holds (team-charter methodology — see References).

Quick Start

Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Elicit the team's conventions and working agreements
- [ ] Step 2: Classify each item — code convention (rule) vs working agreement (doc)
- [ ] Step 3: Cross-check against existing project rules and style guides
- [ ] Step 4: Draft to the matching template
- [ ] Step 5: Review with the team, then persist as a versioned artifact

Step 0 — Detect Ambiguity (P8 B1)

Before any write, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target surface, 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. Triggers for THIS skill: which convention class is wanted (machine-enforceable code rule vs human working agreement); whether an existing convention doc/rule is being amended (a section rewrite that drops prior agreements is irreversible to readers who relied on them); the authoritative style guide for the stack (a new convention that contradicts an adopted style guide needs an explicit override decision); and who ratifies (one maintainer's preference is not a team agreement — see Step 5).

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 (single convention class, one stack): inline.
  • Tier 2 (both a code-rule set AND a working-agreement doc, or conventions spanning ≥2 stacks): spawn one sub-agent per disjoint artifact via the Task tool; each drafts its own file.
  • Tier 3 (full team-handbook codification across many domains — frontend, backend, infra, review process): one fresh sub-agent per domain; orchestrator integrates the index only.

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

Step 1: Elicit the Team's Conventions and Working Agreements

A convention is only adopted if the team shaped it. Elicit, do not dictate. Ask the team (or the maintainer relaying for the team) across these prompts, one focused question per turn:

  1. Code conventions — naming (files, types, functions), module/folder structure, import ordering, error-handling shape, test-file placement, comment style. Pull candidates from the existing codebase rather than from memory: a convention the code already follows in 80%+ of cases is a documented-default candidate, not a debate.
  2. Working agreements — review turnaround expectation, branch/PR naming, merge policy (squash vs merge-commit), required approvals, what blocks a merge, how disagreements are resolved, communication norms (where decisions are recorded).
  3. Authority and overrides — which published style guide is the tie-breaker for pure-style points (per Google eng-practices: the style guide is the absolute authority on style, and any style point not in the guide is personal preference — see References). Record the chosen style guide by name and URL.

For each candidate, capture: the convention, one concrete example, and the rationale (why this over the alternative). A convention with no rationale is a preference, not an agreement — flag it for Step 5 ratification.

Step 2: Classify — Code Convention vs Working Agreement

Route each elicited item to its output shape. The distinction drives where the artifact lands and how it is enforced.

Item typeOutput shapeLands inEnforcement
Machine-checkable code rule (naming, structure, import order, lint delta)Project rule.hatch3r/overrides/rules/<id>.md (+ .mdc companion) so hatch3r status/verify track it and sync regenerates it into the adapter surfaces; OR a linter configAgent reads the rule each session; linter where expressible
Human working agreement (review norms, merge policy, communication, decision-recording)Convention docdocs/process/<topic>.mdRead by humans; cited in PR templates and onboarding
Pure-style point already owned by an adopted style guideNeither — link to the style guideThe convention doc's "Authority" sectionThe style guide is the source of truth; do not restate it

Do not duplicate a rule the adopted style guide or an existing linter config already enforces — link to it instead (single-source-of-truth; restating drifts). A code convention that a linter can check belongs in the linter config with a one-line pointer from the rule, not as prose the agent must interpret.

Write a machine rule into .hatch3r/overrides/rules/, not directly into a generated adapter surface such as .cursor/rules/*.mdc or docs/process/. A rule authored straight into the adapter output is invisible to hatch3r status/verify drift detection and is overwritten on the next sync regeneration (SA14.3-F6). The overrides subtree is the user-content surface hatch3r re-emits with overrides on every sync; docs/process/ stays the home for human working agreements only.

Step 3: Cross-Check Against Existing Project Rules and Style Guides

Before drafting, reconcile against what already exists:

  1. Read the current rule surface — list every existing rule file and its description. A new convention that overlaps an existing rule is an amendment to that rule, not a new file (per content-authoring duplication check).
  2. Read the adopted style guide — if a candidate convention contradicts the team's published style guide, surface the conflict to the team with both positions and a recommended resolution; do not silently override. Record the resolution as an explicit override decision with rationale.
  3. Detect internal contradictions — two elicited agreements that conflict (e.g., "squash all PRs" vs "preserve commit history for releases") are a Step 5 ratification blocker, not a draft-time guess.

Output of this step: a reconciliation list — { candidate, status: new | amends:<rule-id> | conflicts:<source> | duplicate-drop }.

Step 4: Draft to the Matching Template

Project rule (machine-enforceable code convention):

  • Target path: .hatch3r/overrides/rules/<id>.md plus the .mdc companion (same body bytes; scope: always → alwaysApply: true, scope: conditional + globs → globs: [...] + alwaysApply: false). This is the user-content override surface hatch3r tracks for drift and regenerates on sync — the same path the cursor rule importer writes to.
  • Frontmatter: id, description (one line, what the rule enforces), scope (always for repo-wide, or a glob for path-scoped).
  • Body: each convention as Convention → one concrete example → rationale. State the passing condition concretely ("test files live next to source as *.test.ts", not "tests organized well").
  • Link, do not restate, anything a linter or the adopted style guide already enforces.

Convention doc (docs/process/<topic>.md, working agreement):

  1. Purpose — one sentence: what this agreement governs and who it binds.
  2. Agreements — a table or numbered list, each row: the agreement, the rationale, and how it is verified or observed.
  3. Authority — the adopted style guide (name + URL) that wins on pure-style points; the decision-recording location.
  4. Review and revision — how the team amends this doc (so it stays a living agreement, not a frozen edict).
  5. Ownership footer — owner, ratifying team, last-updated date.

Both shapes: every agreement carries a rationale; no agreement is stated as an unexplained mandate. Use measurable passing conditions, not subjective adjectives ("PR description states the change and the why", not "good PR descriptions").

Step 5: Review With the Team, Then Persist

A convention written for a team is weaker than one written by a team; ownership is built, not delegated (team-charter methodology — see References). Before persisting:

  1. Present the draft to the team for ratification — every flagged item (no-rationale preferences, internal contradictions, style-guide overrides) is resolved by the team, not assumed. Surface them as explicit decisions.
  2. Confirm scope — repo-wide rule vs path-scoped; project doc vs shared-across-repos.
  3. Persist each output to its tracked surface:
    • Machine rule → write .hatch3r/overrides/rules/<id>.md + its .mdc companion. This registers the rule in the user-content override surface, so hatch3r status/verify report drift on it and hatch3r sync regenerates it into the adapter outputs (.cursor/rules/, CLAUDE.md, Copilot instructions). A convention written straight into a generated adapter file instead is drift-invisible and is clobbered on the next sync (SA14.3-F6) — never persist there. If the team is instead amending an existing canonical rule rather than adding a new one, register the delta in .hatch3r/hatch.json customization (or the .customize.md layer) for that rule id, not a fresh override file.
    • Working agreement → write the doc to docs/process/<topic>.md (human-facing; not a drift-tracked machine artifact). Set the ownership footer (owner, ratifying team, last-updated) on each. Link the doc from the contributing guide or PR template so it is discoverable; an unlinked convention doc is not adopted.
  4. Record the decision trail — note which conventions were team-ratified and which are documented codebase-defaults, so a later reader knows what is negotiable.

Error Handling

  • Maintainer relays for an absent team and cannot ratify: persist the draft marked status: proposed — pending team ratification and list the unresolved items; do not stamp it as an adopted agreement.
  • Candidate convention contradicts the adopted style guide: surface both positions and a recommended resolution to the team; record the chosen override as an explicit decision with rationale. Never silently override the style guide.
  • Two elicited agreements conflict: stop at Step 3, present both with trade-offs, and require a team decision before drafting. Do not guess the winner.
  • Overlap with an existing rule: amend the existing rule rather than create a near-duplicate; cite the rule id in your output (duplication check).
  • Convention has no rationale: flag it as a preference at Step 5 for the team to either justify or drop; do not persist unexplained mandates.

Definition of Done

  • Conventions elicited from the team (or relayed) with one concrete example + rationale each
  • Each item classified to its output shape (project rule vs working-agreement doc vs style-guide link)
  • Reconciled against existing rules and the adopted style guide; conflicts and overrides resolved by the team, not assumed
  • Drafted to the matching template with measurable passing conditions and per-agreement rationale
  • Team-ratified (or marked proposed — pending ratification); ownership + last-updated footer present
  • Machine rules written to .hatch3r/overrides/rules/<id>.md (+ .mdc) — or registered via .hatch3r/hatch.json customization when amending a canonical rule — so hatch3r status/verify track them and sync regenerates them; not authored straight into a generated adapter file
  • Working agreements persisted to docs/process/, linked from contributing guide / PR template, and the negotiable-vs-default decision trail recorded
  • No duplication of a rule an adopted style guide or linter already enforces

References

  • Google. "Google's Engineering Practices documentation — The Standard of Code Review." https://google.github.io/eng-practices/review/reviewer/standard.html (accessed 2026-06-02, google.github.io, established-library / official-docs; CC-BY 3.0). Source for Step 1's authority principle (the style guide is the absolute authority on pure-style points; any style point not in the guide is personal preference) and the improvement-over-perfection framing applied to convention adoption. Repository: https://github.com/google/eng-practices.
  • Atlassian. "How to Create a Team Charter — The Workstream." https://www.atlassian.com/work-management/project-collaboration/team-charter (accessed 2026-06-02, atlassian.com, established-library). Source for Step 1's elicitation stance and Step 5's ratification principle (a charter written BY the team holds; one written FOR the team decays — ownership is built, not delegated) and the purpose/values/roles/communication-norm component set behind the convention-doc template. Corroborated by Easy Agile, "Team Charter, Working Agreement, & Social Contract — Template and Guide." https://www.easyagile.com/blog/team-charter-working-agreement-social-contract-template-guide (accessed 2026-06-02, easyagile.com, established-library).

Câu hỏi thường gặp

Kỹ năng AI Hatch3r Team Convention Author làm được gì?

Interactive workflow to elicit, draft, align, and persist a team's coding conventions and working agreements as a versioned project rule or convention doc. Use when a team is setting up shared norms, codifying tacit practices, or reconciling conflicting style decisions.

Vì sao nên dùng Hatch3r Team Convention Author trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hatch3r Team Convention Author là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hatch3r Team Convention Author trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-team-convention-author. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hatch3r Team Convention Author?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Hatch3r Team Convention Author với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hatch3r Team Convention Author với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hatch3r Team Convention Author có miễn phí không?

Có. Kỹ năng này được hatch3r phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇