agentleFS
BostonOrangeBostonOrange/claude-code-framework/skills/ai-update/SKILL.md

ai-update

Skill2 starsChanged 6 months agoMITView on GitHub

Create a branch and PR for AI process updates (CLAUDE.md, skills, references, templates). Use after making changes to AI enablement files.

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a feature branch and open a PR for AI process/tooling changes.

    line 8

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

AI Update

Create a feature branch and open a PR for AI process/tooling changes.

Usage

/ai-update                           # Auto-detect changed AI files
/ai-update "add validate skill"      # With a description

Scope

AI process files:

PathContent
CLAUDE.mdProject-level instructions
.claude/skills/*/SKILL.mdSkill definitions
.claude/skills/*/references/*.mdSkill references
.claude/skills/*/examples/*.mdSkill examples
.claude/settings.jsonClaude Code settings

Process

1. Identify Changes

git status --short

Filter to AI-scoped paths. If no AI files changed, stop.

2. Create Branch

Branch naming: ai/{short-description}

git fetch origin {{BASE_BRANCH}}
git checkout -b ai/{slug} origin/{{BASE_BRANCH}}

3. Stage AI Files

Stage only AI-scoped files:

git add CLAUDE.md
git add .claude/skills/

4. Commit

chore(ai): {short description}

{bullet list of changes}

5. Push & Create PR

git push -u origin ai/{slug}
gh pr create --base {{BASE_BRANCH}} --assignee @me \
  --title "chore(ai): {description}" \
  --body "$(cat <<'EOF'
## Summary
- {changes}

## Files Changed
- {list}
EOF
)"

Edge Cases

ScenarioBehavior
No AI files changedStop, inform user
Mixed AI + code changesStage only AI files, warn about unstaged code
Already on ai/* branchReuse it

Related Skills

  • /add-reference — add knowledge docs (often shipped via this skill)
  • /validate — code validation (often shipped via this skill)

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.