.cursor/skills/add-new-credit-card/SKILL.md
Add a new credit card to the CouponCycle application with its image and benefits. Use when the user asks to add a new card, create a card template, download a card image, or mentions adding cards like "Amex", "Chase", "Citi" to the system.
npx skillsauth add lifan-builds/credit-card-tracker add-new-credit-cardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill guides you through adding a new credit card to the application's predefined card catalog.
Before adding a card, collect this information:
Tip: Research benefits at US Credit Card Guide
Run the image download script:
# Search Google Images for the card
node scripts/download-card-image.js --name "Card Name" --list
# Download from best result
node scripts/download-card-image.js --name "Card Name"
# Or use UseYourCredits.com as source (if available)
node scripts/download-card-image.js --name "Card Name" --source useyourcredits
# Or download from a specific URL
node scripts/download-card-image.js --name "Card Name" --url "https://..."
Image Location: public/images/cards/{slugified-card-name}.png
Edit prisma/seed.ts and add the card to the predefinedCardsData array:
{
name: 'Card Name',
issuer: 'Issuer Name',
annualFee: 595,
benefits: [
// Monthly benefit example
{
description: '$15 Monthly Credit (Service Name)',
category: 'Travel',
maxAmount: 15,
frequency: BenefitFrequency.MONTHLY,
percentage: 0,
cycleAlignment: BenefitCycleAlignment.CALENDAR_FIXED,
occurrencesInCycle: 1,
},
// Quarterly benefit example
{
description: '$100 Quarterly Travel Credit',
category: 'Travel',
maxAmount: 100,
frequency: BenefitFrequency.QUARTERLY,
percentage: 0,
cycleAlignment: BenefitCycleAlignment.CARD_ANNIVERSARY,
occurrencesInCycle: 1,
},
// Semi-annual benefit (Jan-Jun)
{
description: '$250 Hotel Credit (Jan-Jun)',
category: 'Travel',
maxAmount: 250,
frequency: BenefitFrequency.YEARLY,
percentage: 0,
cycleAlignment: BenefitCycleAlignment.CALENDAR_FIXED,
fixedCycleStartMonth: 1,
fixedCycleDurationMonths: 6,
occurrencesInCycle: 1,
},
// Semi-annual benefit (Jul-Dec)
{
description: '$250 Hotel Credit (Jul-Dec)',
category: 'Travel',
maxAmount: 250,
frequency: BenefitFrequency.YEARLY,
percentage: 0,
cycleAlignment: BenefitCycleAlignment.CALENDAR_FIXED,
fixedCycleStartMonth: 7,
fixedCycleDurationMonths: 6,
occurrencesInCycle: 1,
},
// Yearly benefit
{
description: '$200 Airline Fee Credit',
category: 'Travel',
maxAmount: 200,
frequency: BenefitFrequency.YEARLY,
percentage: 0,
cycleAlignment: BenefitCycleAlignment.CALENDAR_FIXED,
fixedCycleStartMonth: 1,
fixedCycleDurationMonths: 12,
occurrencesInCycle: 1,
},
],
}
npx prisma db seed
# List all available cards to verify
node scripts/list-available-cards.cjs
Use these standard categories:
Travel - Airlines, hotels, TSA PreCheck, Uber, LyftDining - Restaurants, food deliveryEntertainment - Streaming, events, concertsElectronics - Dell, Apple, Best BuyWellness - Equinox, fitness membershipsSoftware - Adobe, subscriptionsBusiness Services - Professional servicesInclude:
Exclude:
Credits that reset on the 1st of each month:
cycleAlignment: BenefitCycleAlignment.CALENDAR_FIXED,
frequency: BenefitFrequency.MONTHLY,
Credits that reset every 3 months from card opening:
cycleAlignment: BenefitCycleAlignment.CARD_ANNIVERSARY,
frequency: BenefitFrequency.QUARTERLY,
Two separate benefits, one for each half of the year:
// First half: Jan-Jun
fixedCycleStartMonth: 1,
fixedCycleDurationMonths: 6,
// Second half: Jul-Dec
fixedCycleStartMonth: 7,
fixedCycleDurationMonths: 6,
If the automatic download fails:
--source useyourcredits--urlUSEYOURCREDITS_SLUGS in the scripttools
Generate CouponCycle version update notes in Chinese (一行格式) and track versions. Use when the user asks for a version note, release note, update note, 更新说明, 版本说明, or to add or bump a version.
tools
Update, add, or remove benefits from existing credit cards in CouponCycle. Use when the user asks to update card benefits, add a new benefit to a card, remove a benefit, change benefit values, or mentions annual fee updates for cards like Amex Platinum, Chase Sapphire Reserve.
documentation
Self-reflect on the current chat session, summarize changes made, and update project documentation (AGENTS.md, VERSION_HISTORY.md). Use when the user asks to summarize, recap, reflect on, or document what was done in this session, or asks to update docs/documentation after making changes.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".