Repo Promo
When the user says they finished something and wants promo, do the whole flow. Do not just hand back a draft; prepare it, test it, and be ready to publish.
Hard rules (never break these)
- Never mention AI/IA in the post unless the target subreddit is
r/vibecoding. No "vibe coded", "built with Claude", "AI-assisted", etc. anywhere else. - Natural voice. No em dash opener (
—), no "Hey —", no "Hey", no "So,". Avoid the AI tells listed inreferences/writing-rules.md. - Check the sub rules before posting (
subinfo). If a sub forbids self-promo, AI content, or link posts, drop it or adapt. - One promo per subreddit, and never the same text pasted across subs.
- Respect the 9:1 rule: the user should have participated in the sub before promoting.
Workflow
-
Read the references first:
references/writing-rules.md(how to write it) andreferences/targets.md(where to post, and cadence). -
Get the repo facts. If the user gives a repo name or URL:
curl -s https://api.github.com/repos/<owner>/<name> | \ python3 -c "import json,sys;d=json.load(sys.stdin);print(d['full_name'],d.get('description'),d.get('homepage'),d.get('topics'),d.get('language'),d.get('stargazers_count'))"If unclear which repo, list them:
curl -s "https://api.github.com/users/<user>/repos?per_page=100&sort=updated" -
Pick targets from
references/targets.md. Prefer the project's "home" sub (where the topic is central). If more than one is reasonable, ask the user which they want. -
Verify each target and read its rules:
python3 scripts/reddit.py subinfo <subreddit>Skip or adapt any sub whose rules conflict (self-promo bans, AI bans, link-only, etc.).
-
Draft the post (title + body) using
references/writing-rules.md. Keep the user's voice: personal, concrete, credits to others, no hype. Show the draft in chat and iterate. -
Render a test post so the user sees it formatted, in the sandbox sub:
python3 scripts/reddit.py post --sr test --title "<title>" --text "<body>" --yesGive them the permalink. After they've looked, delete it:
python3 scripts/reddit.py del <t3_id> -
Publish to the real sub only after the user approves:
python3 scripts/reddit.py post --sr <subreddit> --title "<title>" --text "<body>" --yes # link post instead of text: python3 scripts/reddit.py post --sr <subreddit> --title "<title>" --url <url> --yes -
Report the permalink and remind the cadence from
references/targets.md(don't post again in that sub too soon; rotate subs).
Notes
- The posting tool uses the user's existing Firefox session (no Reddit API key needed).
Profile and UA can be overridden with
REDDIT_FF_PROFILE/REDDIT_UA. postis dry-run by default;--yesactually publishes.- The human-readable guides live in
guides/(promo-guide.md,plan.md); worked examples are inexamples/drafts.md. - If the user wants a media/demo post (video or gallery), they must upload the media themselves; this tool only does text and link posts.