agentleFS
SUDARSHANCHAUDHARISUDARSHANCHAUDHARI/PrivacyPilot/skills/github-pages-deploy/SKILL.md

github-pages-deploy

Skill1 starsChanged 7 months agoMITView on GitHub

Deploying privacy policy HTML to GitHub Pages for Android apps. Use when deploying or updating a privacy policy to GitHub Pages, or explaining the deployment workflow.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. AIPMAndy/github-pages-deploy-skill★ 1same name
    2. Rafaelrr5/agent-cortex★ 1same name
    3. tomekdot/hermes-skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create repo on GitHub: ${user_config.github_username}/[appname-lowercase]-privacy-policy

    line 20
  2. Distinctive:

    If 404, check GitHub Pages is enabled in repo Settings.

    line 54
  3. Distinctive:

    No external CSS files

    line 58
  4. Distinctive:

    No external JS files

    line 59
  5. Very specific:

    All styling inline or in <style> tag

    line 61

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

GitHub Pages Deployment Pattern

URL convention

https://${user_config.github_username}.github.io/[appname-lowercase]-privacy-policy/

Example:

  • App YourAppName → https://your-username.github.io/yourappname-privacy-policy/

Repository naming

[appname-lowercase]-privacy-policy

Example: yourapp-privacy-policy

One-time setup per app

  1. Create repo on GitHub: ${user_config.github_username}/[appname-lowercase]-privacy-policy
  2. Push index.html to main branch
  3. Enable GitHub Pages: repo Settings → Pages → Source: main branch / root
  4. URL goes live in 1–2 minutes

Update workflow

# Run this whole block as ONE Bash call: variables do not carry between calls.
# The subshell fails closed if split, and set -eu stops on any error or empty $TMP.
(
set -eu
# Fresh temp clone of the Pages repo. Never run git inside the app repo.
# pwd -P: git reports the resolved path (/private/var/...), mktemp returns /var/...
TMP="$(cd "$(mktemp -d)" && pwd -P)"
: "${TMP:?}"
git clone https://github.com/${user_config.github_username}/[appname-lowercase]-privacy-policy.git "$TMP"

# Copy only the policy file (copy any asset files by name the same way)
cp "$PWD/privacy-policy/index.html" "$TMP/"

# Abort unless the temp dir is its own repo root
[ "$(git -C "$TMP" rev-parse --show-toplevel)" = "$TMP" ] || { echo "ABORT: $TMP is not its own git repo" >&2; exit 1; }

git -C "$TMP" branch -M main
git -C "$TMP" add index.html
git -C "$TMP" commit -m "Update privacy policy — $(date +%Y-%m-%d)"
git -C "$TMP" push -u origin main
)

Verify deployment

After push, check: https://${user_config.github_username}.github.io/[appname-lowercase]-privacy-policy/

If 404, check GitHub Pages is enabled in repo Settings.

Single file setup

The entire privacy policy should be one self-contained index.html:

  • No external CSS files
  • No external JS files
  • No CDN links
  • All styling inline or in <style> tag
  • Loads fast, works offline, no dependencies

Play Console URL field

In Play Console → Store Presence → Store Settings → Privacy policy: Enter: https://${user_config.github_username}.github.io/[appname-lowercase]-privacy-policy/

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.

Reviews can't be read right now.

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.