chore: add review module stubs and gitignore rules
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
65c347a151
commit
e4025f5d79
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -42,3 +42,10 @@ data
|
||||||
.costrict
|
.costrict
|
||||||
.claude
|
.claude
|
||||||
.tmp/
|
.tmp/
|
||||||
|
|
||||||
|
# Auto-generated review builtin files
|
||||||
|
src/costrict/review/agent/builtin.ts
|
||||||
|
src/costrict/review/skill/builtin.ts
|
||||||
|
|
||||||
|
# Review builtin cache
|
||||||
|
packages/builtin-tools/bundled-review/
|
||||||
10
src/costrict/review/agent/builtin.ts
Normal file
10
src/costrict/review/agent/builtin.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated by scripts/generate-review-builtin.ts
|
||||||
|
// Do not edit manually
|
||||||
|
// Agents are downloaded from zgsm-ai/costrict-review repository
|
||||||
|
|
||||||
|
import type { BuiltInAgentDefinition } from '@claude-code-best/builtin-tools/tools/AgentTool/loadAgentsDir.js'
|
||||||
|
|
||||||
|
export const REVIEW_AGENTS: BuiltInAgentDefinition[] = []
|
||||||
|
|
||||||
|
export const PRIMARY_REVIEW_AGENT = ''
|
||||||
|
export const SUB_REVIEW_AGENT = ''
|
||||||
22
src/costrict/review/skill/builtin.ts
Normal file
22
src/costrict/review/skill/builtin.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
// This file is auto-generated by scripts/generate-review-builtin.ts
|
||||||
|
// Do not edit manually
|
||||||
|
|
||||||
|
export const SKILL_FILES: Record<string, Record<string, Record<string, string>>> = {}
|
||||||
|
|
||||||
|
export const SKILL_VERSIONS: Record<string, string> = {}
|
||||||
|
|
||||||
|
export function listBuiltinSkills(): string[] {
|
||||||
|
return []
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getBuiltinSkillVersion(skillName: string): string | undefined {
|
||||||
|
return SKILL_VERSIONS[skillName]
|
||||||
|
}
|
||||||
|
|
||||||
|
export function listSkillFiles(skillName: string, locale: string): string[] {
|
||||||
|
return Object.keys(SKILL_FILES[locale]?.[skillName] || {})
|
||||||
|
}
|
||||||
|
|
||||||
|
export async function extractBundledSkill(skillName: string, targetDir: string, locale: string): Promise<void> {
|
||||||
|
throw new Error(`Skill not found: ${skillName}`)
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user