Logo de Atc Remediation

Atc Remediation

Comunidade
matt1as
atc-remediation

Walk through ATC (ABAP Test Cockpit) violations methodically, grouped by category, with concrete fixes per finding. Use when the user asks to fix, remediate, address, or triage ATC findings on an ABAP object, package, or transport. Refuses pseudo-comment suppressions by default. Applies the rule set in ../CLAUDE.md (loaded on invocation). Targets modern ABAP — BTP ABAP Environment and S/4HANA on-prem in the ABAP Cloud development model.

Visão geral

Publicado pormatt1as
Repositórioclaude-abap-skills
Nome da habilidadeatc-remediation
Estrelas
34
Forks
5
Arquivos incluídos
Somente instruções
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por matt1as no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Atc Remediation no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/matt1as/claude-abap-skills/tree/main/abap-cloud-rap/atc-remediation
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/matt1as/claude-abap-skills.git /tmp/claude-abap-skills
mkdir -p .claude/skills
cp -r /tmp/claude-abap-skills/abap-cloud-rap/atc-remediation .claude/skills/atc-remediation
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Atc Remediation em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Atc Remediation automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Atc Remediation não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

abap-cloud-rap:atc-remediation

Walk through ATC violations from the connected ABAP system and fix them methodically, grouped by category, with an explanation per finding.

What this command does

You are taking ATC (ABAP Test Cockpit) results, grouping them by check category, and proposing a concrete fix for each — applying the rules in ../CLAUDE.md. Pseudo-comment suppressions are off-limits unless the user explicitly justifies and approves them.

Tool routing (read carefully). Read the ## Tooling section in ../CLAUDE.md before the first tool call and follow it. For this skill the routing is:

