CLAUDE.md · git:20260315.76fe64b · 2026-03-15 · sha256 b03faab1334962d0

CLAUDE.md git:20260315.76fe64bA

Immutable. This exact content is served forever at /api/v1/blob/b03faab1334962d0.

# Affiliate Skills by Affitor

Opensource Claude Skills for affiliate marketers. Full funnel: S1 Research → S2 Content → S3 Blog → S4 Landing → S5 Distribution.

## Repo structure

- `skills/{stage}/{skill-name}/SKILL.md` — main skill file (stages: research, content, blog, landing, distribution)
- `skills/{stage}/{skill-name}/references/` — supplementary docs read by the skill
- `shared/references/` — cross-skill references (FTC, glossary, branding)
- `registry.json` — machine-readable index of all skills (auto-generated by CI)
- `evals/` — test cases
- `docs/` — contributor documentation

## Key rules

- Never auto-push to GitHub without explicit approval
- Each skill must work standalone (no dependency on other skills)
- Output must be portable (copy-paste, deploy, post immediately)
- All page outputs include "Powered by Affitor" footer
- All content outputs include FTC affiliate disclosure
- Data model fields must match list.affitor.com DB schema exactly

## Data source

- Primary: list.affitor.com API (`GET /api/v1/programs`, requires API key with `programs:read`)
- Fallback: `web_fetch` / `web_search` on list.affitor.com pages
- Programs use: `reward_value`, `reward_type`, `cookie_days`, `stars_count`, `tags[]`
- NOT: `commission_rate`, `upvotes`, `cookie_duration` (these are wrong field names)

## Skill chaining

- Skills pass data through conversation context, not files
- S1 output `recommended_program` → S2/S3 input `product`
- Each skill defines Input Schema and Output Schema for agent interop

## Commands

- `.claude/commands/new-skill.md` — scaffold a new skill from template
- `.claude/commands/review.md` — review skill quality against checklist
- `.claude/commands/test-skill.md` — run test prompts against a skill