configure-rewards — команда для Claude Code
Команда configure-rewards оркеструет настройку каталога наград программы лояльности, процессы выдачи и финальное тестирование перед запуском.
Apache-2.0 ★ 450 обновлён 2026-04-03
.claude/commands/configure-rewards.mdЧто делает configure-rewards
Команда запускает пятиэтапный конвейер подготовки каталога наград: загрузку условий, проектирование процессов выдачи, аудит комплаенса и рисков, сквозное QA и сборку релизного пакета. В работу вовлекаются роли reward-operations и loyalty-strategist, а также специализированные навыки reward-ops и loyalty-modeling.
Ход выполнения фиксируется в файле .claude/plans/plan-<timestamp>.json с графом зависимостей между юристами, финансистами и операционными командами. При сбоях импорта каталога или тестов транзакций действует лимит из 2 повторов, после чего процесс эскалируется на Reward Ops, Legal или спонсора проекта.
Какие задачи решает
- составить ранбук выдачи наград и регламенты SLA для операционной службы
- проверить налоговые правила и защиту от мошенничества перед открытием каталога
- зафиксировать аудит-след запуска в JSON-плане каталога
.claude/plans - провести тестовые транзакции списания баллов по разным уровням и валютам
Примеры запросов агенту
- /loyalty-lifecycle-orchestration:configure-rewards --program "Tiered Loyalty" --catalog drive://loyalty --launch-date 2026-01-15
- /loyalty-lifecycle-orchestration:configure-rewards --program "VIP Perks" --catalog docs/rewards.md --launch-date 2026-06-01 --regions US,EU
Как установить configure-rewards
Вручную: положить файлы
.claude/commands/configure-rewards.mdВызов — /configure-rewards. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/configure-rewards.mdВызов — /prompts:configure-rewards. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/configure-rewards.prompt.mdВручную: положить файлы
.gemini/commands/configure-rewards.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы о configure-rewards
Как установить configure-rewards в Claude Code?
Сохраните файл команды по пути .claude/commands/configure-rewards.md.
Что делает команда configure-rewards?
Она проверяет условия начисления, выстраивает логику выдачи бонусов, запускает проверку рисков и формирует пакет документации к запуску программы.
Что происходит при ошибках в процессе QA?
Действует лимит retry limit = 2; если ошибки не устранены, задача передаётся по цепочке эскалации юристам, финансистам или кураторам программы.
Исходный текст
configure-rewards.md · Apache-2.0
--- name: configure-rewards description: Orchestrates reward catalog setup, fulfillment workflows, and QA before launch. usage: /loyalty-lifecycle-orchestration:configure-rewards --program "Tiered Loyalty" --catalog drive://loyalty --launch-date 2026-01-15 --- # Command: configure-rewards ## Inputs - **program** – reference name/ID for the loyalty initiative. - **catalog** – storage location or doc with reward definitions. - **launch-date** – target go-live date. - **regions** – optional localization list for compliance and fulfillment. - **approvers** – optional stakeholders (legal, finance, partner, ops). ### GTM Agents Pattern & Plan Checklist > Mirrors GTM Agents orchestrator blueprint @puerto/plugins/orchestrator/README.md#112-325. - **Pattern selection**: Reward configuration usually runs **pipeline** (catalog intake → fulfillment design → compliance QA → launch packet). If QA + compliance run in parallel, document a **diamond** block with merge gate in the plan header. - **Plan schema**: Save `.claude/plans/plan-<timestamp>.json` capturing catalog source, fulfillment automations, dependency graph (legal, finance, ops, vendors), error handling, and success metrics (SLA, redemption accuracy, fraud rate). - **Tool hooks**: Reference `docs/gtm-essentials.md` stack—Serena for catalog diffs, Context7 for compliance/billing SOPs, Sequential Thinking for QA retros, Playwright for redemption form testing. - **Guardrails**: Default retry limit = 2 for failed catalog loads or QA runs; escalation ladder = Reward Ops → Finance/Legal → Exec sponsor. - **Review**: Run `docs/usage-guide.md#orchestration-best-practices-puerto-parity` before launch to confirm dependencies + approvals. ## Workflow 1. **Catalog Intake** – load reward definitions (cost, eligibility, inventory) plus vendor details. 2. **Fulfillment Design** – define earning/redemption automations, notification flows, and SLA tracking. 3. **Compliance & Risk** – validate tax regulations, export controls, and fraud safeguards. 4. **QA Checklist** – run test transactions across tiers, currencies, devices, and failure scenarios. 5. **Launch Packet** – produce runbook, escalation plan, and monitoring dashboard references. ## Outputs - Reward configuration checklist with owner + status. - QA evidence (screenshots, logs, test cases) stored with catalog. - Fulfillment runbook (SLA, webhook IDs, contact points) for ops + support teams. - Plan JSON entry stored/updated in `.claude/plans` for audit trail. ## Agent/Skill Invocations - `reward-operations` – leads fulfillment + QA steps. - `loyalty-strategist` – approves benefit alignment with goals. - `reward-ops` skill – enforces operational standards. - `loyalty-modeling` skill – confirms economics after final catalog changes. ## GTM Agents Safeguards - **Fallback agents**: document substitutes (e.g., Reward Ops covering Strategist) when approvers unavailable. - **Escalation triggers**: escalate if QA fails twice or compliance issues surface; follow GTM Agents rip-cord and log remediation inside plan JSON. - **Plan maintenance**: update plan JSON/change log whenever catalog, vendors, or launch dates shift for audit parity. ---
© gtmagents · Apache-2.0 · gtmagents/gtm-agents