@mongoui/skills 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,152 +1,153 @@
1
- ---
1
+ ---
2
2
  name: glink-hotel-api
3
- description: Integrate with the Glink hotel OpenAPI exposed through the Open Platform runtime gateway. Use when Codex needs to read, verify, explain, test, or implement against `docs/swagger/glink-api.json` or Glink route code; choose Glink hotel endpoints; generate or debug `X-OP-*` signatures; explain sandbox or production credential issuance/reset; or drive Chinese/English requests about Glink hotel static data, hotel search, hotel info, product detail, booking, payment, order, cancel, order status push/callback, checkout, invoice, and balance workflows.
4
- ---
5
-
6
- # Glink OpenAPI Integration
7
-
8
- ## Quick Start
9
-
10
- Use this skill when the task is "call Glink through the open platform".
11
-
12
- Start with the smallest current source that answers the request:
13
-
14
- - Prefer the repository source of truth when it exists: `docs/swagger/glink-api.json`, route handlers, DTOs, and tests.
15
- - Treat the current DHub shared document and `docs/swagger/glink-api.json` as the route source of truth; older bundled notes can be stale.
16
- - Customer-facing explanations should use only our short interface paths such as `/search/destination`, `/booking/createOrder`, and `/order/orderDetail`.
3
+ description: Integrate with the Glink hotel OpenAPI exposed through the Open Platform runtime gateway. Use when Codex needs to read, verify, explain, test, or implement against `docs/swagger/glink-api.json` or Glink route code; choose Glink hotel endpoints; generate or debug `X-OP-*` signatures; explain sandbox or production credential issuance/reset; or drive Chinese/English requests about Glink hotel static data, hotel search, hotel info, product detail, booking, payment, order, cancel, order status push/callback, checkout, invoice, and balance workflows.
4
+ ---
5
+
6
+ # Glink OpenAPI Integration
7
+
8
+ ## Quick Start
9
+
10
+ Use this skill when the task is "call Glink through the open platform".
11
+
12
+ Start with the smallest current source that answers the request:
13
+
14
+ - Prefer the repository source of truth when it exists: `docs/swagger/glink-api.json`, route handlers, DTOs, and tests.
15
+ - Treat the current DHub shared document and `docs/swagger/glink-api.json` as the route source of truth; older bundled notes can be stale.
16
+ - Customer-facing explanations should use only our short interface paths such as `/search/destination`, `/booking/createOrder`, and `/order/orderDetail`.
17
17
  - Read `references/auth-and-credentials.md` for signing, headers, key acquisition, reset, and auth troubleshooting.
18
18
  - Read `references/api-workflows.md` for hotel search, booking, cancel, checkout, invoice, and balance workflows.
19
19
  - Read `references/endpoint-index.md` for a compact endpoint map and platform-managed field caveats, then verify fragile fields against the current swagger or code.
20
+ - Read `references/field-and-enum-notes.md` for current response-shape changes, renamed fields, enum-like values, and practical scenarios reflected by the latest swagger examples.
20
21
  - Use `scripts/glink_signed_request.py` to generate headers, inspect the canonical string, or send a signed request.
21
-
22
- ## Working Rules
23
-
24
- Follow this workflow:
25
-
26
- 1. Confirm the environment: `sandbox` and `production` credentials are separate.
27
- 2. Confirm whether the user is asking for documentation, code changes, local smoke testing, or live API calls.
28
- 3. Confirm the interface path, for example `/search/destination` or `/booking/productDetails`.
29
- 4. Choose the integration mode before recommending a flow:
30
- - Standard API Integration: for partners who build and maintain a local saleable hotel catalog and room mapping.
31
- - Lightweight Integration Flow: for faster launch with destination-driven hotel discovery and less pre-synced catalog data.
32
- 5. Keep customer-facing docs and answers aligned to our short interface paths only, such as `/search/destination`, `/booking/productDetails`, and `/order/orderDetail`.
33
- 6. For actual gateway signing/calls, the runtime public path is the short path prefixed with `/openapi/v1/glink`. Keep that detail in tooling/auth guidance, not in customer workflow names.
34
- 7. Build the minimum valid request body from swagger/code first, using `references/endpoint-index.md` as navigation.
35
- 8. Sign the exact runtime public path, sorted query string, and raw body bytes with the platform secret.
36
- 9. Evaluate both HTTP status and response envelope `code`, not HTTP status alone.
37
-
38
- When the user asks for the Open Platform Glink hotel onboarding or booking flow, choose one of these two approved integration modes and use the mandatory interface sets below.
39
-
40
- ## Standard API Integration
41
-
42
- Mandatory interfaces:
43
-
44
- | No. | Interface | Method | Path |
45
- | --- | --- | --- | --- |
46
- | 1 | Available Hotel ID List | POST | `/search/hotelIdList` |
47
- | 2 | Query Hotel Basic Information | POST | `/hotel/detail` |
48
- | 3 | Hotel Real-Time Product Query | POST | `/booking/productDetails` |
49
- | 4 | Trial Booking / Availability Check | POST | `/booking/availabilityCheck` |
50
- | 5 | Create Order | POST | `/booking/createOrder` |
51
- | 6 | Order Payment | POST | `/booking/payOrder` |
52
- | 7 | Cancel Order | POST | `/order/cancelOrder` |
53
- | 8 | Order Detail Query | POST | `/order/orderDetail` |
54
-
55
- Use this sequence by default:
56
-
57
- 1. Static bootstrap: `/search/hotelIdList` -> `/hotel/detail` for hotel/room static data, then persist local hotel and room mappings.
58
- 2. Optional foundational data: `/region/countries` and `/region/cities` can be used to build country/city mappings against the FCG hotel system.
59
- 3. Static maintenance: run `/hotel/increment`, then call `/hotel/detail` for changed hotel IDs and update or disconnect local mappings when needed.
60
- 4. List pricing: run `/hotel/lowestPrice` for mapped hotels as list-page display/reference data. The next 30 days of daily lowest prices are updated every day; recommend updating daily after 5:00 AM.
61
- 5. Detail pricing: call `/booking/productDetails` in real time when the customer enters the hotel detail or booking path. Before querying, check the local saleable hotel ID cache and skip hotels not in the saleable list. Prefer `bookType=1` products as bookable candidates.
62
- 6. Booking pre-check: when the user clicks Book, call `/booking/availabilityCheck` with the actual room count to confirm the product is bookable before entering the order form.
63
- 7. Submit order: call `/booking/availabilityCheck` again immediately before `/booking/createOrder`; if still bookable, call `/booking/createOrder`.
64
- 8. Payment and confirmation: after `/booking/createOrder`, call `/booking/payOrder` only after local customer payment succeeds or when the platform has decided the Glink order should be confirmed.
65
- 9. Confirmation result: treat `/notify/orderStatus` as the primary confirmation channel and make the callback idempotent. Use `/order/orderDetail` only as low-frequency compensation if no confirmation result is received.
66
- 10. Cancellation: call `/order/cancelOrder` for unpaid timeout such as 30 minutes or active customer cancellation. If the cancellation API returns success, update the local order and stop polling.
67
-
68
- ## Lightweight Integration Flow
69
-
70
- Mandatory interfaces:
71
-
72
- | No. | Interface | Method | Path |
73
- | --- | --- | --- | --- |
74
- | 1 | Destination Query | POST | `/search/destination` |
75
- | 2 | Get Hotel Filter Conditions | POST | `/search/hotelFilters` |
76
- | 3 | Query Hotel List by Destination | POST | `/search/hotelList` |
77
- | 4 | Query Hotel Basic Information | POST | `/hotel/detail` |
78
- | 5 | Query Hotel Basic Information Increment | POST | `/hotel/increment` |
79
- | 6 | Query Hotel Images | POST | `/hotel/images` |
80
- | 7 | Hotel Real-Time Product Query | POST | `/booking/productDetails` |
81
- | 8 | Trial Booking / Availability Check | POST | `/booking/availabilityCheck` |
82
- | 9 | Create Order | POST | `/booking/createOrder` |
83
- | 10 | Order Payment | POST | `/booking/payOrder` |
84
- | 11 | Cancel Order | POST | `/order/cancelOrder` |
85
- | 12 | Order Detail Query | POST | `/order/orderDetail` |
86
- | 13 | Order Status Push | POST | `/notify/orderStatus` |
87
-
88
- Use this sequence by default:
89
-
90
- 1. Destination bootstrap: call `/search/destination` to obtain the destination ID.
91
- 2. Discovery: optionally call `/search/hotelFilters` for filter conditions, then call `/search/hotelList` with the destination ID to obtain matching hotels.
92
- 3. Display hydration: call `/hotel/detail` for hotel static information and `/hotel/images` for images used by the client.
93
- 4. Static maintenance: use `/hotel/increment` to discover changed hotel static information when local caching is used.
94
- 5. List pricing: optionally call `/hotel/lowestPrice` as list-page price reference when the product experience needs a stable starting price.
95
- 6. Detail pricing: call `/booking/productDetails` in real time when the customer enters the hotel detail or booking path. Prefer `bookType=1` products.
96
- 7. Booking pre-check: when the user clicks Book, call `/booking/availabilityCheck` with the actual room count before entering the order form.
97
- 8. Submit order: call `/booking/availabilityCheck` again immediately before `/booking/createOrder`; if still bookable, call `/booking/createOrder`.
98
- 9. Payment and confirmation: after `/booking/createOrder`, call `/booking/payOrder` only after local customer payment succeeds or when the platform has decided the Glink order should be confirmed.
99
- 10. Confirmation result: treat `/notify/orderStatus` as the primary confirmation channel and make the callback idempotent. Use `/order/orderDetail` only as low-frequency compensation if no confirmation result is received.
100
- 11. Cancellation: call `/order/cancelOrder` for unpaid timeout such as 30 minutes or active customer cancellation. If the cancellation API returns success, update the local order and stop polling.
101
-
102
- ## Mandatory Order Placement Flow
103
-
104
- Use these calls for order placement in both integration modes:
105
-
106
- 1. `/hotel/lowestPrice`: Query the lowest price of mapped hotels as a reference for whether to display the hotel in the local hotel list.
107
- 2. `/booking/productDetails`: Called in real time when a customer enters the hotel details or booking path.
108
- 3. `/booking/availabilityCheck`: Validate whether a bookable product can be reserved, passing in the actual number of rooms to book.
109
- 4. `/booking/createOrder`: Called after trial booking passes and the local order is successfully created. It is recommended to perform another trial booking validation before calling.
110
- 5. `/booking/payOrder`: Called after the local customer pays successfully, or when the order needs confirmation, to notify FCG to process the order.
111
- 6. `/order/cancelOrder`: Called when the order is unpaid for 30 minutes or the customer actively cancels. If the interface returns success, update the local order and stop polling.
112
- 7. `/notify/orderStatus`: After payment notification, FCG processes the order and pushes the status. This callback must support idempotency.
113
- 8. `/order/orderDetail`: If no confirmation result is received after payment, periodic queries can be used as compensation. Frequent polling is unnecessary; stop querying once the order is confirmed or canceled.
114
-
115
- ## Do Not Violate
116
-
117
- - Always send `X-OP-App-Key`, `X-OP-Timestamp`, `X-OP-Nonce`, and `X-OP-Sign`.
118
- - Send only the business fields defined by our Open Platform swagger.
119
- - For adapter code, keep internal route configuration and customer-facing interface paths clearly separated.
120
- - Never invent credentials or secrets. Use explicit user-provided values or environment variables.
121
- - Treat `code=SUCCESS` as success. Treat `code=SUPPLIER_BIZ_ERROR` as a business failure even if HTTP status is `200`.
122
- - Keep timestamp skew within `+-5` minutes.
123
- - Reuse of the same nonce under the same app key can trigger `NONCE_REPLAY`.
124
- - If a swagger schema still shows Glink-managed fields as required, follow the route description first and omit those platform-managed internal fields from the client payload.
125
- - If external reference material and the current swagger/code use different names, use our current short interface path as the source of truth.
126
- - Do not frequently poll order status. Stop polling once the order is confirmed or canceled; rely on idempotent push/callback handling as the source of truth for confirmation progress.
127
- - Do not query real-time products for hotels outside the cached saleable hotel list; it wastes integration quota and usually returns no useful sellable data.
128
- - For Standard API Integration, recommend local saleable hotel cache maintenance. For Lightweight Integration Flow, recommend the smaller destination-driven flow unless the user explicitly needs full static catalog sync.
129
-
130
- ## Typical Requests
131
-
132
- Use these patterns by default:
133
-
134
- - Static data and filters: `/region/countries`, `/region/cities`, `/region/popularCities`, `/region/businesses`, `/region/districts`, `/region/pois`, and `/hotel/groupBrand`.
135
- - Standard catalog sync: `/search/hotelIdList` -> `/hotel/detail`; maintain with `/hotel/increment` -> `/hotel/detail`.
136
- - Lightweight discovery: `/search/destination` -> `/search/hotelFilters` -> `/search/hotelList` -> `/hotel/detail`/`/hotel/images` -> `/booking/productDetails`.
137
- - Search and booking: `/hotel/lowestPrice` for list display/reference -> `/booking/productDetails` for hotel detail -> `/booking/availabilityCheck` -> optional second `/booking/availabilityCheck` -> `/booking/createOrder` -> `/booking/payOrder` -> order push/callback primary, `/order/orderDetail` as compensation.
138
- - Order aftercare: `/order/cancelOrder`, order push/callback, `/order/orderDetail`, `/order/checkInDetail`, `/order/checkoutRequest`, `/order/checkoutDetail`.
139
- - Finance: `/order/invoiceRequest`, `/order/invoiceInfo`, `/search/creditBalance`.
140
-
141
- ## Output Expectations
142
-
143
- When answering or coding with this skill:
144
-
145
- - Prefer concrete request examples over abstract summaries.
146
- - Name the source used when the current swagger/code and bundled references disagree, but keep customer-facing answers on our short interface paths.
147
- - State whether the recommendation follows Standard API Integration or Lightweight Integration Flow when giving onboarding advice.
148
- - State which environment the credential belongs to.
149
- - State whether the payload should contain only business fields.
150
- - Call out Glink-managed field residue in the swagger when relevant.
151
- - Call out auth failures with the likely root cause and the exact header or field to inspect.
152
- - For code changes, keep internal Glink integration auth and platform gateway auth clearly separated.
22
+
23
+ ## Working Rules
24
+
25
+ Follow this workflow:
26
+
27
+ 1. Confirm the environment: `sandbox` and `production` credentials are separate.
28
+ 2. Confirm whether the user is asking for documentation, code changes, local smoke testing, or live API calls.
29
+ 3. Confirm the interface path, for example `/search/destination` or `/booking/productDetails`.
30
+ 4. Choose the integration mode before recommending a flow:
31
+ - Standard API Integration: for partners who build and maintain a local saleable hotel catalog and room mapping.
32
+ - Lightweight Integration Flow: for faster launch with destination-driven hotel discovery and less pre-synced catalog data.
33
+ 5. Keep customer-facing docs and answers aligned to our short interface paths only, such as `/search/destination`, `/booking/productDetails`, and `/order/orderDetail`.
34
+ 6. For actual gateway signing/calls, the runtime public path is the short path prefixed with `/openapi/v1/glink`. Keep that detail in tooling/auth guidance, not in customer workflow names.
35
+ 7. Build the minimum valid request body from swagger/code first, using `references/endpoint-index.md` as navigation.
36
+ 8. Sign the exact runtime public path, sorted query string, and raw body bytes with the platform secret.
37
+ 9. Evaluate both HTTP status and response envelope `code`, not HTTP status alone.
38
+
39
+ When the user asks for the Open Platform Glink hotel onboarding or booking flow, choose one of these two approved integration modes and use the mandatory interface sets below.
40
+
41
+ ## Standard API Integration
42
+
43
+ Mandatory interfaces:
44
+
45
+ | No. | Interface | Method | Path |
46
+ | --- | --- | --- | --- |
47
+ | 1 | Available Hotel ID List | POST | `/search/hotelIdList` |
48
+ | 2 | Query Hotel Basic Information | POST | `/hotel/detail` |
49
+ | 3 | Hotel Real-Time Product Query | POST | `/booking/productDetails` |
50
+ | 4 | Trial Booking / Availability Check | POST | `/booking/availabilityCheck` |
51
+ | 5 | Create Order | POST | `/booking/createOrder` |
52
+ | 6 | Order Payment | POST | `/booking/payOrder` |
53
+ | 7 | Cancel Order | POST | `/order/cancelOrder` |
54
+ | 8 | Order Detail Query | POST | `/order/orderDetail` |
55
+
56
+ Use this sequence by default:
57
+
58
+ 1. Static bootstrap: `/search/hotelIdList` -> `/hotel/detail` for hotel/room static data, then persist local hotel and room mappings.
59
+ 2. Optional foundational data: `/region/countries` and `/region/cities` can be used to build country/city mappings against the FCG hotel system.
60
+ 3. Static maintenance: run `/hotel/increment`, then call `/hotel/detail` for changed hotel IDs and update or disconnect local mappings when needed.
61
+ 4. List pricing: run `/hotel/lowestPrice` for mapped hotels as list-page display/reference data. The next 30 days of daily lowest prices are updated every day; recommend updating daily after 5:00 AM.
62
+ 5. Detail pricing: call `/booking/productDetails` in real time when the customer enters the hotel detail or booking path. Before querying, check the local saleable hotel ID cache and skip hotels not in the saleable list. Prefer `bookType=1` products as bookable candidates.
63
+ 6. Booking pre-check: when the user clicks Book, call `/booking/availabilityCheck` with the actual room count to confirm the product is bookable before entering the order form.
64
+ 7. Submit order: call `/booking/availabilityCheck` again immediately before `/booking/createOrder`; if still bookable, call `/booking/createOrder`.
65
+ 8. Payment and confirmation: after `/booking/createOrder`, call `/booking/payOrder` only after local customer payment succeeds or when the platform has decided the Glink order should be confirmed.
66
+ 9. Confirmation result: treat `/notify/orderStatus` as the primary confirmation channel and make the callback idempotent. Use `/order/orderDetail` only as low-frequency compensation if no confirmation result is received.
67
+ 10. Cancellation: call `/order/cancelOrder` for unpaid timeout such as 30 minutes or active customer cancellation. If the cancellation API returns success, update the local order and stop polling.
68
+
69
+ ## Lightweight Integration Flow
70
+
71
+ Mandatory interfaces:
72
+
73
+ | No. | Interface | Method | Path |
74
+ | --- | --- | --- | --- |
75
+ | 1 | Destination Query | POST | `/search/destination` |
76
+ | 2 | Get Hotel Filter Conditions | POST | `/search/hotelFilters` |
77
+ | 3 | Query Hotel List by Destination | POST | `/search/hotelList` |
78
+ | 4 | Query Hotel Basic Information | POST | `/hotel/detail` |
79
+ | 5 | Query Hotel Basic Information Increment | POST | `/hotel/increment` |
80
+ | 6 | Query Hotel Images | POST | `/hotel/images` |
81
+ | 7 | Hotel Real-Time Product Query | POST | `/booking/productDetails` |
82
+ | 8 | Trial Booking / Availability Check | POST | `/booking/availabilityCheck` |
83
+ | 9 | Create Order | POST | `/booking/createOrder` |
84
+ | 10 | Order Payment | POST | `/booking/payOrder` |
85
+ | 11 | Cancel Order | POST | `/order/cancelOrder` |
86
+ | 12 | Order Detail Query | POST | `/order/orderDetail` |
87
+ | 13 | Order Status Push | POST | `/notify/orderStatus` |
88
+
89
+ Use this sequence by default:
90
+
91
+ 1. Destination bootstrap: call `/search/destination` to obtain the destination ID.
92
+ 2. Discovery: optionally call `/search/hotelFilters` for filter conditions, then call `/search/hotelList` with the destination ID to obtain matching hotels.
93
+ 3. Display hydration: call `/hotel/detail` for hotel static information and `/hotel/images` for images used by the client.
94
+ 4. Static maintenance: use `/hotel/increment` to discover changed hotel static information when local caching is used.
95
+ 5. List pricing: optionally call `/hotel/lowestPrice` as list-page price reference when the product experience needs a stable starting price.
96
+ 6. Detail pricing: call `/booking/productDetails` in real time when the customer enters the hotel detail or booking path. Prefer `bookType=1` products.
97
+ 7. Booking pre-check: when the user clicks Book, call `/booking/availabilityCheck` with the actual room count before entering the order form.
98
+ 8. Submit order: call `/booking/availabilityCheck` again immediately before `/booking/createOrder`; if still bookable, call `/booking/createOrder`.
99
+ 9. Payment and confirmation: after `/booking/createOrder`, call `/booking/payOrder` only after local customer payment succeeds or when the platform has decided the Glink order should be confirmed.
100
+ 10. Confirmation result: treat `/notify/orderStatus` as the primary confirmation channel and make the callback idempotent. Use `/order/orderDetail` only as low-frequency compensation if no confirmation result is received.
101
+ 11. Cancellation: call `/order/cancelOrder` for unpaid timeout such as 30 minutes or active customer cancellation. If the cancellation API returns success, update the local order and stop polling.
102
+
103
+ ## Mandatory Order Placement Flow
104
+
105
+ Use these calls for order placement in both integration modes:
106
+
107
+ 1. `/hotel/lowestPrice`: Query the lowest price of mapped hotels as a reference for whether to display the hotel in the local hotel list.
108
+ 2. `/booking/productDetails`: Called in real time when a customer enters the hotel details or booking path.
109
+ 3. `/booking/availabilityCheck`: Validate whether a bookable product can be reserved, passing in the actual number of rooms to book.
110
+ 4. `/booking/createOrder`: Called after trial booking passes and the local order is successfully created. It is recommended to perform another trial booking validation before calling.
111
+ 5. `/booking/payOrder`: Called after the local customer pays successfully, or when the order needs confirmation, to notify FCG to process the order.
112
+ 6. `/order/cancelOrder`: Called when the order is unpaid for 30 minutes or the customer actively cancels. If the interface returns success, update the local order and stop polling.
113
+ 7. `/notify/orderStatus`: After payment notification, FCG processes the order and pushes the status. This callback must support idempotency.
114
+ 8. `/order/orderDetail`: If no confirmation result is received after payment, periodic queries can be used as compensation. Frequent polling is unnecessary; stop querying once the order is confirmed or canceled.
115
+
116
+ ## Do Not Violate
117
+
118
+ - Always send `X-OP-App-Key`, `X-OP-Timestamp`, `X-OP-Nonce`, and `X-OP-Sign`.
119
+ - Send only the business fields defined by our Open Platform swagger.
120
+ - For adapter code, keep internal route configuration and customer-facing interface paths clearly separated.
121
+ - Never invent credentials or secrets. Use explicit user-provided values or environment variables.
122
+ - Treat `code=SUCCESS` as success. Treat `code=SUPPLIER_BIZ_ERROR` as a business failure even if HTTP status is `200`.
123
+ - Keep timestamp skew within `+-5` minutes.
124
+ - Reuse of the same nonce under the same app key can trigger `NONCE_REPLAY`.
125
+ - If a swagger schema still shows Glink-managed fields as required, follow the route description first and omit those platform-managed internal fields from the client payload.
126
+ - If external reference material and the current swagger/code use different names, use our current short interface path as the source of truth.
127
+ - Do not frequently poll order status. Stop polling once the order is confirmed or canceled; rely on idempotent push/callback handling as the source of truth for confirmation progress.
128
+ - Do not query real-time products for hotels outside the cached saleable hotel list; it wastes integration quota and usually returns no useful sellable data.
129
+ - For Standard API Integration, recommend local saleable hotel cache maintenance. For Lightweight Integration Flow, recommend the smaller destination-driven flow unless the user explicitly needs full static catalog sync.
130
+
131
+ ## Typical Requests
132
+
133
+ Use these patterns by default:
134
+
135
+ - Static data and filters: `/region/countries`, `/region/cities`, `/region/popularCities`, `/region/businesses`, `/region/districts`, `/region/pois`, and `/hotel/groupBrand`.
136
+ - Standard catalog sync: `/search/hotelIdList` -> `/hotel/detail`; maintain with `/hotel/increment` -> `/hotel/detail`.
137
+ - Lightweight discovery: `/search/destination` -> `/search/hotelFilters` -> `/search/hotelList` -> `/hotel/detail`/`/hotel/images` -> `/booking/productDetails`.
138
+ - Search and booking: `/hotel/lowestPrice` for list display/reference -> `/booking/productDetails` for hotel detail -> `/booking/availabilityCheck` -> optional second `/booking/availabilityCheck` -> `/booking/createOrder` -> `/booking/payOrder` -> order push/callback primary, `/order/orderDetail` as compensation.
139
+ - Order aftercare: `/order/cancelOrder`, order push/callback, `/order/orderDetail`, `/order/checkInDetail`, `/order/checkoutRequest`, `/order/checkoutDetail`.
140
+ - Finance: `/order/invoiceRequest`, `/order/invoiceInfo`, `/search/creditBalance`.
141
+
142
+ ## Output Expectations
143
+
144
+ When answering or coding with this skill:
145
+
146
+ - Prefer concrete request examples over abstract summaries.
147
+ - Name the source used when the current swagger/code and bundled references disagree, but keep customer-facing answers on our short interface paths.
148
+ - State whether the recommendation follows Standard API Integration or Lightweight Integration Flow when giving onboarding advice.
149
+ - State which environment the credential belongs to.
150
+ - State whether the payload should contain only business fields.
151
+ - Call out Glink-managed field residue in the swagger when relevant.
152
+ - Call out auth failures with the likely root cause and the exact header or field to inspect.
153
+ - For code changes, keep internal Glink integration auth and platform gateway auth clearly separated.
@@ -1,4 +1,4 @@
1
- interface:
2
- display_name: "Glink OpenAPI 接入"
3
- short_description: "Glink 酒店开放接口鉴权、签名和业务调用"
4
- default_prompt: "Use $glink-hotel-api to implement or debug Glink hotel OpenAPI auth, signatures, endpoint selection, and order workflows."
1
+ interface:
2
+ display_name: "Glink OpenAPI 接入"
3
+ short_description: "Glink 酒店开放接口鉴权、签名和业务调用"
4
+ default_prompt: "Use $glink-hotel-api to implement or debug Glink hotel OpenAPI auth, signatures, endpoint selection, and order workflows."