Token导航 LogoToken导航TokenDH.com
开发规范需要联网github未标认证来源可访问clear审计通过

sap-btp-best-practicesSAP BTP 最佳实践

Agent Skill

sap-btp-best-practices 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,199

周安装

136

GitHub Stars

239

下载量

1,121
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sap-btp-best-practices(SAP BTP 最佳实践)
来源仓库:https://github.com/secondsky/sap-skills
仓库路径:skills/sap-btp-best-practices
安装命令:
npx skills add https://github.com/secondsky/sap-skills --skill sap-btp-best-practices
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/secondsky/sap-skills --skill sap-btp-best-practices

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中整理代码变更事项。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • 可结合原始 README 进一步核验具体用法和功能边界。

SKILL.md

SAP BTP Best Practices

Related Skills

  • sap-btp-cloud-platform: Use for technical implementation details, CLI commands, and runtime configurations
  • sap-btp-connectivity: Use for connectivity patterns, destination configuration, and Cloud Connector setup
  • sap-btp-service-manager: Use for service lifecycle management and programmatic service operations
  • sap-btp-developer-guide: Use for development workflows, CAP integration, and application patterns
  • sap-cap-capire: Use when designing CAP applications on BTP or implementing multitenancy
  • sap-fiori-tools: Use for UI deployment strategies and frontend application guidelines

Production-ready SAP BTP implementation guidance based on official SAP documentation.

Quick Links:


Table of Contents

  1. Platform Fundamentals
  2. Account Model Setup
  3. Security and Authentication
  4. Connectivity
  5. Governance and Teams
  6. Development
  7. AI Development
  8. Deployment and Delivery
  9. High Availability and Failover
  10. Operations and Monitoring
  11. Cost Management
  12. Bundled Resources

Platform Fundamentals

Account Hierarchy

Global Account (SAP contract)
├── Directory (optional, up to 7 levels)
│   └── Subaccount (region-specific, apps run here)
│       ├── Cloud Foundry Org → Spaces
│       └── Kyma Cluster → Namespaces
└── Subaccount

Key Points:

  • Global account = contract with SAP (one per commercial model)
  • Directory = groups subaccounts (max 7 levels deep)
  • Subaccount = deployed in specific region, enables runtimes
  • Use labels for virtual grouping (Dev/Test/Prod, cost centers)

Environments

EnvironmentUse CaseKey Features
Cloud FoundryPolyglot appsMultiple buildpacks, spaces
KymaCloud-native K8sOpen-source, namespaces
ABAPABAP extensionsRAP, cloud-ready ABAP
NeoLegacyMigrate away - HTML5, Java, HANA XS

Commercial Models

  • Consumption-Based (BTPEA/CPEA): Flexible access, best for pilots
  • Subscription-Based: Fixed-cost for known service needs

Best Practice: Start with consumption-based, move to subscription for stable workloads.


Account Model Setup

Simple Model (3 subaccounts)

Global Account
├── Dev Subaccount
├── Test Subaccount
└── Prod Subaccount

Best for: Initial implementations, single team, <3 projects

Directory Model (scalable)

Global Account
├── Directory: HR
│   ├── hr-dev / hr-test / hr-prod
├── Directory: Sales
│   ├── sales-dev / sales-test / sales-prod
└── Directory: Central IT
    ├── api-management
    └── shared-services

Best for: Multiple teams, cost allocation, complex governance

Naming Conventions

EntityConventionExample
SubaccountNatural language"HR Development"
SubdomainLowercase, hyphenshr-dev-acme
CF OrgCompany prefixacme-hr-dev
CF SpaceConsistent across stageshr-recruiting

Tip: Derive CF org/Kyma names from subaccount names for consistency.


Security and Authentication

Identity Provider Setup

Always use SAP Cloud Identity Services - Identity Authentication

Corporate IdP → Identity Authentication (proxy) → SAP BTP

Critical Steps:

  1. Add multiple administrators (different time zones)
  2. Enable MFA for all admins
  3. Configure security alerts
  4. Set up backup admins in SAP ID Service

Authorization Methods

MethodBest ForNotes
ProvisioningProduction, many usersCentralized roles, automated offboarding
FederationSimple scenariosReal-time sync, but doesn't scale well
ManualTesting onlyQuick setup, not production-ready

Destination Authentication

Recommended:

  • PrincipalPropagation - SAP on-premise systems
  • OAuth2SAMLBearerAssertion - Third-party systems
  • OAuth2JWTBearer - User token exchange

Avoid in Production:

  • BasicAuthentication
  • OAuth2Password

See: references/security-and-authentication.md for complete guidance


Connectivity

Remote System Access

  • Internet Services: Destinations with authentication
  • On-Premise Systems: Destinations + Cloud Connector

Cloud Connector

  • Lightweight on-premise agent
  • Secure tunnel to SAP BTP (no inbound ports)
  • Fine-grained access control
  • Supports RFC and HTTP protocols
  • Enables principal propagation

Note: Each subaccount needs separate Cloud Connector config.


Governance and Teams

Required Teams

Platform Engineering Team (Center of Excellence):

  • Manages cloud landscape infrastructure
  • Handles account operations, build infrastructure
  • Creates governance and compliance guidelines
  • Does NOT manage individual application lifecycles

Cloud Development Teams:

  • Follow DevOps (develop AND operate)
  • Responsible for application lifecycle
  • Regular maintenance (e.g., UI updates every 6 months)

Essential Documentation

  1. Onboarding Doc: Organization, app IDs, timeline, tech stack
  2. Security Doc: Data sensitivity, policies, auth framework
  3. Services Catalog: Templates for destinations, builds, schemas

Development

Programming Models

