agentleFS
IgorGanapolskyIgorGanapolsky/ThumbGate/skills/applyops-deploy/SKILL.md

applyops-deploy

Skill34 starsChanged 8 months agoMITView on GitHub

Repeatable skill for deploying ApplyOps pages to GitHub Pages with full analytics. Every ApplyOps HTML file must have these three providers before </head>: Plausible (tagged-events for custom event names): Get the PostHog project API key from .env (POSTHOG_API_KEY) or the PostHog dashboard. Every Stripe buy link must have onclick handlers: Tiers: snapshot ($49), pro ($149), dfy ($1500). Placements: hero, card.

  • Reads credentials
  • Commits and pushes

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After any ApplyOps page edit (pricing, copy, new tier)

    line 7
  2. Distinctive:

    After rotating analytics keys

    line 8
  3. Distinctive:

    When CEO says "ApplyOps is down" or pages return 404

    line 9
  4. Very specific:

    Every ApplyOps HTML file must have these three providers before </head>:

    line 38
  5. Distinctive:

    Every Stripe buy link must have onclick handlers:

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: ApplyOps Deploy

Repeatable skill for deploying ApplyOps pages to GitHub Pages with full analytics.

When to use

  • After any ApplyOps page edit (pricing, copy, new tier)
  • After rotating analytics keys
  • When CEO says "ApplyOps is down" or pages return 404

Architecture

  • Source of truth: IgorGanapolsky/Resume repo, docs/applyops/ (private)
  • Deployed to: IgorGanapolsky/IgorGanapolsky.github.io repo, /applyops/ (public)
  • The Resume repo is private — GitHub Pages cannot serve from it. All public pages live in the .github.io repo.

Prerequisites

  • gh CLI authenticated
  • Analytics keys available in ThumbGate repo .env or memory

Steps

1. Copy pages from Resume repo to public site repo

cd /Users/igorganapolsky/workspace/git/igor

# Clone if needed
[ -d IgorGanapolsky.github.io ] || git clone https://github.com/IgorGanapolsky/IgorGanapolsky.github.io.git

# Sync pages
cp Resume/docs/applyops/*.html IgorGanapolsky.github.io/applyops/

2. Inject analytics into all HTML pages

Every ApplyOps HTML file must have these three providers before </head>:

Plausible (tagged-events for custom event names):

<script defer data-domain="igorganapolsky.github.io" src="https://plausible.io/js/script.tagged-events.js"></script>
<script>window.plausible=window.plausible||function(){(window.plausible.q=window.plausible.q||[]).push(arguments)};</script>

GA4:

<script async src="https://www.googletagmanager.com/gtag/js?id=G-SZR5039QN4"></script>
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag("js",new Date());gtag("config","G-SZR5039QN4");</script>

PostHog:

<script>!function(t,e){...posthog snippet...}(document,window.posthog||[]);posthog.init("$POSTHOG_API_KEY",{api_host:"https://us.i.posthog.com"})</script>

Get the PostHog project API key from .env (POSTHOG_API_KEY) or the PostHog dashboard.

3. Add CTA click tracking

Every Stripe buy link must have onclick handlers:

onclick="try{plausible('applyops_cta_click',{props:{tier:'snapshot',price:49,placement:'hero'}})}catch(_){};try{posthog.capture('applyops_cta_click',{tier:'snapshot',price:49,placement:'hero'})}catch(_){}"

Tiers: snapshot ($49), pro ($149), dfy ($1500). Placements: hero, card.

4. Push to public repo

cd /Users/igorganapolsky/workspace/git/igor/IgorGanapolsky.github.io
git checkout -b feat/applyops-update
git add applyops/
git commit -m "feat(applyops): update pages"
GIT_ASKPASS="" GH_TOKEN=$(gh auth token) git -c credential.helper='!f(){ echo "username=x-access-token"; echo "password=$GH_TOKEN"; }; f' push -u origin feat/applyops-update
gh pr create --repo IgorGanapolsky/IgorGanapolsky.github.io --title "update applyops pages" --body "..."
gh pr merge <PR#> --repo IgorGanapolsky/IgorGanapolsky.github.io --squash

5. Verify

# Page is live
curl -sf https://igorganapolsky.github.io/applyops/ | grep -c 'ApplyOps'

# All 3 analytics present
curl -sL https://igorganapolsky.github.io/applyops/ | grep -oE 'plausible|posthog|gtag' | sort -u

# Stripe links resolve
curl -sL -o /dev/null -w '%{http_code}' 'https://buy.stripe.com/3cIaEX1M80aO9G1fSH3sI2N'

# Plausible collecting data
source /Users/igorganapolsky/workspace/git/igor/ThumbGate/repo/.env
curl -s -H "Authorization: Bearer $PLAUSIBLE_API_KEY" \
  'https://plausible.io/api/v1/stats/aggregate?site_id=igorganapolsky.github.io&period=7d&metrics=visitors'

# Subpages
curl -sf https://igorganapolsky.github.io/applyops/intake.html | grep -c 'Intake'
curl -sf https://igorganapolsky.github.io/applyops/sample-truth-snapshot.html | grep -c 'Truth Snapshot'

Current Stripe links (last verified 2026-05-26)

TierPriceStripe Link ID
Truth Snapshot$493cIaEX1M80aO9G1fSH3sI2N
Resume OS Pro$1493cI3cvgH26zccSd7mb3sI2O
Done-For-You Sprint$1,5009B600j4YkcXAcSdayn3sI2P

Plausible event reference

EventPropsSource
applyops_cta_clicktier, price, placementClient-side onclick

Gotchas

  • The .github.io repo uses HTTPS credential helper, not SSH. Use the GH_TOKEN push pattern above.
  • Resume repo is private. Never make it public — it has personal application data.
  • Plausible domain is igorganapolsky.github.io, NOT thumbgate-production.up.railway.app.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.