Files
732642856 a4f8620a71 v6.2.0: 全面技法宝库升级 — 16个新模块 + 12个文件优化
## 新增模块 (16个)
### P0 精度修复
- ashtakavarga: calc_prastara_av() + calc_sodhita_av()
- kakshya.py: Kakshya评分系统 (8区间×3.75°)
- shadbala.py: Sputa Drishti + Yuddha Bala

### P1 核心升级
- bhava_bala.py: 宫位三元力量 (jyotishganit MIT)
- pancha_mahapurusha.py: PMC完整检测含4层失效条件
- sade_sati.py: Sade Sati+Kantaka Shani
- sudarshana_chakra.py: 三参考点盘+收敛分析
- tajika.py: Sahams 7→36 + Tajika Yogas 10种
- birth_time_rectifier.py: 生时矫正

### P2 覆盖扩展
- kp_system.py: KP Sublord+ABCD Significator (diliprk/VedicAstro MIT)
- synastry.py: 16因子合盘36分制 (dashaflow MIT)
- muhurtha_election.py: 6活动选举 (dashaflow MIT)
- career_analysis.py: 结构化事业引擎
- relationship_analysis.py: 结构化感情引擎
- conditional_dashas.py: Dwisaptati+Shattrimsa+Dwadashottari
- divisional_charts_extended: D81/D108/D144
- remedies.py: 5类补救系统

## 修改文件
jaimini/dasha_calculator/shadbala/SKILL.md/COVERAGE_AUDIT等12个

## 开源复用: 4个MIT项目
2026-06-11 19:03:21 +08:00

71 lines
2.6 KiB
PowerShell
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Vedic Skills 四端同步脚本
# 源头: antigravity/skills/ → 同步到 claude-code + codex + gemini运行时 + git push
param(
[string]$CommitMsg = "sync: update skills"
)
$repo = "d:\0417jhora\vedic-astrology-skills"
$src = "$repo\antigravity\skills"
$cc = "$repo\claude-code\skills"
$codex = "$repo\codex\skills"
$gemini = "C:\Users\14361\.gemini\config\skills"
# 要同步的skill列表
$skills = @("vedic-reader", "vedic-calculator", "vedic-core", "vedic-career", "vedic-love", "vedic-rectifier")
Write-Host "=== Vedic Skills 四端同步 ===" -ForegroundColor Cyan
# 1. 同步到 claude-code
Write-Host "`n[1/4] 同步到 claude-code..." -ForegroundColor Yellow
foreach ($skill in $skills) {
if (Test-Path "$src\$skill") {
if (Test-Path "$cc\$skill") { Remove-Item "$cc\$skill" -Recurse -Force }
Copy-Item "$src\$skill" "$cc\$skill" -Recurse -Force
Write-Host "$skill" -ForegroundColor Green
}
}
# 2. 同步到 codex
Write-Host "`n[2/4] 同步到 codex..." -ForegroundColor Yellow
foreach ($skill in $skills) {
if (Test-Path "$src\$skill") {
if (Test-Path "$codex\$skill") { Remove-Item "$codex\$skill" -Recurse -Force }
Copy-Item "$src\$skill" "$codex\$skill" -Recurse -Force
# codex 需要 agents/openai.yaml,保留已有的
$agentFile = "$codex\$skill\agents\openai.yaml"
if (-not (Test-Path $agentFile)) {
New-Item (Split-Path $agentFile) -ItemType Directory -Force | Out-Null
Set-Content $agentFile "model: o3" -Encoding utf8
}
Write-Host "$skill" -ForegroundColor Green
}
}
# 3. 同步到 Gemini 运行时(跳过 venv
Write-Host "`n[3/4] 同步到 Gemini 运行时..." -ForegroundColor Yellow
foreach ($skill in $skills) {
if (Test-Path "$src\$skill") {
# 保留 venv 目录(不删不覆盖)
Get-ChildItem "$src\$skill" -Recurse -File | Where-Object {
$_.FullName -notmatch '\\venv\\' -and $_.FullName -notmatch '\\__pycache__\\'
} | ForEach-Object {
$rel = $_.FullName.Substring("$src\$skill".Length)
$target = "$gemini\$skill$rel"
$targetDir = Split-Path $target
if (-not (Test-Path $targetDir)) { New-Item $targetDir -ItemType Directory -Force | Out-Null }
Copy-Item $_.FullName $target -Force
}
Write-Host "$skill" -ForegroundColor Green
}
}
# 4. Git commit + push
Write-Host "`n[4/4] Git commit + push..." -ForegroundColor Yellow
Set-Location $repo
git add -A
git commit -m $CommitMsg
git push
Write-Host "`n=== 同步完成 ===" -ForegroundColor Cyan