SuperAPI AI Directory

account-delete

General & other

View repository

Updated 10-15 21:08

About this skill

Account Delete

Deleting the ad account and all related configuration files.


What is deleted

.claude/ads-agent/config/
├── ad_accounts.md          ← удаляется секция аккаунта
├── briefs/{account}.md     ← удаляется файл
└── naming/{account}_naming.md  ← удаляется файл (если есть)

Workflow (4 steps)

Step 1: Account selection

Какой аккаунт удалить?

Show the list of .claude/ads-agent/config/ad_accounts.md:

Доступные аккаунты:

| # | Название | Account ID | Статус |
|---|----------|------------|--------|
| 1 | Bas Dent | act_805414428109857 | активен |
| 2 | Profimed | act_1106872004544227 | активен |

Введи номер или название аккаунта:

Step 2: Confirmation

IMPORTANT: Show what will be deleted:

⚠️ ВНИМАНИЕ: Будут удалены следующие файлы:

1. briefs/{account}.md — бриф аккаунта
2. naming/{account}_naming.md — правила нейминга (если есть)
3. Секция в ad_accounts.md — запись об аккаунте

Данные в Facebook Ads НЕ затрагиваются — удаляется только локальная конфигурация.

Подтвердить удаление? (да / нет)

Step 3: Deleting files

Upon confirmation:

  1. Delete the brief:

    rm .claude/ads-agent/config/briefs/{account}.md
    
  2. Delete naming rules (if any):

    rm .claude/ads-agent/config/naming/{account}_naming.md
    
  3. Delete the section from ad_accounts.md:

    • Find the section ## Аккаунт N: {Название}
    • Delete the entire section up to the next ---

Step 4: Deletion confirmation

✅ Аккаунт {название} удалён

Удалено:
- [x] briefs/{account}.md
- [x] naming/{account}_naming.md (или "не было")
- [x] Секция в ad_accounts.md

Данные в Facebook Ads не затронуты.

Usage example

User: /account-delete