跳到正文
cccskills
免费在 GitHub 公开

update-global-context

Launch a guided durable update for the active gc-branch.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

gctree Update Global Context

Use this when work has revealed a durable change that should update the active gc-branch's global context.

Hard rule

Do not re-onboard a non-empty gc-branch. Use guided updates for durable changes and reserve onboarding for empty gc-branches only.

Procedure

  1. Summarize what changed and why it should become durable context.
  2. Confirm the active gc-branch with gctree status.
  3. Launch the guided update flow with one of:
    • gctree update-global-context
    • gctree update-gc
    • gctree ugc
  4. Before writing update JSON, find the target doc with gctree resolve --query "<new fact or term>". If the summary is insufficient, read the full doc with gctree show-doc --id "<id>".
  5. For an existing doc, preserve useful existing Details and Index Entries unless the user explicitly wants them removed.
  6. Use slug as the durable path without docs/ and without .md. Example: docs/conventions/mvldev-assignment-backend-smson.md becomes "slug": "conventions/mvldev-assignment-backend-smson".
  7. Use exactly this gctree __apply-update JSON schema. Do not invent fields. In particular, never use id, path, or content; use slug, body, and indexEntries.
{
  "branch": "<gc-branch>",
  "docs": [
    {
      "title": "conventions: example repo",
      "slug": "conventions/example-repo",
      "category": "conventions",
      "summary": "Actionable one-paragraph summary with patterns, commands, and constraints.",
      "body": "## Patterns\n\n- Details body only. Do not include # title, ## Summary, or ## Index Entries here.",
      "indexLabel": "example repo conventions",
      "indexEntries": ["example repo", "ExampleRepo", "주요 한국어 검색어", "command names", "field names"]
    }
  ]
}
  1. body is only the Details body. It may contain useful second-level sections such as ## Patterns, but must not contain the top-level title, ## Summary, or ## Index Entries.
  2. indexEntries is mandatory. Add aliases, related terms, command names, field names, workflow names, acronyms, Korean terms, and English terms so gctree resolve can find the doc without translation. Also add 3-6 short phrases a developer would actually type when they need this doc (questions, symptoms, task fragments in the user's language).
  3. Apply the update with gctree __apply-update --input <temp-file>.
  4. Verify immediately:
    • gctree verify-onboarding --branch <gc-branch>
    • gctree resolve --query "<new keyword>"
    • gctree show-doc --id "<slug>"
  5. If you intended to update an existing doc and doc_count increases unexpectedly, do not report success. Inspect the duplicate, remove the accidental doc, and re-apply with the correct slug.
  6. Keep the current gc-branch explicit throughout the conversation and tell the user exactly which docs changed.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

checkout

免费

Switch or create a gctree gc-branch.

中文简介正在准备中。当前显示原文说明。

handsupmin/gc-tree322026年10月15日 更新

onboard

免费

Launch guided onboarding for the active gc-branch through the configured provider.

中文简介正在准备中。当前显示原文说明。

handsupmin/gc-tree322026年10月15日 更新

Clear an existing gc-branch so it can be onboarded again.

中文简介正在准备中。当前显示原文说明。

handsupmin/gc-tree322026年10月15日 更新

Resolve relevant context from the active gc-branch.

中文简介正在准备中。当前显示原文说明。

handsupmin/gc-tree322026年10月15日 更新

查看 handsupmin 的全部技能

报告此技能的问题