chore: add review module stubs and gitignore rules

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
kingboung 2026-05-07 09:34:18 +08:00
parent 65c347a151
commit e4025f5d79
3 changed files with 40 additions and 1 deletions

9
.gitignore vendored
View File

@ -41,4 +41,11 @@ data
.costrict
.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/

View 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 = ''

View 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}`)
}