用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ForceInjection/domain-driven-design-skills --skill integrations命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Conduct deep academic research for philosophy, neuroscience, cognitive science, and theoretical computer science (computability, complexity, AI theory, logic). Use when user asks to: research academic topics, find scholarly papers, conduct literature reviews, analyze citations, synthesize research findings, explore philosophical arguments, investigate consciousness/cognition, study computability/decidability/Turing machines, or analyze academic debates. Triggers on: 'research papers', 'literature review', 'academic sources', 'scholarly articles', 'philosophy of mind', 'computability theory', 'neuroscience studies', 'find papers on', 'what does the research say'.
Create clear action plans with steps, success criteria, and risk awareness. Use before implementing features, making changes, starting projects, or anytime you need a roadmap to success. Triggers on "plan this", "how should we approach", "what's the strategy", "steps to complete", or when facing complex multi-step work.
Add keyboard navigation to a feature using CommandRegistryService. Use when implementing keyboard shortcuts, vim-style navigation, or hotkeys for a page or component.
正在显示 SKILL.md
基于 SOC 职业分类
| name | integrations |
| description | External API integrations with OAuth2, async HTTP, and proper error handling |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","workflow":"integrations"} |
Use this when you need to:
Always use MCP servers in this order:
codebase - Search for integration patterns
search_codebase("OAuth2 async HTTP client REST API patterns", top_k=10)
filesystem - view_file existing clients
read_file("src/casare_rpa/infrastructure/clients/base.py")
git - Check similar integrations
git_log("--oneline", path="src/casare_rpa/infrastructure/clients/")
exa - API documentation research
web_search("OAuth2 best practices 2025", num_results=5)
ref - Official API docs
search_documentation("API", library="google-auth")
from casare_rpa.infrastructure.clients.base import BaseAsyncClient
class ServiceNameClient(BaseAsyncClient):
"""Client for Service API."""
BASE_URL = "https://api.service.com/v1"
async def authenticate(self) -> None:
"""Setup authentication."""
pass
async def make_request(self, method: str, endpoint: str, **kwargs) -> dict:
"""Make authenticated API request."""
url = f"{self.BASE_URL}/{endpoint}"
async with self.session.request(method, url, **kwargs) as resp:
resp.raise_for_status()
return await resp.json()
from casare_rpa.infrastructure.exceptions import RateLimitError, AuthenticationError
try:
result = await client.call_api()
except RateLimitError:
await asyncio.sleep(self.retry_delay)
result = await client.call_api()
except AuthenticationError:
await client.refresh_token()
result = await client.call_api()
from google.oauth2.credentials import Credentials
from google.auth.transport.requests import Request
async def get_creds(token_data: dict) -> Credentials:
creds = Credentials(**token_data)
if creds.expired:
await creds.refresh(Request())
return creds