How babamba2/superclaude-for-sap works
sc4sap is a Claude Code plugin for SAP ABAP development. Its main workflow is a user request handled in Claude Code, which uses the configured MCP bridge to access SAP and can return ABAP changes or analysis. The README also describes setup and profile switching, protected environments, code generation and review, process/specification work, and operational diagnosis. The supplied tree and excerpts expose only some runtime implementation, so documented capabilities without a supported source path are shown without one, and uncertain internal wiring is omitted.
Main entry points: mcp-server.cjs MCP server bridge · profile-resolve.mjs Profile resolution · sap-profile-cli.mjs Profile management · sap-option-tui.mjs Profile switching
Components 21
SAP access
- MCP server bridge
bridge/mcp-server.cjs - Read-only guard
scripts/hooks/tier-readonly-guard.mjs
Setup and profiles
- MCP setup
scripts/setup-init.mjs - Profile management
scripts/sap-profile-cli.mjs - Profile switching
scripts/sap-option-tui.mjs - Profile resolution
scripts/lib/profile-resolve.mjs
ABAP development
- Plugin workflows
- ABAP generation
- Analyze and review
- Package to process
- Maintenance diagnosis
- Spec rendering
scripts/spec/screen-image-renderer.mjs - Deliverable checks
scripts/verify-deliverables.mjs
Session support
- Project memory
scripts/project-memory-session.mjs - Context guard
scripts/context-guard-stop.mjs - Session HUD
scripts/hud/statusline.mjs - Usage API
scripts/hud/lib/usage-api.mjs
Other components
- Developer
- Claude Code
- SAP system
- Anthropic API
Connections 22
- Developer → Claude Code: requests work
- Claude Code → Plugin workflows: dispatches workflows
- Plugin workflows → MCP server bridge: uses MCP
- MCP server bridge → SAP system: connects to
- Claude Code → MCP setup: runs setup
- Claude Code → Profile management: manages profiles
- Claude Code → Profile switching: switches profile
- Profile management → Profile resolution: resolves profile
- Profile switching → Profile resolution: resolves profile
- MCP server bridge → Profile resolution: resolves environment
- Claude Code → Read-only guard: checks tool access
- Plugin workflows → ABAP generation: generates ABAP
- Plugin workflows → Analyze and review: analyzes objects
- Plugin workflows → Package to process: documents processes
- Plugin workflows → Maintenance diagnosis: diagnoses issues
- Plugin workflows → Spec rendering: renders specifications
- Plugin workflows → Deliverable checks: verifies outputs
- Claude Code → Project memory: injects session context
- Claude Code → Context guard: checks context
- Claude Code → Session HUD: renders status
- Session HUD → Usage API: fetches usage
- Usage API → Anthropic API: queries usage