用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/williamcorrea23/sap-router-skill --skill sap-api-policy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | sap-api-policy |
| description | SAP API Management policy design and governance — security, traffic, mediation, lifecycle |
| trigger | {"keywords":["api policy","api management","api proxy","rate limiting","api security","api key","api business hub","openapi spec sap","api gateway","api lifecycle"],"intent":"Designing and managing API policies on SAP BTP API Management / Integration Suite"} |
| prerequisites | ["SAP BTP API Management or Integration Suite entitlement","API Portal access (https://<subaccount>.apim.cfapps.<region>.hana.ondemand.com)","Postman or curl for testing","Backend API endpoint (SAP Gateway, CAP, or external)"] |
Client → API Gateway (SAP API Management)
├─ Security: OAuth2, API Key, Basic Auth
├─ Traffic: Rate Limit, Spike Arrest, Caching
├─ Mediation: JSON↔XML, XSLT, URL Rewrite
└─ Monitoring: Analytics, Alerts
<!-- OAuth2: validate XSUAA token -->
<OAuthV2 async="false" continueOnError="false" enabled="true">
<ExternalAuthorization>false</ExternalAuthorization>
<Operation>VerifyAccessToken</Operation>
<SupportedGrantTypes>
<GrantType>client_credentials</GrantType>
</SupportedGrantTypes>
</OAuthV2>
<!-- JSON Threat Protection -->
<JSONThreatProtection>
<ArrayElementCount>100</ArrayElementCount>
<ContainerDepth>10</ContainerDepth>
<StringValueLength>50000</StringValueLength>
</JSONThreatProtection>
<!-- Spike Arrest: 100 req/s -->
<SpikeArrest><Rate>100ps</Rate>
<Identifier ref="request.header.X-Forwarded-For"/></SpikeArrest>
<!-- Monthly Quota: 10K requests -->
<Quota type="calendar"><Allow count="10000"/>
<Interval>1</Interval><TimeUnit>month</TimeUnit>
<Distributed>true</Distributed></Quota>
<!-- Rewrite OData path + inject client -->
<AssignMessage>
<Set><Path>/sap/opu/odata/sap/ZMATERIAL_SRV/</Path>
<QueryParams><QueryParam name="sap-client">100</QueryParam></QueryParams>
</Set>
</AssignMessage>
| Phase | Activity |
|---|---|
| Design | OpenAPI spec → review in API Business Hub |
| Develop | Implement backend (CAP/ABAP) |
| Secure | Apply OAuth2 + threat + rate limit policies |
| Publish | Deploy proxy → expose endpoint |
| Monitor | Analytics dashboard |
| Deprecate | Sunset old versions → redirect |
| Retire | Remove proxy |
ProxyEndpoint PreFlow → TargetEndpoint PreFlow → backend →
TargetEndpoint PostFlow → ProxyEndpoint PostFlow
x-csrf-token: Fetch first, then POST/PUT with x-csrf-token: <token>.<Distributed>true</Distributed> on Quota policy.# Test proxy health
curl -s -o /dev/null -w "%{http_code}" https://<proxy>.apim.cfapps.<region>.hana.ondemand.com/health
# Expect: 200
# Check OAuth is working
curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer $TOKEN" \
https://<proxy>/sap/opu/odata/sap/ZMATERIAL_SRV/MaterialSet?\$top=1
# Expect: 200
# Check rate limit headers
curl -sI -H "Authorization: Bearer $TOKEN" https://<proxy>/api/v1/test \
| grep -i x-ratelimit
SAP development orchestrator v5.0.0 — Karpathy command format (Think→Simplify→ Surgical→Verify), healthcheck guardian, self-learning router, caveman-compressed output default. Delegates small-scope work to the cavecrew subagents automatically: find/search/locate → cavecrew-investigator, fix/edit/rename/typo → cavecrew-builder, review/audit/diff → cavecrew-reviewer. Multi-protocol: HTTP/OData/RFC/SOAP RFC/BDC. ZROUTER v5 REST gateway. Install pipeline: YDOWN→ZABAPGIT→ZSAPLINK. BDC engine: YFG_SBDC. Test suites: ZODATA_TEST_AUTOMATION_FGR. Use for any SAP task.
General SAP skills repository reference (secondsky/sap-skills). Use for cross-module SAP capability lookup and reference patterns.
Generate, edit, reconstruct, validate, preview, and safely deploy SAP Smart Forms (SSFO) from PDF, DOCX, XLSX, HTML, or an existing SAP form. Use for AI-assisted document-to-FormSpec extraction, native Smart Forms XML round-trips, ABAP driver generation, abapGit packaging, layout-parity review, activation checks, and governed DEV deployment.
基于 SOC 职业分类