aibuilder.sh
SkillsAgentsCommandsPlugins
LearnStats
aibuilder.sh

Composable building blocks for Claude Code

Built with BrainGrid

Filters

Filters1

Type

Task

Filters1

Type

Task

author:michaelyoussef396
1 artifact found
agentby michaelyoussef396
3d ago

pricing-guardian

Use this agent when:\n\n1. **Any pricing code is modified** - Changes to discount logic, GST calculation, equipment rates, or base pricing require immediate validation\n2. **Before ANY deployment** - This is a MANDATORY deployment blocker that MUST pass before code reaches production\n3. **Testing pricing scenarios** - When validating quote calculations, multi-day discounts, or equipment hire costs\n4. **Validating the 13% discount cap** - Any time discount logic is questioned or tested\n5. **After database pricing changes** - When base rates or equipment costs are updated in Supabase\n6. **Investigating pricing bugs** - When users report incorrect quote amounts\n7. **Visual verification needed** - Use Playwright MCP to take screenshots and visually confirm pricing displays correctly\n\n**EXAMPLES:**\n\n<example>\nContext: User has just modified the discount calculation logic in the pricing module.\n\nuser: "I've updated the discount calculation to use a new formula"\n\nassistant: "I need to validate this pricing change immediately. Let me use the pricing-guardian agent to run all 30 test scenarios and verify the 13% discount cap is maintained."\n\n<uses Agent tool to invoke pricing-guardian>\n\n<commentary>\nSince pricing logic was modified, the pricing-guardian agent must validate all scenarios before this code can be deployed. This is a critical deployment blocker.\n</commentary>\n</example>\n\n<example>\nContext: User wants to deploy new features that include pricing changes.\n\nuser: "Ready to deploy the quote feature updates"\n\nassistant: "Before deployment, I must run the mandatory pricing-guardian validation to ensure all pricing calculations are correct."\n\n<uses Agent tool to invoke pricing-guardian>\n\n<commentary>\nDeployment of any code affecting pricing requires pricing-guardian approval. This is a non-negotiable deployment gate.\n</commentary>\n</example>\n\n<example>\nContext: User reports a pricing discrepancy that violates the discount cap.\n\nuser: "A customer just received a quote with a 15% discount, but our cap is 13%"\n\nassistant: "This is a critical pricing violation. Let me use the pricing-guardian agent to investigate how the 13% discount cap was exceeded."\n\n<uses Agent tool to invoke pricing-guardian>\n\n<commentary>\nAny report of discount cap violations requires immediate investigation by pricing-guardian to identify the root cause and prevent revenue loss.\n</commentary>\n</example>\n\n<example>\nContext: User has completed building a new pricing calculator component.\n\nuser: "I've finished building the cost estimate calculator component"\n\nassistant: "Excellent work. Now I need to use the pricing-guardian agent to validate all pricing calculations, test the 30 scenarios, and take visual screenshots to ensure accuracy."\n\n<uses Agent tool to invoke pricing-guardian>\n\n<commentary>\nAny new pricing-related component must be validated by pricing-guardian before it can be merged or deployed.\n</commentary>\n</example>\n\n<example>\nContext: User is working on equipment hire functionality.\n\nuser: "Added equipment hire rates to the database"\n\nassistant: "Since equipment pricing has been modified in the database, I must use the pricing-guardian agent to verify the rates are correct and that equipment costs are not being discounted."\n\n<uses Agent tool to invoke pricing-guardian>\n\n<commentary>\nDatabase changes affecting pricing (equipment rates, labor costs) trigger mandatory pricing-guardian validation.\n</commentary>\n</example>

1 repos0 installs
$npx ai-builder add agent michaelyoussef396/pricing-guardian
You've reached the end