Skip to content

Affitor/agent-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Affitor Agent Skills

AI agent instructions for integrating Affitor affiliate tracking into any SaaS product.

Works with Claude Code, Cursor, GitHub Copilot, Windsurf, Aider, and any tool that supports AGENTS.md or SKILL.md.

Install

npx skills add affitor/agent-skills

Or with the Affitor CLI (generates a project-specific AGENTS.md with your program ID and API key):

npx affitor init

Skills

Skill Description
click-tracking Install the Affitor tracker for affiliate click attribution
signup-tracking Track signups via browser helper or server-side lead API
sale-tracking Track revenue via Sale API or Stripe metadata
stripe-setup Auto-configure Stripe webhooks via CLI
test-integration Verify end-to-end tracking pipeline

How It Works

When you install these skills, your AI coding assistant learns how to:

  1. Add the Affitor tracker script to your site
  2. Wire up signup tracking after user registration
  3. Configure payment tracking (Sale API or Stripe)
  4. Test the full attribution pipeline

The AI reads the skill files and applies the correct integration pattern for your stack (React, Next.js, plain HTML, Node.js, Python, etc.).

Quick Reference

# CLI setup (fastest)
npx affitor init          # creates program + AGENTS.md
npx affitor setup stripe  # auto-configures Stripe webhooks
npx affitor test sale     # verifies pipeline

# API endpoints
POST https://api.affitor.com/api/v1/track/lead   # signup tracking
POST https://api.affitor.com/api/v1/track/sale   # sale tracking

# Auth
Authorization: Bearer YOUR_PROGRAM_API_KEY

Docs

License

MIT

About

AI agent instructions for integrating Affitor affiliate tracking. Works with Claude Code, Cursor, Copilot, Windsurf, and any AGENTS.md-compatible tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors