bazi-mathematical-core
CommunityAuthentic BaZi Four Pillars math for developers.
Author0x-wzw
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provide developers with an authentic BaZi Four Pillars mathematical engine, including JDN-based Day Pillar calculation, fixed stem-branch lookups, and verified scoring, to implement reliable Chinese-astrology logic in TypeScript or Python.
Core Features & Use Cases
- JDN-Based Day Pillar: stable day pillar computation anchored to Julian Day Numbers for accuracy.
- Month and Hour Pillar Mapping: Wu Hu Dun and Wu Shu Dun rules to derive month and hour stems from year and day masters.
- Hidden Stems and Ten Gods: weighted hidden stems per branch and Ten Gods relationships to support sophisticated charts.
- Verification & Reference Data: cross-checked against known dates and historical references to ensure correctness.
- Cross-Language Reference: clear TypeScript/Python references for implementation in codebases.
Quick Start
Run the bazi-mathematical-core engine on a sample date to derive the Day, Month, and Hour pillars and validate results against known references.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bazi-mathematical-core Download link: https://github.com/0x-wzw/Shunshi/archive/main.zip#bazi-mathematical-core Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.