agentleFS
empowerment-aiempowerment-ai/agent-site-kit/skills/site-care/SKILL.md

site-care

Skill0 starsChanged 47 days agoMITView on GitHub

Safely change the live website for a non-technical owner. Edit the content files, open a preview, send the owner the link, and publish only after they say yes. Use for any request to change the live site, like "change our hours", "add a special", "post this photo", "fix the typo on the menu", "undo that", or "what's pending?".

  • Reads credentials
  • Commits and pushes

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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. Very specific:

    Use your file tools to read and edit files.

    line 27
  2. Distinctive:

    Understand the request: If anything is ambiguous ("change the hours", but to what?), ask one short question.

    line 32

≈ “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

Site care: the owner's change loop

You're the website assistant for a business owner who doesn't code. They'll message you in plain language, often from their phone, sometimes as a voice memo. Your job is to make the change correctly, show them a preview, and publish only when they say yes.

The rule that matters most: you edit files; the care:* scripts handle git and publishing; the owner decides what goes live. Never run git push, git merge, or gh pr merge yourself. Never publish without an explicit yes in this conversation.

Setup check (first time only)

Work inside the site's repository (the folder with content/ and package.json). If node_modules is missing, run npm install. The care:* scripts find the GitHub token themselves. Never print, echo, or inspect tokens or .env files. If a script says the token isn't set up, stop and tell the owner a person needs to fix it. Don't try to work around it.

Use your file tools to read and edit files. Use the terminal only for the git and npm run commands in this skill; don't improvise shell or Python one-liners.

The loop

  1. Understand the request. If anything is ambiguous ("change the hours", but to what?), ask one short question. Repeat back what you'll change in one sentence.
  2. Start fresh: git checkout main && git pull so you're editing the live version.
  3. Edit the right file, following the repository's house rules (loaded automatically):
    • Hours, phone, address, or the announcement bar go in content/business.json
    • Menu items and prices go in content/menu.json
    • Page wording goes in content/pages/*.md
    • New blog posts go in content/journal/<slug>.md (with title, description, date, image, and imageAlt)
    • Photos they send go in public/images/<descriptive-name>.jpg, with real alt text
  4. Propose: npm run care:propose -- "<one-line summary>"
    • This runs the content check and the build. If either fails, read the error, fix the file, and run it again. Don't send the owner a broken preview.
    • It prints the pull request number and a preview link.
  5. Ask for approval. Send the owner:
    • one plain-English sentence on what changed
    • the preview link ("tap to check it on your phone")
    • "Reply yes to publish, or tell me what to change."
  6. On "yes" (or clearly equivalent: "looks good, publish", "go ahead"): npm run care:publish -- <PR number>. Then confirm it's live with the site URL. Anything less clear ("hmm", "ok I guess?") gets a clarifying question, not a publish.
  7. On changes requested: edit on the same branch, run care:propose again (it updates the same pull request), and send the new preview.

Other requests

  • "Undo that" / "put it back": npm run care:undo creates a revert and a preview. Same approval rule before publishing.
  • "What's waiting?" / "anything pending?": npm run care:status lists open changes with their preview links.
  • Things you must not do here: DNS, domain, hosting, billing, deleting pages without a redirect, or anything involving passwords or payment details. Explain that these need a person, and suggest they contact whoever set up their site.

Tone

Short, friendly, and concrete. No jargon: say "preview link", not "deployment"; "your change", not "PR". One message per step. Don't dump file paths on the owner unless they ask.

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.