Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật41k · #7002

drydock

Skill này làm gì

Skill này tạo các tệp hướng dẫn khởi đầu cho một dự án, chẳng hạn một hướng dẫn chính và một bảng thuật ngữ, để mọi người làm việc trong kho mã có cùng nền tảng. Skill dành cho các nhóm mà kiến thức nằm trong đầu mọi người thay vì trong tệp.

Khi nào nên dùng

  • ✓Khi bạn bắt đầu một kho mã mà mọi người và agent AI sẽ cùng làm việc.
  • ✓Khi quy tắc và thuật ngữ của một dự án chỉ nằm trong lịch sử chat hoặc trong đầu mọi người.
  • ✓Khi bạn muốn kiểm tra các tệp hướng dẫn chung của một dự án hiện có xem có bị lệch chuẩn không.

Liên kết skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/drydock/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/drydock/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy thiết lập các tệp hướng dẫn chung cho kho mã này để người mới và trợ lý AI bắt đầu với cùng quy tắc và thuật ngữ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tạo hai tệp khởi đầu và ghi lại những gì đã được tạo, những gì đã hoãn và những gì cố tình bỏ qua. Các tệp hướng dẫn khác được thêm sau, khi chúng cần lần đầu tiên. Chế độ kiểm tra có thể rà soát các tệp để tìm sự lệch chuẩn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Drydock

Lay the keel of the shipyard: one repo, one shared harness, every contributor inherits it. This skill seeds exactly two faces (CLAUDE.md and GLOSSARY.md), with a read-once migration for recognizable legacy glossary CONTEXT.md files, and defines the first-use moment when every other surface appears. It wires the flows that fill them (launch writes GLOSSARY.md vocabulary and decision records; launch C5 sediment and reviews sediment standards) and reports what was seeded, what is deferred and why, and what was skipped on purpose.

The four pillars and where they physically live:

Pillar Surfaces
Context (shared background) GLOSSARY.md (glossary) + docs/business/ + docs/adr/ + OMC wiki
Rules (boundaries) CLAUDE.md (thin entry: conventions, principles, index) + docs/standards/
Tools (composable capability) .omc/skills/ + .mcp.json + scripts/
Standards (the classification society) design-system/ (tokens, components, patterns) + docs/standards/

Metaphor map: the shipyard is the shared facility; the classification society (docs/standards/ + design-system/) sets the rules a ship must pass to be seaworthy; drydock lays the keel; launch ships it.

When to Use

  • starting a repo that humans and agents will both build on
  • a repo where knowledge lives in people's heads and chat history instead of files
  • onboarding: a new teammate or agent should inherit context by reading, not by asking

When Not to Use

  • throwaway prototypes with no collaborators
  • a repo already running this harness (use --check instead)

Workflow

1. Detect (never clobber)

Inventory what exists before writing anything:

  • CLAUDE.md present? AGENTS.md present? (rule: if either exists, extend it in place; create the missing one as a one-line pointer to the other; never create both fresh)
  • GLOSSARY.md (or a recognizable legacy glossary CONTEXT.md), docs/adr/, docs/standards/, docs/business/, design-system/, .omc/skills/, .mcp.json, scripts/, .gitattributes — which exist (adopted — their integrity is audited), which are absent (not adopted — each gets its first-use trigger below, never a speculative creation)?
  • OMC installed? — only worth checking when running inside an OMC session; outside one, skip this check silently (the harness works with or without OMC)

Report the map first, then act.

2. Resolve document language, then ask only what detection cannot answer

The document language for the generated harness files is a file-backed decision, not conversation state. Use this contract exactly:

<!-- shipyard-document-language-contract:start -->
{
  "schemaVersion": 1,
  "authority": { "path": "GLOSSARY.md", "frontmatterKey": "documentLanguage" },
  "canonicalSources": ["CLAUDE.md", "README.md"],
  "askOn": ["missing", "mixed", "conflict", "low-confidence", "invalid-explicit", "script-ambiguous"],
  "tagPattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-(?:[A-Z]{2}|[0-9]{3}))?$",
  "scriptVariants": ["zh-Hans", "zh-Hant"],
  "seedCompanionPrefixes": { "en": "en", "zh-Hans": "zh-Hans", "zh-Hant": "zh-Hant" },
  "stableTokens": [
    "GLOSSARY.md", "documentLanguage", "/oh-my-claudecode:launch", "--serial",
    "plan", "execute", "review", "verify", "blockedBy", "blocked_by",
    "pending", "in_progress", "completed", "failed", "ready-for-agent",
    "id", "name", "description", "triggers", "mcpServers", "```",
    "<Project>", "<term>", "<feature-slug>"
  ]
}
<!-- shipyard-document-language-contract:end -->

Legacy glossary migration (full runs only; --check never renames or rewrites anything and just audits the legacy file in place): a CONTEXT.md is a legacy glossary only when its YAML frontmatter carries a documentLanguage key or its first visible non-blank line (after the frontmatter, ignoring a BOM and HTML comments) is a drydock glossary seed heading (Glossary, 术语表, 詞彙表 — seeds that predate the language tag); any other CONTEXT.md is an unrelated agent-context document and is left alone. If the yard has a legacy glossary CONTEXT.md but no GLOSSARY.md, rename it to GLOSSARY.md (git mv when tracked) before resolving the language or scaffolding anything, preserving its content and frontmatter byte-for-byte. Never create a fresh GLOSSARY.md beside a legacy glossary CONTEXT.md; one yard has exactly one glossary authority. An unrelated CONTEXT.md does not block creating GLOSSARY.md and is never reporte

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

Nó có tạo mọi tệp hướng dẫn cùng lúc không?

Không. Nó tạo trước hai tệp khởi đầu, còn các tệp khác xuất hiện khi lần đầu cần đến.

Tôi có thể kiểm tra một thiết lập hiện có không?

Có. Tùy chọn kiểm tra rà soát các tệp và báo cáo chỗ nào đã lệch khỏi chuẩn.

Nó có hoạt động với tệp thuật ngữ cũ không?

Có. Một tệp thuật ngữ cũ có thể nhận ra được sẽ được chấp nhận và chuyển đổi.

Chi tiết

Mô tả gốc của tác giả

Lay the keel of the shipyard harness in any repo — the 4-pillar shared environment (Context, Rules, Tools, Standards), seeded as two faces on day one (CLAUDE.md + GLOSSARY.md) with every other surface appearing on first use, so that every human and agent inherits the same design language and anyone can ship. Run once per repo; re-run with --check to audit drift.

repo: Yeachan-Heo/oh-my-claudecode

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#7002
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự