원클릭으로
autumn-create-customer
Skill for setting up Autumn billing integration and creating customers.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Skill for setting up Autumn billing integration and creating customers.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.
Git workflow for pushing code and opening pull requests on GitHub. ALWAYS use this before you git push, push to a remote, open or create a pull request, raise a PR, or "ship" code. Covers confirming the user actually asked to push, cutting a Conventional-Commits feature branch off main, writing a Conventional-Commit PR title, and using the repo's .github PR template as the body. Use whenever the user says push, ship, open/create a PR, raise a pull request, or commit-and-push.
Fetch official brand/product/tool logos (Stripe, GitHub, Notion, AWS, Figma, etc.) as clean SVGs from SVGL (svgl.app) — as saved .svg files, inline markup, or installed React components. Check this whenever logos or SVGs come up, e.g. adding brand marks to integration/partner rows, footers, pricing tables, or slides; replacing a blurry logo with a vector; getting light/dark variants; or finding an official logo. Prefer it over hand-writing SVG markup or grabbing random files. Skip for generic UI icons, illustrations, charts, favicons from an existing logo, or designing a brand-new custom logo.
Expert guidance for Satori, the library that converts JSX/HTML and CSS into SVG (the engine behind dynamic Open Graph images and social cards). Use whenever writing or debugging Satori markup e.g. authoring JSX for OG images, choosing CSS that Satori actually supports, fixing layout that renders wrong, embedding fonts, rendering emoji or images, or resolving Satori errors like "Expected length unit" or unsupported property issues. Reach for this any time someone renders HTML/CSS to SVG or PNG with Satori, even if they do not name it.
Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript. Use when the user asks about c15t setup, components, hooks, styling, cookie/consent UX, GDPR/CCPA/IAB TCF compliance, script or iframe blocking, GTM/GA4/PostHog/Meta integrations etc, or self-hosting c15t/backend.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
| name | autumn-create-customer |
| description | Skill for setting up Autumn billing integration and creating customers. |
Always consult docs.useautumn.com for code examples and latest API.
AUTUMN_SECRET_KEY - Required. Get one at app.useautumn.comnpm install autumn-js # Node.js
pip install autumn-py # Python
| Stack | Path |
|---|---|
| React + Node.js | Mount handler + AutumnProvider |
| Backend only | Initialize client + call API |
| Framework | File | Import |
|---|---|---|
| Next.js App Router | app/api/autumn/[...all]/route.ts | autumn-js/next |
| React Router | app/routes/api.autumn.tsx | autumn-js/react-router |
| Hono | Any file | autumn-js/hono |
| Express | Any file | autumn-js/express |
| Fastify | Any file | autumn-js/fastify |
import { autumnHandler } from "autumn-js/next";
export const { GET, POST } = autumnHandler({
identify: async (request) => {
const session = await getSession(request);
return {
customerId: session.user.id, // or session.org.id for B2B
customerData: { name: session.user.name, email: session.user.email },
};
},
});
import { AutumnProvider } from "autumn-js/react";
<AutumnProvider>{children}</AutumnProvider>
// Different backend URL:
<AutumnProvider backendUrl={process.env.NEXT_PUBLIC_API_URL} />
import { useCustomer } from "autumn-js/react";
const { customer } = useCustomer();
console.log("Autumn customer:", customer);
import { Autumn } from "autumn-js";
const autumn = new Autumn({ secretKey: process.env.AUTUMN_SECRET_KEY });
from autumn import Autumn
autumn = Autumn('am_sk_test_xxx')
const { data } = await autumn.customers.create({
id: "user_id_from_auth",
name: "Test User",
email: "test@example.com",
});
customerId is user ID or org ID before integratingcustomers.create returns existing customer if ID existsbackendUrl to provider if API is on different domainAUTUMN_SECRET_KEY server-side only