CtrlK
BlogDocsLog inGet started
Tessl Logo

paddle-subscription-update

Change a Paddle subscription's plan from a Next.js Server Action — auth, ownership check, `prorationBillingMode`, items-array replace semantics, preview-before-commit, and `on_payment_failure` handling.

81

1.35x
Quality

72%

Does it follow best practices?

Impact

96%

1.35x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./skills/subscription-update/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

77%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a strong, highly actionable skill that covers a complex billing integration thoroughly — proration modes, replace semantics, preview-before-commit, payment failure handling, and security checks are all well-addressed with executable code. Its main weakness is verbosity: some sections repeat earlier guidance, and the monolithic structure could benefit from splitting detailed reference material (proration table, pitfalls) into separate files. The verification checklist is excellent and covers edge cases most skills miss.

Suggestions

Trim the 'Common pitfalls' section by removing items that directly restate guidance already given in earlier sections (e.g., proration mode selection, replace-not-append, ownership check) — or consolidate them into a compact checklist.

Consider extracting the proration mode tables and payment failure details into a referenced file (e.g., PRORATION.md) to keep the main skill focused on the action implementation and reduce inline length.

DimensionReasoningScore

Conciseness

The skill is thorough and mostly earns its length given the complexity of proration modes and edge cases, but several sections are verbose — e.g., the 'When to use this skill' intro paragraph, the lengthy 'Common pitfalls' section repeats guidance already covered in earlier sections, and some explanations (like what happens on payment failure) could be tightened. The tables are efficient, but surrounding prose could be leaner.

2 / 3

Actionability

The skill provides a complete, copy-paste-ready Server Action with real imports and Supabase integration, executable preview code, explicit SDK parameter names (camelCase vs wire format noted), and concrete examples of both the default and admin-driven update calls. The code is production-shaped, not pseudocode.

3 / 3

Workflow Clarity

The skill clearly sequences the workflow: auth → ownership check → (optional) preview → update → revalidate → return slim DTO. The 'Verify the integration' section provides an 8-step validation checklist covering happy path, payment failure, invalid inputs, and auth bypass. Feedback loops are explicit (preview before commit, retry on decline, validate newPriceId).

3 / 3

Progressive Disclosure

The skill references related skills (subscription-sync, subscription-cancel) and links to external Paddle docs, which is good. However, with no bundle files, all content is inline in a single long document (~250+ lines). The proration tables, pitfalls list, and verification steps could benefit from being split into referenced files, and the document lacks a quick-start summary at the top that points to detailed sections.

2 / 3

Total

10

/

12

Passed

Description

67%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This description excels at specificity and distinctiveness, clearly carving out a narrow technical niche around Paddle subscription plan changes in Next.js. However, it lacks an explicit 'Use when...' clause and misses natural language trigger terms that users would actually say (e.g., 'upgrade plan', 'change subscription'). The description reads more like a technical spec than a skill selection guide.

Suggestions

Add a 'Use when...' clause such as 'Use when the user wants to upgrade, downgrade, or change a Paddle subscription plan from a Next.js server action.'

Include natural user-facing trigger terms like 'upgrade plan', 'downgrade subscription', 'switch pricing tier', 'change billing plan' alongside the technical Paddle API terms.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: changing a Paddle subscription plan, auth, ownership check, proration billing mode, items-array replace semantics, preview-before-commit, and on_payment_failure handling. These are highly specific technical capabilities.

3 / 3

Completeness

Clearly answers 'what does this do' with detailed technical specifics, but lacks an explicit 'Use when...' clause or equivalent trigger guidance. The when is only implied by the description of capabilities.

2 / 3

Trigger Term Quality

Includes good domain-specific terms like 'Paddle subscription', 'Next.js Server Action', 'prorationBillingMode', and 'on_payment_failure', but these are fairly technical. Missing more natural user phrases like 'upgrade plan', 'downgrade subscription', 'change billing plan', or 'switch pricing tier' that users would actually say.

2 / 3

Distinctiveness Conflict Risk

Highly distinctive — the combination of Paddle, Next.js Server Action, and subscription plan change creates a very narrow niche that is unlikely to conflict with other skills.

3 / 3

Total

10

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
PaddleHQ/paddle-agent-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.