/datasphere-space-template
Space type: development, analytics, integration, sandbox
$ npx -y skills add secondsky/sap-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/datasphere-space-template
Context preview
What this command does when you run it.
Space type: development, analytics, integration, sandbox
Command definition
datasphere-space-template.mdname: datasphere-space-template
description: Generate SAP Datasphere space configuration templates with best practices
allowed-tools:
- Read
- AskUserQuestion
argument-hint: "<development|analytics|integration|sandbox>"
arguments:
- name: type
description: "Space type: development, analytics, integration, sandbox"
required: trueShell Snippet Notes
- Shell snippets assume Bash on Linux/macOS, WSL2, or Git Bash.
- Install the command-specific tooling shown near each snippet before running it.
- Confirm before running commands that delete files, change ownership, deploy, or modify remote systems.
Output Contract
Return a space design template, role/quota/data access assumptions, setup sequence, and confirmation points before tenant changes. Default to planning and read-only validation; do not create tenant spaces or local files unless the user explicitly confirms the target.
Generate a Datasphere space configuration template based on the requested type.
Available Space Types
development
Development space for modelers with full build permissions and moderate resources.
analytics
Production analytics space with optimized settings for consumption and reporting.
integration
Integration space focused on data loading, replication, and ETL processes.
sandbox
Sandbox space with minimal resources for experimentation and learning.
---
Template: development
Space Configuration (Development)
{
"space": {
"spaceId": "DEV_<PROJECT>",
"businessName": "Development - <Project Name>",
"description": "Development environment for data modeling and testing",
"settings": {
"storage": {
"diskSize": "50 GB",
"recommendation": "Start with 50GB, expand as needed based on data volume"
},
"memory": {
"inMemory": "16 GB",
"recommendation": "Sufficient for development workloads"
},
"priority": 4,
"priorityNote": "Medium priority (1=highest, 8=lowest)"
}
}
}Recommended Roles
| Role | Users | Purpose | |------|-------|---------| | DW Space Administrator | 1-2 | Space configuration and management | | DW Modeler | 3-5 | Create views, models, flows | | DW Integrator | 1-2 | Configure connections, run flows | | DW Viewer | As needed | View shared objects |
Best Practices
1. **Naming Convention**: Use `DEV_` prefix for all development spaces 2. **Connections**: Create development-specific connections (don't share with production) 3. **Data Access Controls**: Implement early to test security 4. **Content Transport**: Export regularly for backup 5. **Documentation**: Maintain README in space for onboarding
Space Properties to Configure
Space Properties:
Allow Public Objects: true # Enable sharing to other spaces
Enable Audit Logging: true # Track changes for debugging
Data Integration Monitor: Enabled # Monitor flows and tasks
Database User Access: Optional # Create if external tools needed
---
Template: analytics
Space Configuration (Analytics/Production)
{
"space": {
"spaceId": "PROD_ANALYTICS",
"businessName": "Analytics - Production",
"description": "Production analytics space for SAC and external consumption",
"settings": {
"storage": {
"diskSize": "200 GB",
"recommendation": "Size based on analytic model data volumes"
},
"memory": {
"inMemory": "64 GB",
"recommendation": "Higher for concurrent query performance"
},
"priority": 2,
"priorityNote": "High priority for production analytics"
}
}
}Recommended Roles
| Role | Users | Purpose | |------|-------|---------| | DW Space Administrator | 1-2 | Space management only | | DW Modeler | 2-3 | Limited for maintenance | | DW Viewer | Many | Consume analytics |
Best Practices
1. **Naming Convention**: Use `PROD_` prefix for production spaces 2. **View Persistence**: Enable for frequently accessed views 3. **Statistics**: Keep table statistics up-to-date 4. **Monitoring**: Set up alerts for resource usage 5. **Access Controls**: Production data access controls required
Analytic Model Optimization
Optimization Settings:
View Persistence:
- Snapshot: For slowly changing data (refresh daily/weekly)
- Real-time: For frequently changing data (use sparingly)
Partition Strategy:
- Time-based: For historical analysis (Year/Month)
- Range: For large datasets with clear boundaries
Statistics:
- Enable automatic statistics collection
- Schedule during off-peak hours---
Template: integration
Space Configuration (Integration)
{
"space": {
"spaceId": "INT_<SOURCE>",
"businessName": "Integration - <Source System>",
"description": "Data integration hub for <source> data ingestion",
"settings": {
"storage": {
"diskSize": "500 GB",
"recommendation": "Large storage for raw/staging data"
},
"memory": {
"inMemory": "32 GB",
"recommendation": "Moderate memory for transformation"
},
"priority": 3,
"priorityNote": "Medium-high for ETL workloads"
}
}
}Recommended Roles
| Role | Users | Purpose | |------|-------|---------| | DW Space Administrator | 1-2 | Space management | | DW Integrator | 3-5 | Primary role for integration work | | DW Modeler | 2-3 | Staging layer modeling | | DW Viewer | Limited | Troubleshooting only |
Best Practices
1. **Naming Convention**: Use `INT_` prefix with source system name 2. **Layered Architecture**:
- `raw_` prefix: Unchanged source data
- `stg_` prefix: Cleansed staging data
- `out_` prefix: Output to analytics spaces
3. **Task Chains**: Orchestrate complex ETL workflows 4. **Error Handling**: Configure email notifications 5. **Logging**: Enable detailed flow logging
Integration Architecture
Data Layers:
Raw Layer:
-Read more
name: datasphere-space-template
description: Generate SAP Datasphere space configuration templates with best practices
allowed-tools:
- Read
- AskUserQuestion
argument-hint: "<development|analytics|integration|sandbox>"
arguments:
- name: type
description: "Space type: development, analytics, integration, sandbox"
required: trueShell Snippet Notes
- Shell snippets assume Bash on Linux/macOS, WSL2, or Git Bash.
- Install the command-specific tooling shown near each snippet before running it.
- Confirm before running commands that delete files, change ownership, deploy, or modify remote systems.
Output Contract
Return a space design template, role/quota/data access assumptions, setup sequence, and confirmation points before tenant changes. Default to planning and read-only validation; do not create tenant spaces or local files unless the user explicitly confirms the target.
Generate a Datasphere space configuration template based on the requested type.
Available Space Types
development
Development space for modelers with full build permissions and moderate resources.
analytics
Production analytics space with optimized settings for consumption and reporting.
integration
Integration space focused on data loading, replication, and ETL processes.
sandbox
Sandbox space with minimal resources for experimentation and learning.
---
Template: development
Space Configuration (Development)
{
"space": {
"spaceId": "DEV_<PROJECT>",
"businessName": "Development - <Project Name>",
"description": "Development environment for data modeling and testing",
"settings": {
"storage": {
"diskSize": "50 GB",
"recommendation": "Start with 50GB, expand as needed based on data volume"
},
"memory": {
"inMemory": "16 GB",
"recommendation": "Sufficient for development workloads"
},
"priority": 4,
"priorityNote": "Medium priority (1=highest, 8=lowest)"
}
}
}Recommended Roles
| Role | Users | Purpose | |------|-------|---------| | DW Space Administrator | 1-2 | Space configuration and management | | DW Modeler | 3-5 | Create views, models, flows | | DW Integrator | 1-2 | Configure connections, run flows | | DW Viewer | As needed | View shared objects |
Best Practices
1. **Naming Convention**: Use `DEV_` prefix for all development spaces 2. **Connections**: Create development-specific connections (don't share with production) 3. **Data Access Controls**: Implement early to test security 4. **Content Transport**: Export regularly for backup 5. **Documentation**: Maintain README in space for onboarding
Space Properties to Configure
Space Properties: Allow Public Objects: true # Enable sharing to other spaces Enable Audit Logging: true # Track changes for debugging Data Integration Monitor: Enabled # Monitor flows and tasks Database User Access: Optional # Create if external tools needed
---
Template: analytics
Space Configuration (Analytics/Production)
{
"space": {
"spaceId": "PROD_ANALYTICS",
"businessName": "Analytics - Production",
"description": "Production analytics space for SAC and external consumption",
"settings": {
"storage": {
"diskSize": "200 GB",
"recommendation": "Size based on analytic model data volumes"
},
"memory": {
"inMemory": "64 GB",
"recommendation": "Higher for concurrent query performance"
},
"priority": 2,
"priorityNote": "High priority for production analytics"
}
}
}Recommended Roles
| Role | Users | Purpose | |------|-------|---------| | DW Space Administrator | 1-2 | Space management only | | DW Modeler | 2-3 | Limited for maintenance | | DW Viewer | Many | Consume analytics |
Best Practices
1. **Naming Convention**: Use `PROD_` prefix for production spaces 2. **View Persistence**: Enable for frequently accessed views 3. **Statistics**: Keep table statistics up-to-date 4. **Monitoring**: Set up alerts for resource usage 5. **Access Controls**: Production data access controls required
Analytic Model Optimization
Optimization Settings:
View Persistence:
- Snapshot: For slowly changing data (refresh daily/weekly)
- Real-time: For frequently changing data (use sparingly)
Partition Strategy:
- Time-based: For historical analysis (Year/Month)
- Range: For large datasets with clear boundaries
Statistics:
- Enable automatic statistics collection
- Schedule during off-peak hours---
Template: integration
Space Configuration (Integration)
{
"space": {
"spaceId": "INT_<SOURCE>",
"businessName": "Integration - <Source System>",
"description": "Data integration hub for <source> data ingestion",
"settings": {
"storage": {
"diskSize": "500 GB",
"recommendation": "Large storage for raw/staging data"
},
"memory": {
"inMemory": "32 GB",
"recommendation": "Moderate memory for transformation"
},
"priority": 3,
"priorityNote": "Medium-high for ETL workloads"
}
}
}Recommended Roles
| Role | Users | Purpose | |------|-------|---------| | DW Space Administrator | 1-2 | Space management | | DW Integrator | 3-5 | Primary role for integration work | | DW Modeler | 2-3 | Staging layer modeling | | DW Viewer | Limited | Troubleshooting only |
Best Practices
1. **Naming Convention**: Use `INT_` prefix with source system name 2. **Layered Architecture**:
- `raw_` prefix: Unchanged source data
- `stg_` prefix: Cleansed staging data
- `out_` prefix: Output to analytics spaces
3. **Task Chains**: Orchestrate complex ETL workflows 4. **Error Handling**: Configure email notifications 5. **Logging**: Enable detailed flow logging
Integration Architecture
Data Layers:
Raw Layer:
-40 SAP development plugins with evidence-tracked verification SAP development plugins for AI coding assistants, with public-source or package-registry verification tracked where available.
Repo: secondsky/sap-skills
Other commands on sap-skills.
- /abap-cds-model-check
Optional intended usage such as analytical, transactional, reuse, value-help, or extraction
Open command - /abap-cloud-review
Optional target ABAP platform or SAP BTP ABAP Environment release
Open command - /ai-core-deployment-check
Optional runtime or scenario name, such as orchestration, serving, training, or batch
Open command - /api-style-review
Optional API style lens such as REST, OData, OpenAPI, or SDK
Open command - /btp-architecture-review
Optional scenario lens such as extension, integration, analytics, or AI
Open command - /work-zone-content-check
Optional Work Zone edition or content type
Open command

