Perform high-precision Qimen Dunjia (Mingfa/Flying Disc tradition) arrangements using astronomical junction offsets and True Solar Time correction.
This skill allows an agent to perform professional Qimen Dunjia arrangements using the stabilized Mingfa Qimen Engine. It supports precise solar term junction detection and the "Fixed-Term Anchor" rule for Ju determination.
The engine is located at src/index.js in the project root.
const { mingfaPaipan } = require('./src/index');
const params = {
year: 2024,
month: 12,
day: 13,
hour: 9,
minute: 31,
longitude: 121.47 // Recommended for True Solar Time calculation
};
const result = mingfaPaipan(params);
The agent should present the 3x3 grid results clearly to the user. Use the following visual format for the 9-palace grid (4-9-2, 3-5-7, 8-1-6):
┌──────────────┬──────────────┬──────────────┐
│ [Spirit] [P4] │ [Spirit] [P9] │ [Spirit] [P2] │
│ [Star] [Stem] │ [Star] [Stem] │ [Star] [Stem] │
│ [Door] [Stem] │ [Door] [Stem] │ [Door] [Stem] │
├──────────────┼──────────────┼──────────────┤
│ ... │ ... │ ... │
└──────────────┴──────────────┴──────────────┘