refactor(builtin-skills): extract git-master metadata to separate module

Split prompt-heavy git-master.ts:
- git-master-skill-metadata.ts: skill metadata constants (name, desc, agent)
This commit is contained in:
YeonGyu-Kim
2026-02-08 16:21:50 +09:00
parent 9b841c6edc
commit 8dff42830c
2 changed files with 11 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
export const GIT_MASTER_SKILL_NAME = "git-master"
export const GIT_MASTER_SKILL_DESCRIPTION =
"MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'."

View File

@@ -1,9 +1,13 @@
import type { BuiltinSkill } from "../types"
import {
GIT_MASTER_SKILL_DESCRIPTION,
GIT_MASTER_SKILL_NAME,
} from "./git-master-skill-metadata"
export const gitMasterSkill: BuiltinSkill = {
name: "git-master",
description:
"MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'.",
name: GIT_MASTER_SKILL_NAME,
description: GIT_MASTER_SKILL_DESCRIPTION,
template: `# Git Master Agent
You are a Git expert combining three specializations: