bump-submodule-ref
Skill6 starsChanged 6 months agoMITView on GitHub
Bump the ServiceProfiler submodule reference in the main repo. Use this skill when asked to bump, update, or sync the ServiceProfiler submodule reference. Handles validation, commit, tagging, and push.
In this repository2 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- build-private-packageSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- Distinctive: line 14
Run git -C ServiceProfiler log --oneline -1 to show the current submodule HEAD.
- Distinctive: line 15
Run git diff --submodule ServiceProfiler to show what changed.
- Distinctive: line 16
Ask the user to confirm before proceeding.
- Distinctive: line 19
Run git -C ServiceProfiler status --porcelain in the repo root.
- Distinctive: line 20
If there are uncommitted changes, stop and tell the user to commit or stash them first.
- Distinctive: line 33
Always confirm with the user before committing or pushing.
≈ “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.
Files
Bump ServiceProfiler Submodule Reference
Steps
- Show current state and confirm with user before proceeding:
- Run
git -C ServiceProfiler log --oneline -1to show the current submodule HEAD. - Run
git diff --submodule ServiceProfilerto show what changed. - Ask the user to confirm before proceeding.
- Run
- Verify ServiceProfiler repo is clean:
- Run
git -C ServiceProfiler status --porcelainin the repo root. - If there are uncommitted changes, stop and tell the user to commit or stash them first.
- Run
- Commit the submodule reference update in the main repo:
- Run
git add ServiceProfiler - Run
git commit -m "Bump ServiceProfiler submodule reference"
- Run
- Tag and push using the script:
- On Windows:
& .github/skills/bump-submodule-ref/scripts/tag-submodule.ps1 - On Linux/macOS:
bash .github/skills/bump-submodule-ref/scripts/tag-submodule.sh - The script validates the submodule is clean, creates tag
otel-profiler-ref-<short-hash>, and pushes it.
- On Windows:
Notes
- Always confirm with the user before committing or pushing.
- The tag format is
otel-profiler-ref-<short-hash>. - The repo root is
C:\AIR\fork-otel-profiler.
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
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.

