HaibaraAiAPTX

HaibaraAiAPTX

@HaibaraAiAPTX

GitHub
10 Skills
3 Total Stars
February 2026 Joined

Public Skills

generate-artifacts

by HaibaraAiAPTX

"Generate generic frontend artifacts from OpenAPI via aptx-ft, including model files and request clients. Use when user wants one standard flow for most frontend projects without framework-specific business adaptation."

API Dev 1 3mo ago

adapt-materal-enums

by HaibaraAiAPTX

"Materal-specific enum adaptation workflow: fetch enum values from provider API, let LLM fill suggested_name, then apply patch with aptx-ft to generate final TypeScript models. Use only when Materal naming rules are required."

Processing 1 3mo ago

download-openapi

by HaibaraAiAPTX

"Download remote OpenAPI JSON to local file via aptx-ft. Use when user asks to fetch swagger/openapi from URL, save spec to openapi.json, or prepare local input for later model/service generation."

API Dev 1 3mo ago

aptx-api-plugin-retry

by HaibaraAiAPTX

"使用 @aptx/api-plugin-retry 实现请求重试。用于:配置重试次数、设置固定或动态延迟策略、定义 retryOn 判定函数(NetworkError/TimeoutError)、防止非幂等请求重试、跟踪重试次数、createRetryMiddleware API。当代码需要重试功能或 createRetryMiddleware 时触发。"

API Dev 0 3mo ago

aptx-token-store-cookie

by HaibaraAiAPTX

"Implement cookie-based token storage using @aptx/token-store-cookie. Use when code needs to store authentication tokens in browser cookies with: (1) Configurable token/meta cookie names, (2) Automatic expiresAt to cookie expires synchronization, (3) Cookie options (path/sameSite/secure), (4) createCookieTokenStore API integration"

API Dev 0 3mo ago

aptx-api-plugin-auth

by HaibaraAiAPTX

"使用 @aptx/api-plugin-auth 实现 token 认证中间件和控制器。支持自动添加 Authorization header、token 刷新(主动/被动401处理)、防止重复刷新、失败回调。触发条件:用户请求认证功能(配置中间件、处理401刷新、管理token)或代码涉及 createAuthMiddleware/createAuthController 时使用。"

API Dev 0 3mo ago

aptx-token-store

by HaibaraAiAPTX

"使用 @aptx/token-store 定义或实现 token 持久化。用于:实现 TokenStore 接口、支持同步/异步 API(getToken/setToken/clearToken)、可选的元数据方法、实现不同存储后端(cookie、localStorage、小程序、内存)、配合 @aptx/api-plugin-auth 使用。当代码需要实现自定义 TokenStore 时触发。"

API Dev 0 3mo ago

aptx-api-core

by HaibaraAiAPTX

"使用 @aptx/api-core 进行 HTTP 请求的指导。用于:创建和配置 RequestClient、实现 middleware/plugin、替换核心组件(Transport/Decoder 等)、处理错误、监听事件、使用 Context Bag、测试扩展。当代码需要理解或修改 @aptx/api-core 的架构、扩展机制、最佳实践时触发。"

API Dev 0 3mo ago

aptx-api-plugin-csrf

by HaibaraAiAPTX

"使用 @aptx/api-plugin-csrf 添加 CSRF 保护。触发条件:当代码需要在请求中添加 CSRF token、配置 cookie/header 名称、处理 SSR/Node 环境的 cookie 读取、或使用 createCsrfMiddleware 时使用。"

API Dev 0 3mo ago

Source Code Into Skill

by HaibaraAiAPTX

Guides users through the process of creating and publishing library skills, including structure design, content organization, and validation workflows

API Dev 0 4mo ago