autumn-best-practices

Integrate Autumn billing over Stripe with check-work-track ordering.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/FrekiManagarm/dunlo --skill autumn-best-practices-frekimanagarm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autumn-best-practices
Source: https://github.com/FrekiManagarm/dunlo/tree/main/.agents/skills/autumn-best-practices
Command: npx skills add https://github.com/FrekiManagarm/dunlo --skill autumn-best-practices-frekimanagarm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents entitlement and billing mistakes by guiding you to integrate Autumn over Stripe in a consistent, production-safe way.

Core Features & Use Cases

  • Environment Setup: Use the correct AUTUMN_SECRET_KEY and recommended defaults (like baseURL) to ensure calls authenticate and route properly.
  • Correct Entitlement Flow: Follow the check → work → track pattern so feature access decisions happen before protected actions and usage is recorded only after success.
  • Safe Checkout Handling: Implement the two-step checkout approach to redirect to Stripe for new customers and to attach for returning customers, avoiding broken purchase states.

Quick Start

Ask your Autumn-integrated backend to run a check for customer_id and the feature_id you want to protect, deny access when limits are reached, then complete the work and finally track the successful usage.

Frequently Asked Questions about autumn-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Stripe subscription entitlement checks safely in my backend?

Stripe subscription entitlement checks should follow a check-work-track pattern: verify customer access via Autumn before the protected action, execute the work, then track successful usage to prevent billing discrepancies.

How does a two-step checkout flow work for returning Stripe customers?

The two-step checkout flow routes new customers to Stripe checkout via Autumn, while returning customers use the attach method to link existing payment methods, avoiding broken purchase states.

What's the best way to track metered usage for Stripe subscriptions?

Track metered usage for Stripe subscriptions by calling the Autumn track API method immediately after the protected work completes successfully, ensuring accurate billing for rendered services.

Do I need an AUTUMN_SECRET_KEY to validate feature entitlements over Stripe?

Yes, you need an AUTUMN_SECRET_KEY set in your environment to authenticate API calls, route requests to the correct baseURL, and securely validate feature entitlements over your Stripe integration.

Why does my subscription feature access check fail before the user pays?

Subscription feature access checks fail before payment if the two-step checkout flow is incomplete, meaning new customers haven't completed Stripe checkout or returning customers lack attached entitlements via the Autumn API.