agentleFS
jin2004-cmdjin2004-cmd/codex-practical-skills/portfolio-github-workflow/SKILL.md

portfolio-github-workflow

Skill1 starsChanged 36 days agoMITView on GitHub

Safely inspect, edit, validate, and publish an existing video portfolio or static GitHub Pages site. Use only for repository-backed portfolio changes or deployment checks; not for generic websites, backend services, or unrelated Git operations. For visual and loading-performance review use video-portfolio-performance instead.

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this entrypoint only when an existing portfolio/static-site repository and an authorized GitHub Pages change are in scope.

    line 9
  2. Distinctive:

    Before editing or media replacement: references/inspect-media.md

    line 11
  3. Distinctive:

    Before publishing: references/publish.md

    line 12
  4. Distinctive:

    After a layout/media change: references/validate.md

    line 13
  5. Distinctive:

    Verify authorship/labels and never invent clients, metrics, or project claims.

    line 18
  6. Distinctive:

    Keep source media, repository state, and deployed Pages state separately verifiable.

    line 19
  7. Distinctive:

    Use dry-run before any push.

    line 20
  8. Distinctive:

    Before, a portfolio update is one command away from an accident:

    line 24
  9. Distinctive:

    After, the change is inspected before anything leaves the machine:

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Portfolio GitHub Workflow

Use this entrypoint only when an existing portfolio/static-site repository and an authorized GitHub Pages change are in scope. Preserve the public URL and history. Read the mode-specific reference only when needed:

  • Before editing or media replacement: references/inspect-media.md
  • Before publishing: references/publish.md
  • After a layout/media change: references/validate.md

Core gates

  1. Resolve the real worktree with git rev-parse --show-toplevel; preserve unrelated changes.
  2. Verify authorship/labels and never invent clients, metrics, or project claims.
  3. Keep source media, repository state, and deployed Pages state separately verifiable.
  4. Use dry-run before any push; stop on authentication, policy, or diverged-remote failures.

Before / After

Before, a portfolio update is one command away from an accident:

git add -A; git commit -m "update"; git push origin main
# 鉴权失败、403、远端已分叉 —— 全都等到推完才知道

After, the change is inspected before anything leaves the machine:

scripts/safe_publish.ps1 -DryRun   # 列出将要改动的文件与发布动作,不做任何写操作
scripts/safe_publish.ps1           # 确认后再执行,遇到鉴权 / 403 / 远端分叉立即停止

The public URL, the commit history, and the existing media are preserved in both runs.

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.