본문으로 건너뛰기
cccskills
무료GitHub에 공개

update-global-context

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 / 1,000자

이 양식은 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의 스킬 모두 보기

이 스킬의 문제 신고