Skip to content

chore: track .claude/skills/ for team-shared Claude Code skills#1613

Open
ygit wants to merge 1 commit into
devfrom
chore/track-claude-skills
Open

chore: track .claude/skills/ for team-shared Claude Code skills#1613
ygit wants to merge 1 commit into
devfrom
chore/track-claude-skills

Conversation

@ygit

@ygit ygit commented Apr 30, 2026

Copy link
Copy Markdown
Member

Summary

Mirrors the same pattern just shipped in 100ms-flutter PR #1853:

  • Adds .claude/skills/update-sdk-versions.md — a project-level Claude Code skill that walks Claude through invoking scripts/update-sdk-versions.js (the SDK-bump tool added in commit c93fbfe). Triggers on phrases like "update SDK versions", "bump HMSSDK", "new HMSSDK release", "sync sdk-versions.json".
  • Updates .gitignore with two layers:
    • !.claude/ — re-includes the directory, overriding any global .claude ignore rule that individual contributors may have in ~/.gitignore_global (this was the case for the original author).
    • .claude/settings.local.json and .claude/.cache/ — keeps per-machine personal config out of the repo. The .local. suffix is Claude Code's convention.

This is the standard pattern for "team shares some .claude/ content but each developer keeps personal config local". Other repos using Claude Code follow the same recipe.

Why now

The skill file has been living locally on the original author's machine since the SDK updater script was added — it never made it into a committed PR because the global gitignore was hiding .claude/. With this small follow-up, anyone running Claude Code on this repo gets the skill auto-discovered.

Test plan

  • git check-ignore -v .claude/skills/update-sdk-versions.md reports the file is no longer ignored
  • git status after cd into a fresh worktree shows the skill as tracked
  • Reviewer with a fresh clone confirms the skill is picked up by Claude Code (visible in skill list)

🤖 Generated with Claude Code

Adds the project-level Claude skill at .claude/skills/update-sdk-versions.md
so any team member running Claude Code on this repo gets the SDK-bump
workflow as a discoverable skill (triggers on phrases like "update SDK
versions", "bump HMSSDK", etc., and walks Claude through invoking
scripts/update-sdk-versions.js).

Updates .gitignore to:
- Re-include .claude/ (overrides any global '.claude' ignore rule that
  individual contributors may have in ~/.gitignore_global)
- Still exclude .claude/settings.local.json (per-machine permission
  rules and hooks; the .local. suffix is Claude Code's convention for
  personal config that should not be committed)
- Still exclude .claude/.cache/ (Claude Code's local cache directory)

Mirrors the same pattern just shipped in 100ms-flutter PR #1853
(commit d82680a2).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@trunk-io

trunk-io Bot commented Apr 30, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the Stale label Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant