此技能帮助开发者实现订阅计费、自动化发票生成以及支付生命周期管理。它提供定期付款、催收管理、按比例计算和税费计算的模式。
Descargar el ZIP de la skill
Subir en Claude
Ve a Configuración → Capacidades → Skills → Subir skill
Activa y empieza a usar
Pruébalo
Usando "billing-automation". Create a monthly subscription for customer acme_corp on the pro plan
Resultado esperado:
订阅已创建:ID=sub_abc123,客户=acme_corp,计划=pro_monthly,状态=trial,下次计费=2024-02-01,试用结束=2024-01-15
Usando "billing-automation". Generate invoice for subscription sub_abc123 with usage charges
Resultado esperado:
发票INV-2024-001已创建:客户=acme_corp,明细项目=[专业计划$99.00,API调用$12.50],小计=$111.50,税(CA 7.25%)=$8.08,总计=$119.58
Usando "billing-automation". Process failed payment for customer acme_corp
Resultado esperado:
付款失败:银行卡被拒绝。催收���启动:尝试1/3,3天后重试,邮件通知已发送至billing@acme.com
Auditoría de seguridad
SeguroAll 35 static findings are false positives. The external_commands detections are markdown code block fences (backticks), not shell execution. The network detection is a placeholder URL in example email templates. The blocker detections for weak crypto and system reconnaissance are standard Python code patterns (string assignments, ID generation) used in legitimate billing logic. No prompt injection attempts detected.
Problemas de riesgo alto (4)
Puntuación de calidad
Lo que puedes crear
SaaS订阅管理
为SaaS产品实现支持月度、年度或自定义计费周期的定期计费
自动化发票系统
自动生成和发送发票,包含税费计算和多种格式输出
付款恢复工作流程
建立催收流程,通过重试和客户通知来恢复失败的付款
Prueba estos prompts
创建一个支持月度和年度计划的订阅计费系统。包括客户注册、计划选择和初始计费周期设置。
为已完成的订阅生成发票。包括基础计划、使用费用和适用税费的明细项目。以PDF格式输出。
实现催收管理流程。当付款失败时,发送客户通知、按计划重试,并处理订阅状态变更。
当客户在周期中途从基础计划升级到专业计划时,计算按比例费用。包括席位增加和计费频率变更。
Mejores prácticas
- 在生产部署前始终使用沙盒支付测试计费逻辑
- 为支付请求实现幂等性密钥以防止重复扣款
- 存储完整的计费审计跟踪以支持合规和争议解决
- 使用Webhooks将支付状态与数据库同步
Evitar
- 未经明确确认或试用同意不得向客户收费
- 避免硬编码价格 - 使用���置来管理计划价格
- 不要跳过税费计算,即使是数字商品
- 永远不要存储原始信用卡号 - 使用支付处理器令牌
Preguntas frecuentes
此技能能连接Stripe或PayPal吗?
我可以将其用于一次性付款而非订阅吗?
如何处理国际客户的税费?
如果付款反复失败会怎样?
我可以自定义计费周期吗?
这符合PCI DSS标准吗?
Detalles del desarrollador
Autor
sickn33Licencia
MIT
Repositorio
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/billing-automationRef.
main
Estructura de archivos