checkout
無料Switch or create a gctree gc-branch.
日本語の概要は準備中です。原文の説明を表示しています。
handsupmin/gc-tree322026年7月9日 更新
Launch guided onboarding for the active gc-branch through the configured provider.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this when a user wants to create global context for a product, company, or workstream in an empty gc-branch.
~/sources## Patterns section documenting conventions visible in the actual code: naming conventions, validation style, error handling, response shape, dependency injection style, and any notable quirksdocs/workflows/## Summary section near the top; the ## Summary must be actionable — write the actual patterns, commands, or constraints a developer needs, not a sentence about what the doc covers (bad: "이 문서는 X를 설명합니다"; good: "updateX: { ...dto } spread 필수. return plainToInstance(Res, result satisfies Res). 새 필드 추가 = DTO → 서비스 → 컨트롤러 순서."); the summary is injected into AI context before every task — if it reads like a table of contents entry, it is uselessdocs/role/, docs/repos/, docs/domain/, docs/workflows/, docs/conventions/, and docs/infra/index.md as the search surface — maximize keyword density; for each doc generate entries from: primary names, aliases, nicknames, field names, command names, acronyms, related terms a developer might search for; do NOT be conservative — more keywords = more chances of being found; fewer than 5 index entries per doc almost certainly means more are needed## Index Entries MUST include BOTH the workflow-language form AND the English form for every technical term, concept, repo nickname, workflow name, and glossary term. Same rule in reverse if the workflow language is English but team uses non-English domain terms. Acronyms (JWT, EMPI, VCF, FHIR) stay in original form in both lists. Doc body and ## Summary remain in the workflow language; the bilingual coverage lives in the index. Example for Korean workflow language: a netcode doc must list both authoritative server, client-server authoritative model AND 권위 서버, 클라이언트-서버 권위 모델## Summary, keep canonical proper-noun technical terms in their original language (Stripe, MLflow, JWT, FHIR, Kubernetes, BAM, VCF) so English token queries still hit; add a workflow-language paraphrase next to any term whose meaning is non-obvious — e.g. "JWT 토큰 무효화 (token invalidation)"- docs/path.md with indented - keyword lines under it — groups all keywords per doc, eliminates path duplicationcategory field set to one of: role, repos, domain, workflows, conventions, infra, verification — never use "general" as a category; it is a fallback for missing data, not a valid category choicemain as the default.gctree reset-gc-branch --branch <current-gc-branch> --yes or gctree update-global-context.~/sources, guess the company/product from unrelated repos, or inspect every source file before the user narrows the scope.find to locate representative files if needed.
c. Extract concrete patterns from the sampled code: naming conventions, validation approach, error handling style, response shape, spread vs. assign patterns, decorator usage, etc.
d. Present a short hypothesis covering: repo role, important paths, cross-repo dependencies, workflow (e.g. "schema changes go to db-migration repo"), and the concrete patterns you observed in code.docs/conventions/<repo>.md file that includes: repo role, key paths, and a ## Patterns section with the concrete code patterns extracted from sampled files. Do not skip this file — it is what Claude will use instead of re-reading code on every task.
21b. After covering individual repos, ask explicitly about cross-repo workflows. For each domain action the user names (e.g. "add a DB column", "add an admin endpoint", "deploy a feature"), document the exact sequence of repos and steps as a dedicated file in docs/workflows/. These workflow docs are the highest-value output of onboarding.## Summary at the top of each doc.index.md grouped by category; within each category list each doc path as a top-level item with all its keywords as indented children. Maximize keywords per doc — aliases, related terms, command names, field names, workflow names.gctree onboard [--branch <name>].gctree verify-onboarding --branch <current-gc-branch> and inspect the real gc-tree files.status: "complete" and quality_issues is an empty array.quality_issues is non-empty, do not tell the user onboarding is done. Self-heal immediately without prompting the user: (a) identify which docs have category: "general", (b) assign each a correct category from role | repos | domain | workflows | conventions | infra | verification based on content, (c) rebuild the full onboarding JSON with every doc having an explicit category field — never use "general" as a category, (d) rerun gctree __apply-onboarding --input <temp-file>, (e) rerun gctree verify-onboarding, repeat until quality_issues is empty. If status is "incomplete" for other reasons, inspect the failures, heal them autonomously, and repeat.## Patterns section? (c) repos — is each relevant repo covered with role, paths, and cross-repo deps? (d) domain/glossary — are important acronyms and terms indexed with enough keywords? Present as a numbered checklist: "이 중 빠진 것이 있으면 말씀해주세요. 없으면 완료하겠습니다." If the user identifies gaps, gather and add before continuing. Do not skip this step.
30b. Check index keyword density: read the ## Index Entries section of each written doc. If any doc has fewer than 5 entries, add more — aliases, related terms, command names, field names, workflow names. Re-apply if entries were added.gctree set-repo-scope --branch <gc-branch> --include. Skip mapping only if the user picks 3 or explicitly says mapping is not needed.gctree update-global-context, or directly through the provider command surface as Codex $gc-update-global-context {prompt} and Claude Code /gc-update-global-context {prompt}; and they can close this session and start fresh in a new one.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Switch or create a gctree gc-branch.
日本語の概要は準備中です。原文の説明を表示しています。
Clear an existing gc-branch so it can be onboarded again.
日本語の概要は準備中です。原文の説明を表示しています。
Resolve relevant context from the active gc-branch.
日本語の概要は準備中です。原文の説明を表示しています。
Launch a guided durable update for the active gc-branch.
日本語の概要は準備中です。原文の説明を表示しています。