vedic-calculator
Installation
SKILL.md
vedic-calculator: 吠陀占星排盘引擎
Language contract / 语言契约
- Set
client_languagefrom the user's explicit language request; otherwise match the language of the latest substantive user message. - Use
client_languagefor all chat replies, intake questions, confirmations, progress updates, user-visible warnings, reports, and Q&A. Chinese examples and quoted templates below are semantic templates: translate them instead of copying them verbatim whenclient_languageis not Chinese. - Keep canonical filenames, CLI flags, JSON keys,
structured_data.mdschema headings, technical codes, and Sanskrit/English identifiers unchanged. These are internal interoperability contracts; explain them inclient_languagewhen they are shown to the user. - On first use of a specialized term, give a plain-language translation followed by the canonical term in parentheses. Never translate canonical identifiers inside calculations or evidence citations.
- If the user changes language mid-run, preserve the existing data and artifact lineage; switch client-facing language from that point onward unless the user explicitly asks to regenerate earlier artifacts.
- When
client_languageis Japanese, readresources/ja-calculator.mdcompletely before the first Japanese client-facing message. Apply it only as a terminology, register, intake, and rendering layer; it never changes calculations, schemas, evidence, phases, or output requirements.
基于pysweph天文引擎 + PyJHora精确算法,直接从出生时间计算完整星盘数据。 输出格式完全兼容vedic-reader的structured_data.md,可直接交给vedic-core分析。
前置条件
- Python 3.8 ~ 3.13(pysweph 为 C 扩展,3.14 暂不支持)
- 依赖: pysweph, PyJHora==4.8.6, pytz