SAP CAP (Cloud Application Programming Model):

  • Framework with languages, libraries, tools
  • Supports Java, JavaScript, TypeScript
  • Enterprise-grade services and data models

ABAP Cloud:

  • Modern ABAP for cloud-ready apps
  • RAP (RESTful ABAP Programming Model)
  • Extensions for ABAP-based products

Development Lifecycle

  1. Explore: Business opportunity, team roles
  2. Discover: Use cases, technology options
  3. Design: UX design, domain-driven design
  4. Deliver: Landscape setup, development
  5. Run and Scale: Feedback, optimization

AI Development

SAP BTP provides AI capabilities through SAP AI Core for:

  • Generative AI (LLMs, RAG)
  • Narrow AI (classical ML)

Key Resources:

Best Practices:

  • Use service keys for secure authentication
  • Implement PII data masking
  • Build RAG with SAP HANA Cloud Vector Engine
  • Configure content filtering
  • Monitor model drift

Use Cases: 20+ samples including chatbots, PDF extraction, procurement.

See: references/ai-development-best-practices.md for patterns and examples


Deployment and Delivery

Deployment Methods

Cloud Foundry/Neo:

  • Package as MTA archive
  • Deploy via: BTP Cockpit, CF CLI, Business Application Studio

Kyma:

  • Docker images (Dockerfile or Cloud Native Buildpacks)
  • Helm charts for production
  • Deploy via SAP Continuous Integration and Delivery

CI/CD Approaches

SAP Continuous Integration and Delivery:

  • Low expertise required
  • Ready-to-use infrastructure
  • Direct SAP support

Project "Piper":

  • High expertise required
  • Jenkins-based
  • Open-source community support

Best Practice: Combine CI/CD with SAP Cloud Transport Management for governance + agility.

See: references/deployment-and-delivery.md for detailed configs


High Availability and Failover

Multi-Region Architecture

Custom Domain URL
       │
    Load Balancer
       ├── Region 1 (active)
       └── Region 2 (passive/active)

Failover Implementation

Four Core Principles:

  1. Deploy in Two Regions: Near users and backend systems
  2. Keep Synced: CI/CD pipeline or Cloud Transport Management
  3. Define Detection: Monitor 5xx errors, timeouts
  4. Plan Failback: Visual differentiation, user-driven

Legal: Check cross-region data processing restrictions.

See: references/failover-and-resilience.md for implementation details


Operations and Monitoring

Go-Live Checklist

  1. Deploy to production
  2. Set go-live timeframe (avoid quarter-end)
  3. Embed in SAP Fiori Launchpad
  4. Provision business users
  5. Configure role collections

Monitoring Tools

SAP Cloud ALM (Enterprise Support):

  • Real User Monitoring
  • Health Monitoring
  • Integration and Exception Monitoring
  • Job Automation Monitoring

SAP Cloud Logging:

  • Observability across CF, Kyma, Kubernetes

SAP Alert Notification:

  • Multi-channel notifications (email, chat, ticketing)

Cost Management

Best Practices

  1. Check *Costs and Usage* monthly
  2. Provide minimal required entitlements
  3. Use labels for cost allocation
  4. Set up automated alerts (Usage Data Management + Alert Notification)

Contract Strategies

  • Consolidate subscriptions in one global account
  • Use hybrid accounts for mixed workloads
  • Note: Consumption credits non-transferable between global accounts

Bundled Resources

This skill provides comprehensive reference documentation:

Account & Governance

  • references/account-models.md (11K lines)

- Detailed account structure patterns - Naming conventions and examples - Cost allocation strategies

  • references/governance-and-teams.md (13K lines)

- Platform Engineering team structure - Onboarding processes - Documentation templates

Security & Connectivity

  • references/security-and-authentication.md (13K lines)

- Complete auth methods comparison - Destination configuration - Kyma RBAC manifests - Identity lifecycle management

Deployment & Operations

  • references/deployment-and-delivery.md (10K lines)

- MTA descriptor templates - CI/CD pipeline configs - Transport management setup

  • references/operations-and-monitoring.md (11K lines)

- Go-live procedures - Monitoring setup guides - Troubleshooting checklists

High Availability

  • references/failover-and-resilience.md (12K lines)

- Multi-region architecture - Load balancer configurations - Failover automation scripts

Templates & Examples

  • references/templates-and-examples.md (18K lines)

- Complete code templates - Kubernetes RBAC manifests - MTA descriptors - Helm charts - CI/CD configs

AI Development

  • references/ai-development-best-practices.md (6K lines)

- Generative AI patterns - RAG implementation - 20+ use cases catalog

Progress Tracking

  • Implementation status
  • Coverage details
  • Validation checklists

Administration Tools

ToolUse Case
SAP BTP CockpitGUI for all admin tasks
btp CLITerminal/automation scripting
REST APIsProgrammatic administration
Terraform ProviderInfrastructure as Code
SAP Automation PilotLow-code/no-code automation

Shared Responsibility Model

SAP Manages:

  • Platform software updates/patches
  • Infrastructure and OS monitoring
  • BTP service monitoring
  • Capacity management and incidents
  • Global account provisioning
  • HANA database operations
  • Kyma kyma-system namespace

You Manage:

  • Global account strategy and subaccount config
  • Application development, deployment, security
  • Role assignments and integrations
  • Application monitoring and health checks
  • Open source vulnerability scanning
  • Triggering HANA revision updates

Last Updated: 2025-11-27 Review Progress: See SAP_SKILLS_REVIEW_PROGRESS.md Next Review: 2026-02-27 (quarterly)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

32.14%
按下载量换算360

Antigravity

23.66%
按下载量换算265

OpenCode

17.03%
按下载量换算191

Gemini CLI

14.2%
按下载量换算159

windsurf

7.56%
按下载量换算85

trae

3.18%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills