codex-abap-skillslisted
Install: claude install-skill williamcorrea23/sap-router-skill
# Codex ABAP Skills — Lint, Rules, Quick Object Creation
Adapted from matt1as/Codex-abap-skills for this orchestrator: abaplint wiring, rule
categories, and fast ABAP object scaffolding via abap-mcp tools and repo templates.
## 1. Scope
| Area | Coverage |
| --- | --- |
| **Linting** | abaplint over `templates/**/*.abap`, local + CI + gates |
| **Rules** | Syntax, security, and Clean ABAP rule categories |
| **Object creation** | abap-mcp create_* tools against a live SAP system |
| **Templates** | 4 ready `.abap` sources in `templates/` (ZROUTER family) |
## 2. Lint Workflow (Local)
```bash
# Static analysis of all ABAP templates
npm run abap:lint
# Auto-fix what abaplint can fix (pretty-print, keywords case)
npm run abap:lint:fix
# Watch mode while editing templates/
npm run abap:lint:watch
# Lint only files changed since last commit
npm run abap:lint:changed
```
No `abaplint.json` exists at the repo root — abaplint runs with its default ruleset.
To pin rules, generate a config once and commit it:
```bash
npx abaplint --default > abaplint.json
```
## 3. Lint in CI and Review Gates
```bash
# JSON report for CI consumption (writes abaplint-report.json)
npm run abap:lint:ci
# Full review: lint + security gate + clean code gate
npm run abap:review
# Pre-release transport gate (blocks on findings)
npm run abap:review:transport
# HTML report (writes abap-review-report.html)
npm run abap:review:report
```
`abap:review:*` pipes abaplint JSON into `scripts/abap-revie