arc-1-skills
Skill1 starsChanged 4 months agoMITView on GitHub
ARC-1 agentic SAP development skills (arc-mcp/arc-1/skills). Reference for ADT tools, code activation, and automated ABAP editing. Covers the 8 arc-1 MCP tools (SAPContext, SAPDiagnose, SAPLint, SAPManage, SAPNavigate, SAPRead, SAPSearch, SAPTransport), the read-edit-activate-transport flow, and arc-1's role as PRIMARY ADT MCP in the routing tree.
- Reads credentials
In this repository413 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .cursor/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sap-router-skillCopilot instructions
- .cursor/rules/sap-router.mdcCursor rule
- abap-cloud-migrationSkill
- abap-cloudSkill
- abap-code-patternsSkill
- abap-code-reviewSkill
- abap-docs-referenceSkill
- abapgitSkill
- abapSkill
- abap-snippetSkill
- abap-sql-amdpSkill
- abap-system-infoSkill
- abap-unit-testingSkill
- atc-cloudificationSkill
- authorization-iamSkill
- automation-pilot-catalog-explorerSkill
- automation-pilot-command-generationSkill
- automation-pilot-command-reviewSkill
- automation-pilot-content-management-via-apiSkill
- automation-pilot-debuggerSkill
- automation-pilot-executions-apiSkill
- automation-pilot-executor-executescriptSkill
- automation-pilot-executor-httprequestSkill
- automation-pilot-mcp-server-generationSkill
- automation-pilot-scheduled-executions-apiSkill
- badi-enhancementSkill
- btp-abap-environmentSkill
- btp-best-practicesSkill
- btp-build-work-zoneSkill
- btp-business-application-studioSkill
- btp-ciasSkill
- btp-cloud-foundrySkill
- btp-cloud-identitySkill
- btp-cloud-loggingSkill
- btp-cloud-platformSkill
- btp-cloud-transport-managementSkill
- btp-connectivitySkill
- btp-developer-guideSkill
- btp-diagram-generatorSkill
- btp-integration-suiteSkill
- btp-job-schedulingSkill
- btp-master-data-integrationSkill
- btp-service-managerSkill
- cap-add-remote-serviceSkill
- cap-developerSkill
- cap-triviaSkill
- capture-answerSkill
- cap-upgradeSkill
- cds-view-entitiesSkill
- claude-abap-skillsSkill
- claude-memSkill
- clean-abapSkill
- context-modeSkill
- cpi-iflow-developmentSkill
- engine-cap-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
If arc-1 is down, the TieredFallback engine (scripts/fallback_engine.py) cascades ADT -> RFC -> GUI -> BDC -> Offline -> Manual.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ARC-1 — Primary ADT MCP for Agentic ABAP Development
arc-1 is the PRIMARY ADT MCP of this orchestrator. All ADT-class operations (read source,
edit, activate, lint, transport) route to arc-1 first, then aibap (secondary), then
mcp-sap-gui (fallback). See scripts/sap_router.py (SapRouter.get_route()).
1. Tool Map — When to Use Which
| Tool | Use for |
| SAPContext | System/session context — SID, client, user, release. Call first in a new session |
| SAPSearch | Find objects by name/type when you do not know the exact object name |
| SAPNavigate | Jump between related objects — includes, super/subclasses, where-used |
| SAPRead | Read source code and metadata of a known object (class, program, CDS, table) |
| SAPLint | Static checks (syntax, ATC-style) on source BEFORE activation |
| SAPManage | Create / modify / activate / delete objects — all write operations |
| SAPDiagnose | Short dumps (ST22-style), traces, runtime diagnostics after failures |
| SAPTransport | List / create / assign / release transport requests |
Rule of thumb: read-only questions -> SAPSearch/SAPRead/SAPNavigate. Changes -> SAPLint -> SAPManage -> SAPTransport. Failures -> SAPDiagnose.
2. Route Through the Orchestrator
# Let the router pick arc-1 (ADT-first) for the action:
npm run router -- --action ADT_READ_SOURCE
python scripts/sap_router.py route --action ADT_EDIT_CLASS
# Force GUI fallback only when ADT cannot do it (SPRO, dynpro):
npm run router:gui -- --action SPRO_CONFIGIf arc-1 is down, the TieredFallback engine (scripts/fallback_engine.py) cascades
ADT -> RFC -> GUI -> BDC -> Offline -> Manual. Do not hand-code fallbacks.
3. Typical Flow: Read -> Edit -> Activate -> Transport
- Context —
SAPContextto confirm system/client (never assume DEV). - Locate —
SAPSearchfor the object;SAPNavigateto find the exact include/method. - Read —
SAPReadto get current source. Edit surgically (Karpathy: touch only what's needed). - Lint —
SAPLinton the modified source. Fix findings before writing. - Write —
SAPManageto save the change (object goes INACTIVE). - Activate —
SAPManageactivate. An inactive object is invisible to runtime. - Transport —
SAPTransportto assign the object to a modifiable request. Release only at gate (npm run abap:review:transport). - Verify —
SAPReadthe active version back;SAPDiagnoseif execution dumps.
4. Health and Learning
# Probe arc-1 (HIGH criticality) + .env completeness:
npm run hc
npm run hc:prompt # interactive fix for missing SAP_HOST/SAP_USER/SAP_PASSWORD
# Feed routing telemetry so self_learn.py keeps arc-1 primary:
npm run learn:mcp -- --mcp arc-1 --latency 245 --success true
npm run learn:route -- --action ADT_EDIT_CLASS --success truePitfalls
- 401/403 on every arc-1 call → Cause: SAP credentials missing or wrong in .env, or user lacks S_DEVELOP. Solution: run
npm run hc:promptto fill SAP host/user/password; confirm developer role with Basis. - "Object locked by user X" → Cause: object is edit-locked in SE80/ADT by another session (or a stale lock of your own). Solution: retry later or ask the lock owner to release (SM12); never force-delete locks on shared objects.
- Change saved but behavior unchanged → Cause: object left INACTIVE — SAPManage save without activate. Solution: always activate after write and re-read the active version to confirm.
- Activation fails with syntax errors → Cause: edit broke dependent objects or lint step was skipped. Solution: run
SAPLintbeforeSAPManagewrite; useSAPNavigatewhere-used to check dependents;SAPDiagnosefor details. - "Not assigned to a transport" on save → Cause: object in a transportable package but no modifiable request. Solution:
SAPTransportcreate/assign a workbench request first, or use $TMP for throwaway objects. - arc-1 timeout / connection refused → Cause: MCP server down or SAP host unreachable. Solution:
npm run hcto confirm; router auto-falls back to aibap then GUI — do not bypass the fallback engine.
Verification
# 1. arc-1 healthy and env complete:
npm run hc
# 2. Router resolves an ADT action to arc-1 (primary):
python scripts/sap_router.py route --action ADT_READ_SOURCE
# 3. After an edit: SAPRead the object and confirm version = active,
# then gate before release:
npm run abap:review:transportRelated
- sap-router-skill — master routing tree (ADT -> arc-1 first, GUI fallback)
- abap-code-review — 9-dimension GO/NO-GO gate before SAPTransport release
- sap-transport-gate / sap-transport-management — transport landscape rules
- karpathy-guidelines — Think, Simplify, Surgical, Goal-Verify wrapper for every edit
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

