israelmteixeira1

AI Engineer Test Artifact — Testing skill for Claude Code

Testing community

Customer-service agent for a fictional music store, built in Python with Claude function calling.

How to install AI Engineer Test Artifact

This entry records only its repository, not the path inside it, so there is no exact command to give. Open israelmteixeira1/ai-engineer-test-artifact and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Engineer Test Artifact does

Customer-service agent for a fictional music store, built in Python with Claude function calling. Answers about products, prices, orders and store policies, with rule-based pricing and return logic, identity checks on orders and human handoff.

Alternatives in Testing

  • Brainstorm Experiments Existing — Design experiments to test assumptions for existing products 7.8k ★
  • Aod.Clarify — Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification ques 89 ★
  • UX Component — Generate a single component (button, modal, navbar, sidebar, card, table, form, chart) from a spec 66 ★

README

Empório da Música: customer-service agent

A Python text agent ("Tom") that answers Empório da Música customers about products, prices, orders and store policies. It speaks Brazilian Portuguese, because the customers do; this documentation is in English, as the process requires.

Run it

Requires Python 3.11+ and an [Anthropic API key](https://console.anthropic.com).

python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env              # then set ANTHROPIC_API_KEY

python -m emporio                 # start a conversation
python -m emporio --debug         # also show every tool call and result
python -m emporio --session ana   # reuse an id to resume that conversation

pytest                            # 48 tests; no API key or network needed
python scripts/generate_examples.py   # regenerate examples/ with the real model

`EMPORIO_MODEL` overrides the model. `EMPORIO_NOW=2026-03-25T10:00:00` freezes the clock.

Architecture

customer -> CLI -> Agent loop <-> Claude (Messages API)
                       |
                       v
    buscar_produtos      catalog, stock, active promotions (CSV)
    simular_pagamento    totals, PIX, installment rules (code)
    consultar_politicas  sections of knowledge/policies.md
    consultar_pedido     orders, after identity verification (CSV)
    avaliar_devolucao    return and warranty rules with date math (code)
    encaminhar_atendente human handoff ticket (SQLite)

Technical decisions

**Function calling, with no agent framework.** The questions fall into a small, known set of intents, so purpose-built tools fit well. The whole agent module is under 100 lines (`emporio/agent.py`), so nothing is hidden from debugging. A framework would add dependencies without solving any problem this project has.

**The model decides what to ask; code decides what is true.** The manual warns that wrong prices can amount to misleading advertising, so prices, discount