StepPrimaryFallback
Run the ATC checkabap-adt abap_atc_run → poll abap_atc_get_resultarc-1 SAPDiagnose action="atc"
Discover check variantsarc-1 SAPDiagnose action="atc_variants"ask the user for the variant name
Read the offending sourcearc-1 SAPRead (use grep= to pull just the finding's lines)ask the user to paste it
Mechanical fixesabap-adt abap_atc_execute_deterministic_quickfixes; for the rest, abap_atc_apply_ai_fix + abap_atc_get_ai_fix_resultarc-1 SAPDiagnose action="quickfix" → "apply_quickfix" (returns deltas, writes nothing)
Write the fix back and activateabap-adt abap_creation-create_object / abap_activate_objectsarc-1 SAPWrite + SAPActivate when write scope is enabled — syntax-check with SAPDiagnose action="syntax" first, read back after; otherwise hand the diff to the user

If neither server exposes ATC, ask the user to paste ATC results from ADT. Never invent ATC findings.

An expired session shows up as an error like Your user was logged off — that is an auth failure on that server, not a missing capability. Fall back for this run and tell the user which server needs re-authentication.

Inputs to collect

If not provided, ask which of these to target. Default to the narrowest scope.

  • A single ABAP object name
  • A package name (list its contents first with arc-1 SAPRead type=DEVC so the user can confirm the scope)
  • A transport request number
  • An existing ATC run / result ID (abap_atc_get_result with the stored worklistId)

Also ask which check variant to run against, defaulting to ABAP_CLOUD_DEVELOPMENT_DEFAULT for ABAP Cloud development scope. Confirm it exists with arc-1 SAPDiagnose action="atc_variants" rather than assuming.

Procedure

  1. Get ATC results. Run the check per the tool-routing table above — abap-adt abap_atc_run first, arc-1 SAPDiagnose action="atc" on hard failure, pasted output only when neither works. abap_atc_run returns a worklistId; the run is asynchronous, so poll abap_atc_get_result until the counts stop changing before you start grouping.
  2. Group findings by check category. Typical categories:
    • Clean Core / Cloud compatibility — unreleased API usage, direct SELECT on SAP-owned tables, language-version violations
    • Security & Authorization — missing authorization checks, unsafe SQL, hard-coded user IDs
    • Performance — SELECT *, missing indexes, table reads in loops
    • Code quality / Clean ABAP — magic numbers, method length, parameter count, CREATE OBJECT, chained declarations
    • CDS / RAP modelling — missing mandatory annotations, incorrect composition/association, missing draft setup
    • Testing — missing ABAP Unit, test classes that hit live data
  3. For each finding, in priority order (Cloud compatibility → Security → Performance → Code quality → CDS/RAP → Testing):
    • State the violation in one sentence
    • Cite the ATC check name and severity
    • Identify the root cause — name the rule from CLAUDE.md that applies
    • Show the fix as a Before/After code snippet
    • Propose the action: auto-apply, ask before applying, or manual only (see severity ladder below)
  4. Severity ladder for auto-apply decisions:
    • Auto-apply candidates — mechanical fixes that cannot change behavior: missing annotations (@AccessControl.authorizationCheck, @AbapCatalog.preserveKey), CREATE OBJECT → NEW, READ TABLE + sy-subrc → line_exists, chained DATA: declarations split. Even auto-apply candidates require batch confirmation, never silent application.
    • Ask-before-applying — fixes that touch logic shape but not semantics: EXPORTING → RETURNING (only if no caller depends on IS SUPPLIED), method extraction, magic-number → named constant.
    • Manual only — fixes that change interfaces, exceptions, or data access patterns: replacing SELECT FROM vbak with SELECT FROM I_SalesOrder (column names differ), replacing unreleased function modules, removing a missing authorization block.
  5. Never suppress with pseudo-comments unsolicited. "#EC NOTEXT, "#EC CI_USAGE_OK, and friends are not fixes. Refuse to insert them by default. If the user requests suppression, demand: (a) the specific check name, (b) a one-sentence written justification, (c) a JIRA/issue link if one exists. Emit the pseudo-comment with the justification in a comment above it.
  6. After each batch of fixes, re-run ATC on the same scope and variant — via the same server you used for the baseline, so the counts are comparable — and report the delta: violations resolved, violations remaining, new violations introduced (if any — back out the offending change).

Output format

# ATC Remediation — <SCOPE>

Variant: <check variant>
Results from: abap-adt (worklistId <id>) | arc-1 SAPDiagnose | pasted by user
Total findings: <N>

## Category breakdown
| Category                       | Total | Auto-apply | Ask | Manual |
|--------------------------------|-------|------------|-----|--------|
| Clean Core / Cloud             | N     | N          | N   | N      |
| Security & Authorization       | N     | N          | N   | N      |
| Performance                    | N     | N          | N   | N      |
| Code quality / Clean ABAP      | N     | N          | N   | N      |
| CDS / RAP modelling            | N     | N          | N   | N      |
| Testing                        | N     | N          | N   | N      |

## Findings

### Category: Clean Core / Cloud
#### F-001 — <one-line violation>
- **Object:** <name> line <N>
- **ATC check:** <check name> — severity <error|warning|info>
- **Root cause rule:** <rule-name from CLAUDE.md>
- **Before:**
` ` `abap
<offending code>
` ` `
- **After:**
` ` `abap
<fixed code>
` ` `
- **Disposition:** auto-apply | ask | manual
- **Note:** <if any — e.g. "released CDS view I_SalesOrder used in place of VBAK; field name differs from VBELN to SalesOrder">

(repeat per finding, grouped by category)

## Apply plan
- Auto-apply batch: N changes across M objects — confirm before writing.
- Ask-before-applying: N changes — I will confirm each one.
- Manual: N changes — listed above with full context for you to do by hand.

## Suppressions requested by user
<empty by default; if user explicitly requested any, listed here with justification>

Hard rules for this command

  • Follow the tool-routing table. Official abap-adt ATC first, arc-1 SAPDiagnose as fallback, pasted output last. Never invent ATC findings.
  • Name the server in the report. The reader needs to know whether the counts came from abap-adt or arc-1 to reproduce them.
  • Always group by category. A flat list of 200 findings is unactionable.
  • Always cite the ATC check name. "Fix this" is not a remediation.
  • Never apply a fix that changes semantics without asking. EXPORTING→RETURNING is borderline — confirm.
  • Refuse pseudo-comment suppression by default. Only emit with an explicit user-provided justification in a comment above the suppressed line.
  • Re-run ATC after each batch. Report the delta. If new findings appear, roll back the change that introduced them and report.
  • One object = one transaction. Do not write across many objects in a single irreversible batch.

Perguntas frequentes

O que a habilidade de IA Atc Remediation faz?

Walk through ATC (ABAP Test Cockpit) violations methodically, grouped by category, with concrete fixes per finding. Use when the user asks to fix, remediate, address, or triage ATC findings on an ABAP object, package, or transport. Refuses pseudo-comment suppressions by default. Applies the rule set in ../CLAUDE.md (loaded on invocation). Targets modern ABAP — BTP ABAP Environment and S/4HANA on-prem in the ABAP Cloud development model.

Por que usar Atc Remediation no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Atc Remediation é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Atc Remediation no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/matt1as/claude-abap-skills/tree/main/abap-cloud-rap/atc-remediation. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Atc Remediation?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Atc Remediation?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Atc Remediation com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Atc Remediation é gratuita?

Sim. A habilidade é publicada no GitHub por matt1as sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